Uses of Class
org.bukkit.event.player.PlayerEvent
Packages that use PlayerEvent
Package
Description
Spigot-specific player events.
-
Uses of PlayerEvent in com.destroystokyo.paper.event.brigadier
Subclasses of PlayerEvent in com.destroystokyo.paper.event.brigadierModifier and TypeClassDescriptionclassAsyncPlayerSendCommandsEvent<S extends CommandSourceStack>Fired any time a Brigadier RootCommandNode is generated for a player to inform the client of commands.classCalled when sendingSuggestionsto the client. -
Uses of PlayerEvent in com.destroystokyo.paper.event.entity
Subclasses of PlayerEvent in com.destroystokyo.paper.event.entityModifier and TypeClassDescriptionclassFired when the server is calculating what chunks to try to spawn monsters in every Monster Spawn Tick event -
Uses of PlayerEvent in com.destroystokyo.paper.event.player
Subclasses of PlayerEvent in com.destroystokyo.paper.event.playerModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.Not usedclassCalled after a player is granted a criteria in an advancement.classCalled when the player themselves change their armor itemsclassCalled when processing a player's attack on an entity when the player's attack strength cooldown is resetclassCalled when the player changes their client settingsclassFired when a player boosts elytra flight with a fireworkclassCalled when the server detects the player is jumping.classCalled when a player shoots a projectile.classFired when a player is attempting to pick up an experience orbclassFired after a player has respawnedclassCalled when a player is firing a bow and the server is choosing an arrow to use.classCalled when a player clicks a recipe in the recipe bookclassCalled when a player's spawn is set, either by themselves or otherwise.classTriggered when a player starts spectating an entity in spectator mode.classTriggered when a player stops spectating an entity in spectator mode.classFired when a teleport is triggered for an End GatewayclassRepresents an event that is called when a player clicks an unknown entity. -
Uses of PlayerEvent in com.destroystokyo.paper.loottable
Subclasses of PlayerEvent in com.destroystokyo.paper.loottable -
Uses of PlayerEvent in io.papermc.paper.event.block
Subclasses of PlayerEvent in io.papermc.paper.event.blockModifier and TypeClassDescriptionclassCalled when a player uses shears on a block. -
Uses of PlayerEvent in io.papermc.paper.event.packet
Subclasses of PlayerEvent in io.papermc.paper.event.packetModifier and TypeClassDescriptionclassCalled when aminecraft:client_tick_endpacket is received by the server.classCalled when a client attempts to modify a sign, but the location at which the sign should be edited has not yet been checked for the existence of a real sign. -
Uses of PlayerEvent in io.papermc.paper.event.player
Subclasses of PlayerEvent in io.papermc.paper.event.playerModifier and TypeClassDescriptionclassAn abstract implementation of a chat event, handling shared logic.classfinal classAn event fired when aPlayersends a chat message to the server.final classDeprecated.Listening to this event forces chat to wait for the main thread, delaying chat messages.classclassclassCalled when a player sets the effect for a beaconclassCalled when a player is marked as loaded.classCalled when a player has slept long enough to count as passing the night/storm.classRuns when a player attempts to move, but is prevented from doing so by the serverclassCalled when a player places an item in or takes an item out of a flowerpot.classThis event is called when a player clicks on a lectern to insert a book.classCalled when a slot contents change in a player's inventory.classFired when a player receives an item cooldown when using an item.classCalled when anItemFrameis having an item rotated, added, or removed from it.classFired when a player receives an item cooldown.classclassCalled when a player selects a banner patten in a loom inventory.classCalled when a player creates a filled map by right-clicking an empty map.classCalled when the player is attempting to rename a mobclassCalled when a player begins editing a sign's text.classEvent that is fired when a player uses the pick item functionality on a block (middle-clicking a block to get the appropriate item).classEvent that is fired when a player uses the pick item functionality on an entity (middle-clicking an entity to get the appropriate item).classclassCalled when a player trades with a standalone merchant GUI.classCalled whenever a players shield is disabled due to an attack from another entity that was capable of disabling the shield.classCalled when aPlayerclicks a side on a sign that causes a command to run.classclassCalled when the server detects a player stopping using an item.classclassCalled when a player trades with a villager or wandering traderclassclassCalled when the player tries to attack an entity. -
Uses of PlayerEvent in org.bukkit.event.player
Subclasses of PlayerEvent in org.bukkit.event.playerModifier and TypeClassDescriptionclassDeprecated.useAsyncChatEventinsteadclassDeprecated.chat previews have been removedclassCalled when a player has completed all criteria in an advancement.classRepresents a player animation event
UsePlayerArmSwingEventfor determining which arm was swung.classCalled when a player interacts with an armor stand and will either swap, retrieve or place an item.classThrown when a player attempts to pick an item up from the groundclassThis event is fired when the player is almost about to enter the bed.classThis event is fired when the player is leaving a bed.classCalled when a player empties a bucketclassThis event is called whenever a player captures an entity in a bucket.classCalled when a player interacts with a BucketclassCalled when a player fills a bucketclassDeprecated.Use the more genericPlayerBucketEntityEventclassCalled when a player changes their main hand in the client settings.classCalled when a player switches to another world.classThis event is called after a player registers or unregisters a new plugin channel.classDeprecated.Listening to this event forces chat to wait for the main thread, delaying chat messages.classDeprecated.This event is no longer fired due to client changesclassThis event is called whenever a player runs a command (by placing a slash at the start of their message).classThis event is called when the list of available server commands is sent to the player.classThrown when a player drops an item from their inventoryclassCalled when a player edits or signs a book and quill item.classCalled when a player throws an egg and it might hatchclassCalled when a players experience changes naturallyclassCalled when a player's experience cooldown changes.classThrown when a player is fishingclassCalled when the GameMode of the player is changed.classThis event is called whenever a player harvests a block.classCalled when a visible entity is hidden from a player.classThis event is called when a player sends updated input to the server.classRepresents an event that is called when a player right clicks an entity that also contains the location where the entity was clicked.classRepresents an event that is called when a player right clicks an entity.classRepresents an event that is called when a player interacts with an object or air, potentially fired once for each hand.classFired when a player's item breaks (such as a shovel or flint and steel).classThis event will fire when a player is finishing consuming an item (food, potion, milk bucket).classCalled when an item used by the player takes durability damage as a result of being used.classFired when a player changes their currently held itemclassRepresents when a player has an item repaired via the Mending enchantment.classCalled when a player joins a serverclassCalled when a player gets kicked from the serverclassCalled when a players level changesclassThis event is called when the list of links is sent to the player.classCalled when a player changes their locale in the client settings.classStores details for players attempting to log in.classHolds information for player movement eventsclassThrown when a player picks up an arrow from the ground.classDeprecated.classCalled when a player is about to teleport because it is in contact with a portal which will generate an exit portal.classCalled when a player leaves a serverclassDeprecated, for removal: This API element is subject to removal in a future version.classCalled when a player changes recipe book settings.classCalled when a player discovers a new recipe in the recipe book.classThis is called immediately after a player registers for a plugin channel.classCalled when a player takes action on a resource pack request.classCalled when a player respawns.classThis event is fired when the player activates the riptide enchantment, using their trident to propel them through the air.classCalled when a player shears an entityclassCalled when a hidden entity is shown to a player.classDeprecated, for removal: This API element is subject to removal in a future version.classDeprecated, for removal: This API element is subject to removal in a future version.classCalled when a player statistic is incremented.classCalled when a player swap items between main hand and off-hand using the hotkey.classThis event is called when a player clicks the button to take a book of a Lectern.classHolds information for player teleport eventsclassCalled when a player toggles their flying stateclassCalled when a player toggles their sneaking stateclassCalled when a player toggles their sprinting stateclassThis is called immediately after a player unregisters for a plugin channel.classCalled when the velocity of a player changes. -
Uses of PlayerEvent in org.spigotmc.event.player
Subclasses of PlayerEvent in org.spigotmc.event.playerModifier and TypeClassDescriptionclassCalled when player is about to spawn in a world after joining the server.