Package nl.mtvehicles.core.listeners
Class ChatListener
java.lang.Object
nl.mtvehicles.core.infrastructure.models.MTVListener
nl.mtvehicles.core.listeners.ChatListener
- All Implemented Interfaces:
org.bukkit.event.Listener
On player chat
-
Field Summary
Fields inherited from class nl.mtvehicles.core.infrastructure.models.MTVListener
event, player
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onAccelerationSpeedChange(org.bukkit.event.player.AsyncPlayerChatEvent event)
Changing vehicle's acceleration speed with /vehicle editvoid
onBrakingSpeedChange(org.bukkit.event.player.AsyncPlayerChatEvent event)
Changing vehicle's braking speed with /vehicle editvoid
onFrictionSpeedChange(org.bukkit.event.player.AsyncPlayerChatEvent event)
Changing vehicle's friction with /vehicle editvoid
onFuelChange(org.bukkit.event.player.AsyncPlayerChatEvent event)
Changing vehicle's fuel amount with /vehicle editvoid
onFuelUsageChange(org.bukkit.event.player.AsyncPlayerChatEvent event)
Changing vehicle's fuel consumption with /vehicle editvoid
onLicensePlateChange(org.bukkit.event.player.AsyncPlayerChatEvent event)
Changing a license plate with /vehicle editvoid
onMaxSpeedBackwardsChange(org.bukkit.event.player.AsyncPlayerChatEvent event)
Changing vehicle's maximum backwards speed with /vehicle editvoid
onMaxSpeedChange(org.bukkit.event.player.AsyncPlayerChatEvent event)
Changing vehicle's maximum speed with /vehicle editvoid
onRotateSpeedChange(org.bukkit.event.player.AsyncPlayerChatEvent event)
Changing vehicle's rotation speed with /vehicle editvoid
onTrunkRowsChange(org.bukkit.event.player.AsyncPlayerChatEvent event)
Changing vehicle trunk's number of rows with /vehicle editvoid
onVehicleNameChange(org.bukkit.event.player.AsyncPlayerChatEvent event)
Changing vehicle's name with /vehicle editMethods inherited from class nl.mtvehicles.core.infrastructure.models.MTVListener
callAPI, callAPI, getAPI, isCancelled, setAPI
-
Constructor Details
-
ChatListener
public ChatListener()
-
-
Method Details
-
onLicensePlateChange
public void onLicensePlateChange(org.bukkit.event.player.AsyncPlayerChatEvent event)Changing a license plate with /vehicle edit -
onVehicleNameChange
public void onVehicleNameChange(org.bukkit.event.player.AsyncPlayerChatEvent event)Changing vehicle's name with /vehicle edit -
onFuelChange
public void onFuelChange(org.bukkit.event.player.AsyncPlayerChatEvent event)Changing vehicle's fuel amount with /vehicle edit -
onFuelUsageChange
public void onFuelUsageChange(org.bukkit.event.player.AsyncPlayerChatEvent event)Changing vehicle's fuel consumption with /vehicle edit -
onTrunkRowsChange
public void onTrunkRowsChange(org.bukkit.event.player.AsyncPlayerChatEvent event)Changing vehicle trunk's number of rows with /vehicle edit -
onAccelerationSpeedChange
public void onAccelerationSpeedChange(org.bukkit.event.player.AsyncPlayerChatEvent event)Changing vehicle's acceleration speed with /vehicle edit -
onMaxSpeedChange
public void onMaxSpeedChange(org.bukkit.event.player.AsyncPlayerChatEvent event)Changing vehicle's maximum speed with /vehicle edit -
onBrakingSpeedChange
public void onBrakingSpeedChange(org.bukkit.event.player.AsyncPlayerChatEvent event)Changing vehicle's braking speed with /vehicle edit -
onFrictionSpeedChange
public void onFrictionSpeedChange(org.bukkit.event.player.AsyncPlayerChatEvent event)Changing vehicle's friction with /vehicle edit -
onMaxSpeedBackwardsChange
public void onMaxSpeedBackwardsChange(org.bukkit.event.player.AsyncPlayerChatEvent event)Changing vehicle's maximum backwards speed with /vehicle edit -
onRotateSpeedChange
public void onRotateSpeedChange(org.bukkit.event.player.AsyncPlayerChatEvent event)Changing vehicle's rotation speed with /vehicle edit
-