|
PocketMine
|
Public Member Functions | |
| __construct (Player $player, $message) | |
| getMessage () | |
| setMessage ($message) | |
| setPlayer (Player $player) | |
Public Member Functions inherited from PlayerEvent | |
| getPlayer () | |
Public Member Functions inherited from Event | |
| getEventName () | |
| getHandlers () | |
Public Member Functions inherited from Cancellable | |
| isCancelled () | |
| setCancelled ($value=true) | |
Static Public Attributes | |
| static | $handlerList = null |
Protected Attributes | |
| $message | |
Protected Attributes inherited from PlayerEvent | |
| $player | |
Protected Attributes inherited from Event | |
| $eventName = null | |
Called when a player runs a command or chats, early in the process
You don't want to use this except for a few cases like logging commands, blocking commands on certain places, or applying modifiers.
The message contains a slash at the start
| getMessage | ( | ) |
| setMessage | ( | $message | ) |
| string | $message |