Player

Events that are caused by players

PlayerJoinEvent

Player_Join_Event: <Mechanics>

Called when a player joins the server.

The player who joined the server

PlayerQuitEvent

Player_Quit_Event: <Mechanics>

Called when a player leaves the server.

The player who left the server

PlayerBedEnterEvent

Player_Bed_Enter_Event: <Mechanics>

Called when a player starts sleeping in a bed (by right-clicking on any bed at night).

The player entering the bed

PlayerBedLeaveEvent

Player_Bed_Leave_Event: <Mechanics>

Called when a player stops sleeping in a bed (either by waking up or leaving the bed manually).

The player leaving the bed

BlockBreakEvent

Block_Break_Event: <Mechanics>

Called when a player breaks a block by mining it.

The player breaking the block

BlockPlaceEvent

Block_Place_Event: <Mechanics>

Called when a player places a block.

The player placing the block

Last updated