Uses of Class
org.bukkit.event.player.PlayerEvent
| Package | Description |
|---|---|
| org.bukkit.event.player | |
| org.spigotmc.event.player |
Spigot-specific player events.
|
-
Uses of PlayerEvent in org.bukkit.event.player
Subclasses of PlayerEvent in org.bukkit.event.player Modifier and Type Class Description classAsyncPlayerChatEventThis event will sometimes fire synchronously, depending on how it was triggered.classPlayerAdvancementDoneEventCalled when a player has completed all criteria in an advancement.classPlayerAnimationEventRepresents a player animation eventclassPlayerArmorStandManipulateEventCalled when a player interacts with an armor stand and will either swap, retrieve or place an item.classPlayerBedEnterEventThis event is fired when the player is almost about to enter the bed.classPlayerBedLeaveEventThis event is fired when the player is leaving a bed.classPlayerBucketEmptyEventCalled when a player empties a bucketclassPlayerBucketEventCalled when a player interacts with a BucketclassPlayerBucketFillEventCalled when a player fills a bucketclassPlayerChangedMainHandEventCalled when a player changes their main hand in the client settings.classPlayerChangedWorldEventCalled when a player switches to another world.classPlayerChannelEventThis event is called after a player registers or unregisters a new plugin channel.classPlayerChatEventDeprecated.This event will fire from the main thread and allows the use of all of the Bukkit API, unlike theAsyncPlayerChatEvent.classPlayerChatTabCompleteEventDeprecated.This event is no longer fired due to client changesclassPlayerCommandPreprocessEventThis event is called whenever a player runs a command (by placing a slash at the start of their message).classPlayerCommandSendEventThis event is called when the list of available server commands is sent to the player.classPlayerDropItemEventThrown when a player drops an item from their inventoryclassPlayerEditBookEventCalled when a player edits or signs a book and quill item.classPlayerEggThrowEventCalled when a player throws an egg and it might hatchclassPlayerExpChangeEventCalled when a players experience changes naturallyclassPlayerFishEventThrown when a player is fishingclassPlayerGameModeChangeEventCalled when the GameMode of the player is changed.classPlayerHarvestBlockEventThis event is called whenever a player harvests a block.classPlayerInteractAtEntityEventRepresents an event that is called when a player right clicks an entity that also contains the location where the entity was clicked.classPlayerInteractEntityEventRepresents an event that is called when a player right clicks an entity.classPlayerInteractEventRepresents an event that is called when a player interacts with an object or air, potentially fired once for each hand.classPlayerItemBreakEventFired when a player's item breaks (such as a shovel or flint and steel).classPlayerItemConsumeEventThis event will fire when a player is finishing consuming an item (food, potion, milk bucket).classPlayerItemDamageEventCalled when an item used by the player takes durability damage as a result of being used.classPlayerItemHeldEventFired when a player changes their currently held itemclassPlayerItemMendEventRepresents when a player has an item repaired via the Mending enchantment.classPlayerJoinEventCalled when a player joins a serverclassPlayerKickEventCalled when a player gets kicked from the serverclassPlayerLevelChangeEventCalled when a players level changesclassPlayerLocaleChangeEventCalled when a player changes their locale in the client settings.classPlayerLoginEventStores details for players attempting to log in.classPlayerMoveEventHolds information for player movement eventsclassPlayerPickupArrowEventThrown when a player picks up an arrow from the ground.classPlayerPickupItemEventDeprecated.classPlayerPortalEventCalled when a player is about to teleport because it is in contact with a portal.classPlayerQuitEventCalled when a player leaves a serverclassPlayerRecipeDiscoverEventCalled when a player discovers a new recipe in the recipe book.classPlayerRegisterChannelEventThis is called immediately after a player registers for a plugin channel.classPlayerResourcePackStatusEventCalled when a player takes action on a resource pack request sent viaPlayer.setResourcePack(java.lang.String).classPlayerRespawnEventCalled when a player respawns.classPlayerRiptideEventThis event is fired when the player activates the riptide enchantment, using their trident to propel them through the air.classPlayerShearEntityEventCalled when a player shears an entityclassPlayerStatisticIncrementEventCalled when a player statistic is incremented.classPlayerSwapHandItemsEventCalled when a player swap items between main hand and off hand using the hotkey.classPlayerTakeLecternBookEventThis event is called when a player clicks the button to take a book of a Lectern.classPlayerTeleportEventHolds information for player teleport eventsclassPlayerToggleFlightEventCalled when a player toggles their flying stateclassPlayerToggleSneakEventCalled when a player toggles their sneaking stateclassPlayerToggleSprintEventCalled when a player toggles their sprinting stateclassPlayerUnregisterChannelEventThis is called immediately after a player unregisters for a plugin channel.classPlayerVelocityEventCalled when the velocity of a player changes. -
Uses of PlayerEvent in org.spigotmc.event.player
Subclasses of PlayerEvent in org.spigotmc.event.player Modifier and Type Class Description classPlayerSpawnLocationEventCalled when player is about to spawn in a world after joining the server.