Class ChatListener

All Implemented Interfaces:
org.bukkit.event.Listener

public class ChatListener extends MTVListener
On player chat
  • Field Summary

    Fields inherited from class nl.mtvehicles.core.infrastructure.models.MTVListener

    event, player
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAccelerationSpeedChange​(org.bukkit.event.player.AsyncPlayerChatEvent event)
    Changing vehicle's acceleration speed with /vehicle edit
    void
    onBrakingSpeedChange​(org.bukkit.event.player.AsyncPlayerChatEvent event)
    Changing vehicle's braking speed with /vehicle edit
    void
    onFrictionSpeedChange​(org.bukkit.event.player.AsyncPlayerChatEvent event)
    Changing vehicle's friction with /vehicle edit
    void
    onFuelChange​(org.bukkit.event.player.AsyncPlayerChatEvent event)
    Changing vehicle's fuel amount with /vehicle edit
    void
    onFuelUsageChange​(org.bukkit.event.player.AsyncPlayerChatEvent event)
    Changing vehicle's fuel consumption with /vehicle edit
    void
    onLicensePlateChange​(org.bukkit.event.player.AsyncPlayerChatEvent event)
    Changing a license plate with /vehicle edit
    void
    onMaxSpeedBackwardsChange​(org.bukkit.event.player.AsyncPlayerChatEvent event)
    Changing vehicle's maximum backwards speed with /vehicle edit
    void
    onMaxSpeedChange​(org.bukkit.event.player.AsyncPlayerChatEvent event)
    Changing vehicle's maximum speed with /vehicle edit
    void
    onRotateSpeedChange​(org.bukkit.event.player.AsyncPlayerChatEvent event)
    Changing vehicle's rotation speed with /vehicle edit
    void
    onTrunkRowsChange​(org.bukkit.event.player.AsyncPlayerChatEvent event)
    Changing vehicle trunk's number of rows with /vehicle edit
    void
    onVehicleNameChange​(org.bukkit.event.player.AsyncPlayerChatEvent event)
    Changing vehicle's name with /vehicle edit

    Methods inherited from class nl.mtvehicles.core.infrastructure.models.MTVListener

    callAPI, callAPI, getAPI, isCancelled, setAPI

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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