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 class
AsyncPlayerChatEvent
This event will sometimes fire synchronously, depending on how it was triggered.class
PlayerAdvancementDoneEvent
Called when a player has completed all criteria in an advancement.class
PlayerAnimationEvent
Represents a player animation eventclass
PlayerArmorStandManipulateEvent
Called when a player interacts with an armor stand and will either swap, retrieve or place an item.class
PlayerBedEnterEvent
This event is fired when the player is almost about to enter the bed.class
PlayerBedLeaveEvent
This event is fired when the player is leaving a bed.class
PlayerBucketEmptyEvent
Called when a player empties a bucketclass
PlayerBucketEvent
Called when a player interacts with a Bucketclass
PlayerBucketFillEvent
Called when a player fills a bucketclass
PlayerChangedMainHandEvent
Called when a player changes their main hand in the client settings.class
PlayerChangedWorldEvent
Called when a player switches to another world.class
PlayerChannelEvent
This event is called after a player registers or unregisters a new plugin channel.class
PlayerChatEvent
Deprecated.This event will fire from the main thread and allows the use of all of the Bukkit API, unlike theAsyncPlayerChatEvent
.class
PlayerChatTabCompleteEvent
Deprecated.This event is no longer fired due to client changesclass
PlayerCommandPreprocessEvent
This event is called whenever a player runs a command (by placing a slash at the start of their message).class
PlayerCommandSendEvent
This event is called when the list of available server commands is sent to the player.class
PlayerDropItemEvent
Thrown when a player drops an item from their inventoryclass
PlayerEditBookEvent
Called when a player edits or signs a book and quill item.class
PlayerEggThrowEvent
Called when a player throws an egg and it might hatchclass
PlayerExpChangeEvent
Called when a players experience changes naturallyclass
PlayerFishEvent
Thrown when a player is fishingclass
PlayerGameModeChangeEvent
Called when the GameMode of the player is changed.class
PlayerHarvestBlockEvent
This event is called whenever a player harvests a block.class
PlayerInteractAtEntityEvent
Represents an event that is called when a player right clicks an entity that also contains the location where the entity was clicked.class
PlayerInteractEntityEvent
Represents an event that is called when a player right clicks an entity.class
PlayerInteractEvent
Represents an event that is called when a player interacts with an object or air, potentially fired once for each hand.class
PlayerItemBreakEvent
Fired when a player's item breaks (such as a shovel or flint and steel).class
PlayerItemConsumeEvent
This event will fire when a player is finishing consuming an item (food, potion, milk bucket).class
PlayerItemDamageEvent
Called when an item used by the player takes durability damage as a result of being used.class
PlayerItemHeldEvent
Fired when a player changes their currently held itemclass
PlayerItemMendEvent
Represents when a player has an item repaired via the Mending enchantment.class
PlayerJoinEvent
Called when a player joins a serverclass
PlayerKickEvent
Called when a player gets kicked from the serverclass
PlayerLevelChangeEvent
Called when a players level changesclass
PlayerLocaleChangeEvent
Called when a player changes their locale in the client settings.class
PlayerLoginEvent
Stores details for players attempting to log in.class
PlayerMoveEvent
Holds information for player movement eventsclass
PlayerPickupArrowEvent
Thrown when a player picks up an arrow from the ground.class
PlayerPickupItemEvent
Deprecated.class
PlayerPortalEvent
Called when a player is about to teleport because it is in contact with a portal.class
PlayerQuitEvent
Called when a player leaves a serverclass
PlayerRecipeDiscoverEvent
Called when a player discovers a new recipe in the recipe book.class
PlayerRegisterChannelEvent
This is called immediately after a player registers for a plugin channel.class
PlayerResourcePackStatusEvent
Called when a player takes action on a resource pack request sent viaPlayer.setResourcePack(java.lang.String)
.class
PlayerRespawnEvent
Called when a player respawns.class
PlayerRiptideEvent
This event is fired when the player activates the riptide enchantment, using their trident to propel them through the air.class
PlayerShearEntityEvent
Called when a player shears an entityclass
PlayerStatisticIncrementEvent
Called when a player statistic is incremented.class
PlayerSwapHandItemsEvent
Called when a player swap items between main hand and off hand using the hotkey.class
PlayerTakeLecternBookEvent
This event is called when a player clicks the button to take a book of a Lectern.class
PlayerTeleportEvent
Holds information for player teleport eventsclass
PlayerToggleFlightEvent
Called when a player toggles their flying stateclass
PlayerToggleSneakEvent
Called when a player toggles their sneaking stateclass
PlayerToggleSprintEvent
Called when a player toggles their sprinting stateclass
PlayerUnregisterChannelEvent
This is called immediately after a player unregisters for a plugin channel.class
PlayerVelocityEvent
Called 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 class
PlayerSpawnLocationEvent
Called when player is about to spawn in a world after joining the server.