Class | Description |
---|---|
AsyncPlayerChatEvent |
This event will sometimes fire synchronously, depending on how it was
triggered.
|
AsyncPlayerPreLoginEvent |
Stores details for players attempting to log in.
|
PlayerAchievementAwardedEvent | Deprecated
future versions of Minecraft do not have achievements
|
PlayerAdvancementDoneEvent |
Called when a player has completed all criteria in an advancement.
|
PlayerAnimationEvent |
Represents a player animation event
|
PlayerArmorStandManipulateEvent |
Called when a player interacts with an armor stand and will either swap, retrieve or place an item.
|
PlayerAttemptPickupItemEvent |
Thrown when a player attempts to pick an item up from the ground
|
PlayerBedEnterEvent |
This event is fired when the player is almost about to enter the bed.
|
PlayerBedLeaveEvent |
This event is fired when the player is leaving a bed.
|
PlayerBucketEmptyEvent |
Called when a player empties a bucket
|
PlayerBucketEvent |
Called when a player interacts with a Bucket
|
PlayerBucketFillEvent |
Called when a player fills a bucket
|
PlayerChangedMainHandEvent |
Called when a player changes their main hand in the client settings.
|
PlayerChangedWorldEvent |
Called when a player switches to another world.
|
PlayerChannelEvent |
This event is called after a player registers or unregisters a new plugin
channel.
|
PlayerChatEvent | Deprecated
This event will fire from the main thread and allows the use of
all of the Bukkit API, unlike the
AsyncPlayerChatEvent . |
PlayerChatTabCompleteEvent | Deprecated
This event is no longer fired due to client changes
|
PlayerCommandPreprocessEvent |
This event is called whenever a player runs a command (by placing a slash
at the start of their message).
|
PlayerCommandSendEvent |
This event is called when the list of available server commands is sent to
the player.
|
PlayerDropItemEvent |
Thrown when a player drops an item from their inventory
|
PlayerEditBookEvent |
Called when a player edits or signs a book and quill item.
|
PlayerEggThrowEvent |
Called when a player throws an egg and it might hatch
|
PlayerEvent |
Represents a player related event
|
PlayerExpChangeEvent |
Called when a players experience changes naturally
|
PlayerFishEvent |
Thrown when a player is fishing
|
PlayerGameModeChangeEvent |
Called when the GameMode of the player is changed.
|
PlayerInteractAtEntityEvent |
Represents an event that is called when a player right clicks an entity that
also contains the location where the entity was clicked.
|
PlayerInteractEntityEvent |
Represents an event that is called when a player right clicks an entity.
|
PlayerInteractEvent |
Represents an event that is called when a player interacts with an object or
air, potentially fired once for each hand.
|
PlayerItemBreakEvent |
Fired when a player's item breaks (such as a shovel or flint and steel).
|
PlayerItemConsumeEvent |
This event will fire when a player is finishing consuming an item (food,
potion, milk bucket).
|
PlayerItemDamageEvent |
Called when an item used by the player takes durability damage as a result of
being used.
|
PlayerItemHeldEvent |
Fired when a player changes their currently held item
|
PlayerItemMendEvent |
Represents when a player has an item repaired via the Mending enchantment.
|
PlayerJoinEvent |
Called when a player joins a server
|
PlayerKickEvent |
Called when a player gets kicked from the server
|
PlayerLevelChangeEvent |
Called when a players level changes
|
PlayerLocaleChangeEvent |
Called when a player changes their locale in the client settings.
|
PlayerLoginEvent |
Stores details for players attempting to log in.
|
PlayerMoveEvent |
Holds information for player movement events
|
PlayerPickupArrowEvent |
Thrown when a player picks up an arrow from the ground.
|
PlayerPickupItemEvent | Deprecated |
PlayerPortalEvent |
Called when a player is about to teleport because it is in contact with a
portal.
|
PlayerPreLoginEvent | Deprecated
This event causes synchronization from the login thread;
AsyncPlayerPreLoginEvent is preferred to keep the secondary threads
asynchronous. |
PlayerQuitEvent |
Called when a player leaves a server
|
PlayerRecipeDiscoverEvent |
Called when a player discovers a new recipe in the recipe book.
|
PlayerRegisterChannelEvent |
This is called immediately after a player registers for a plugin channel.
|
PlayerResourcePackStatusEvent |
Called when a player takes action on a resource pack request sent via
Player.setResourcePack(java.lang.String) . |
PlayerRespawnEvent |
Called when a player respawns.
|
PlayerRiptideEvent |
This event is fired when the player activates the riptide enchantment, using
their trident to propel them through the air.
|
PlayerShearEntityEvent |
Called when a player shears an entity
|
PlayerStatisticIncrementEvent |
Called when a player statistic is incremented.
|
PlayerSwapHandItemsEvent |
Called when a player swap items between main hand and off hand using the
hotkey.
|
PlayerTakeLecternBookEvent |
This event is called when a player clicks the button to take a book of a
Lectern.
|
PlayerTeleportEvent |
Holds information for player teleport events
|
PlayerToggleFlightEvent |
Called when a player toggles their flying state
|
PlayerToggleSneakEvent |
Called when a player toggles their sneaking state
|
PlayerToggleSprintEvent |
Called when a player toggles their sprinting state
|
PlayerUnleashEntityEvent |
Called prior to an entity being unleashed due to a player's action.
|
PlayerUnregisterChannelEvent |
This is called immediately after a player unregisters for a plugin channel.
|
PlayerVelocityEvent |
Called when the velocity of a player changes.
|
Enum | Description |
---|---|
AsyncPlayerPreLoginEvent.Result |
Basic kick reasons for communicating to plugins
|
PlayerAnimationType |
Different types of player animations
|
PlayerBedEnterEvent.BedEnterResult |
Represents the default possible outcomes of this event.
|
PlayerFishEvent.State |
An enum to specify the state of the fishing
|
PlayerLoginEvent.Result |
Basic kick reasons for communicating to plugins
|
PlayerPreLoginEvent.Result |
Basic kick reasons for communicating to plugins
|
PlayerResourcePackStatusEvent.Status |
Status of the resource pack.
|
PlayerTeleportEvent.TeleportCause |
Copyright © 2022. All rights reserved.