PHP pocketmine\event\player Namespace

Classes

Name Description
PlayerAchievementAwardedEvent Called when a player is awarded an achievement
PlayerAnimationEvent Called when a player does an animation
PlayerBedEnterEvent
PlayerBedLeaveEvent
PlayerBucketEmptyEvent
PlayerBucketEvent
PlayerBucketFillEvent
PlayerChatEvent Called when a player chats something
PlayerCommandPreprocessEvent Called when a player runs a command or chats, early in the process
PlayerCreationEvent Allows the creation of players overriding the base Player class
PlayerDeathEvent
PlayerDropItemEvent Called when a player tries to drop an item from its hotbar
PlayerEvent
PlayerExhaustEvent
PlayerExperienceChangeEvent
PlayerFishEvent Called when a player uses the fishing rod
PlayerGameModeChangeEvent Called when a player has its gamemode changed
PlayerGlassBottleEvent
PlayerHungerChangeEvent
PlayerInteractEvent Called when a player interacts or touches a block (including air?)
PlayerItemHeldEvent
PlayerJoinEvent Called when a player joins the server, after sending all the spawn packets
PlayerKickEvent Called when a player leaves the server
PlayerLoginEvent Called when a player joins, after things have been correctly set up (you can change anything now)
PlayerMoveEvent
PlayerPickupExpOrbEvent
PlayerPreLoginEvent Called when the player logs in, before things have been set up
PlayerQuitEvent Called when a player leaves the server
PlayerRespawnEvent Called when a player is respawned (or first time spawned)
PlayerTextPreSendEvent Called when a player is sent a message via sendMessage, sendPopup or sendTip
PlayerToggleFlightEvent
PlayerToggleSneakEvent
PlayerToggleSprintEvent
PlayerUseFishingRodEvent