BedrioxDOCUMENTATION
PLAYER EVENTS

Player events.

Choose an event to see its phase, cancellation contract, public methods, inheritance, and exact source.

PlayerAttackEventRuns before the related authoritative action and may be cancelled within the documented server boundary.PlayerAttackedEventObserves the related action after it has committed.PlayerChatBroadcastEventObserves the related action after it has committed.PlayerChatEventRuns before the related authoritative action and may be cancelled within the documented server boundary.PlayerCraftItemEventCancellable craft intent emitted after authoritative validation and before inventory mutation.PlayerCraftedItemEventImmutable notification emitted after a complete authoritative craft commits.PlayerDamageEventRuns before the related authoritative action and may be cancelled within the documented server boundary.PlayerDamagedEventObserves the related action after it has committed.PlayerDeathEventRuns after lethal damage commits and before death messages are presented.PlayerDropItemEventRuns before the related authoritative action and may be cancelled within the documented server boundary.PlayerDroppedItemEventObserves the related action after it has committed.PlayerEnchantItemEventRuns before the related authoritative action and may be cancelled within the documented server boundary.PlayerEnchantedItemEventObserves the related action after it has committed.PlayerEquipmentChangeEventCancellable, adjustable equipment transition emitted before authoritative commit.PlayerEquipmentChangedEventImmutable notification emitted after authoritative equipment commits.PlayerExperienceChangeEventRuns before the related authoritative action and may be cancelled within the documented server boundary.PlayerExperienceChangedEventObserves the related action after it has committed.PlayerFishEventCancellable authoritative fishing transition; a catch may replace its bounded item and experience result.PlayerFishStateTyped Bedriox event for plugin listeners.PlayerFishedEventObserves the related action after it has committed.PlayerFoodLevelChangeEventCancellable nutrition transition emitted before authoritative state changes.PlayerFoodLevelChangedEventImmutable notification emitted after authoritative nutrition state commits.PlayerGameModeChangeEventCancellable intent emitted before the authoritative player mode changes.PlayerGameModeChangedEventImmutable notification emitted after an authoritative player mode change.PlayerItemBreakEventImmutable notification emitted after a durability change breaks an item.PlayerItemConsumeEventCancellable, adjustable result emitted immediately before consumption commits.PlayerItemConsumedEventImmutable notification emitted after consumption and residue routing commit.PlayerItemDamageEventCancellable, adjustable durability loss emitted before authoritative commit.PlayerItemMendEventCancellable, adjustable repair proposed before Mending consumes collected experience.PlayerItemMendedEventObserves a committed Mending repair.PlayerItemUseCancelledEventImmutable notification that a validated item-use intent did not complete.PlayerItemUseEventCancellable intent emitted after validation and before an item use begins or applies.PlayerItemUsedEventImmutable notification emitted after an authoritative item use commits.PlayerJoinEventRuns after admission commits and allows plugins to control the join announcement.PlayerKickCauseTyped Bedriox event for plugin listeners.PlayerKickEventCancellable server-initiated kick; a normal transport timeout does not fire this event.PlayerLoginEventRuns after authoritative player state is restored and before the client bootstrap begins.PlayerMissSwingEventFired when a player swings without hitting a block or actor.PlayerMoveEventRuns before the related authoritative action and may be cancelled within the documented server boundary.PlayerMovedEventObserves the related action after it has committed.PlayerPickedUpItemEventObserves the related action after it has committed.PlayerPickupItemEventRuns before the related authoritative action and may be cancelled within the documented server boundary.PlayerPortalTravelEventRuns after portal contact has matured and before a dimension transfer is scheduled.PlayerPortalTravelledEventPublished after the authoritative dimension transfer has committed.PlayerPreJoinEventRuns before the related authoritative action and may be cancelled within the documented server boundary.PlayerQuitCauseTyped Bedriox event for plugin listeners.PlayerQuitEventRuns after removal commits; only the public leave announcement remains mutable.PlayerRegainHealthEventCancellable, adjustable health restoration emitted before authoritative commit.PlayerRegainedHealthEventImmutable notification emitted after authoritative health restoration commits.PlayerRespawnEventTyped Bedriox event for plugin listeners.PlayerRespawnedEventObserves the related action after it has committed.PlayerSpawnPointChangeEventRuns before the related authoritative action and may be cancelled within the documented server boundary.PlayerSpawnPointChangedEventObserves the related action after it has committed.PlayerTeleportEventRuns before an authoritative player teleport is committed.PlayerTeleportedEventPublished after an authoritative teleport has committed.