| Class | Description |
|---|---|
| PlayerBanEvent |
Called when a player gets banned.
|
| PlayerCatchFishEvent |
Called when a player catches a fish (or another item).
|
| PlayerChangeBlockPositionEvent |
Called when a player changes his block position (for example by moving).
|
| PlayerChangeEquippedItemEvent |
Called when a player changes the equipped item, i.e. if he either changes the
current "quickslot focus" (hotbar 1-5).
|
| PlayerChangeGamemodeEvent |
Called when a player changes his local game mode (i.e. by using the command
"setgamemode" or "gm").
|
| PlayerChangePositionEvent |
Called when a player changes his position (for example by moving).
|
| PlayerChatEvent |
Called when a player sends a chat message.
|
| PlayerChestAccessEvent |
Called when a player accesses a chest.
|
| PlayerCommandEvent |
Called when a player enters a command into chat.
|
| PlayerConnectEvent |
Called when a player connects to the server.
|
| PlayerCraftItemEvent |
Called when the player crafts an item.
|
| PlayerCustomImageDeleteEvent |
Called when a player wants to delete an image.
|
| PlayerCustomImageUploadEvent |
Called when a player has successfully uploaded a custom image to the server.
|
| PlayerCustomImageUploadRequestEvent |
Called when a player wants to upload a custom image (poster).
|
| PlayerDamageEvent |
Called when a player takes damage (e.g. fall damage).
|
| PlayerDeathEvent |
Called when a player dies.
|
| PlayerDisconnectEvent |
Called when a player disconnects.
|
| PlayerDismountNpcEvent |
Called when a player dismounts an npc / animal (e.g. a horse).
|
| PlayerDropItemEvent |
Called when the player drops an item.
|
| PlayerElementCollisionEvent |
Called when a player "touches" a
World3DModel, or more precisely, when the
player collides with the collision shape of the element. |
| PlayerElementHitEvent |
Called when a player hits a world element (as long as
World3DModel.setHittable(boolean) is set to true). |
| PlayerElementInteractionEvent |
Called when a player interacts (i.e. presses the interaction key) with a
world element (as long as
World3DModel.setInteractable(boolean) is
set to true). |
| PlayerEnterAreaEvent |
Called when a player enters a new
Area |
| PlayerEnterChunkEvent |
Called when a player enters a new chunk.
|
| PlayerEnterVehicleEvent |
Called when a player enters a vehicle.
|
| PlayerEnterWorldpartEvent |
Called when a player enters a new worldpart.
|
| PlayerEvent |
Base class for all player events.
|
| PlayerExitVehicleEvent |
Called when a player enters a vehicle.
|
| PlayerGenerateMapTileEvent |
Called when a player has generated a new map tile.
|
| PlayerHitEvent |
Called when a player hits / attacks another player.
|
| PlayerHitNpcEvent |
Called when a player hits / attacks an npc.
|
| PlayerIllegalStateEvent |
Triggered when an "illegal state" error occurs for a player.
|
| PlayerKeyEvent |
Called when a player presses or releases a key on his keyboard.
|
| PlayerKickEvent |
Called when a player gets kicked.
|
| PlayerLeaveAreaEvent |
Called when a player leaves an
Area |
| PlayerMountNpcEvent |
Called when a player mounts an npc / animal (e.g. a horse).
|
| PlayerNpcEvent |
Base class for all player - npc related events.
|
| PlayerNpcInteractionEvent |
Called when a player interacts (i.e. presses the interaction key) with an npc.
|
| PlayerNpcInventoryAccessEvent |
Called when a player accesses the inventory of an npc (when he accesses
the saddle bags of a mount, for example).
|
| PlayerObjectInteractionEvent |
Called when a player interacts (i.e. presses the interaction key) with a default
game object (e.g. furniture).
|
| PlayerPermissionGroupChangeEvent |
Called when the permission group of a player changes.
|
| PlayerPickupItemEvent |
Called when the player picks up a world item.
|
| PlayerPlayerInteractionEvent |
Called when a player interacts (i.e. presses the interaction key) with another player.
|
| PlayerPrivateMessageEvent |
Called when a player sends a private message to another player.
|
| PlayerRespawnEvent |
Called when a player respawns after death.
|
| PlayerSetSignTextEvent | |
| PlayerSleepEvent |
Called when a player starts sleeping or when he wakes up.
|
| PlayerSpawnEvent |
Called when a player spawns after connecting.
|
| PlayerStartFishingEvent |
Called when a player starts fishing.
|
| PlayerStartFlyingEvent |
Called when a player starts flying (F2)
|
| PlayerStopFishingEvent |
Called when a player stops fishing.
|
| PlayerStopFlyingEvent |
Called when a player stops flying (F2)
|
| PlayerTeleportEvent |
Called when a player is teleported to another location.
|
| PlayerVehicleEvent |
Base class for all player - vehicle related events.
|
| Enum | Description |
|---|---|
| PlayerDamageEvent.Cause |
Determines why the
PlayerDamageEvent was triggered exactly
(i.e. what's causing the damage). |
| PlayerTeleportEvent.Cause |
Determines what caused the teleportation
|