Player Events

PLAYER JOIN

Event called when a player joins the server.

example:
  type: player_join
  actions:
    default:
    - 'message: &eWelcome %player% to the server.'
circle-info

This event has no variables, but you can still use ConditionalEvents variables or PlaceholderAPI variables.

circle-exclamation

PLAYER LEAVE

Event called when a player leaves the server.

example:
  type: player_leave
  actions:
    default:
    - 'to_all: message: &e%player% left the server.'
circle-info

This event has no variables, but you can still use ConditionalEvents variables or PlaceholderAPI variables.

circle-exclamation

PLAYER PRE JOIN

Event called when a player tries to join the server.

circle-check
circle-exclamation
circle-exclamation

PLAYER RESPAWN

Event called when a player respawns.

circle-check
circle-exclamation

PLAYER DEATH

Event called when a player dies.

circle-check
circle-exclamation

PLAYER COMMAND

Event called when a player executes a command.

circle-check

PLAYER CHAT

Event called when a player writes something in chat.

circle-check

PLAYER LEVELUP

Event called when a player changes its level.

circle-check
circle-exclamation

PLAYER WORLD CHANGE

Event called when a player is moving to another world.

circle-check
circle-exclamation

PLAYER ATTACK

Event called when a player damages an entity.

circle-check
circle-info

On this event you can use target player variables and to_target actions.

PLAYER KILL

Event called when a player kills an entity.

circle-check
circle-exclamation
circle-info

On this event you can use target player variables and to_target actions.

PLAYER DAMAGE

Event called when a player is taking damage.

circle-check

PLAYER ARMOR

Event called when a player equips or unequips armor.

circle-check
circle-exclamation

PLAYER TELEPORT

Event called when a player teleports somehow.

circle-check

PLAYER BED ENTER

Event called when a player enters a bed.

circle-check
circle-exclamation

PLAYER OFFHAND

Event called when players interact with their offhand.

  • Swap items between main hand and offhand using the hotkey.

  • Use the inventory to move items to the offhand.

  • Use the inventory to recover items from the offhand.

circle-check

PLAYER FISH

Event called when a player is fishing.

circle-check
circle-info

On this event you can use target player variables and to_target actions (Only if %state% is CAUGHT_ENTITY and %caught_type% is a Living Entity)

PLAYER OPEN INVENTORY

Event called when a player opens an inventory.

circle-check

PLAYER CLOSE INVENTORY

Event called when a players closes an inventory.

circle-check
circle-exclamation

PLAYER CLICK INVENTORY

Event called when a player clicks on an inventory.

circle-check

PLAYER STATISTIC

Event called when a player statistic is incremented, like certain blocks breaked, jumps, items pickup...

circle-check

PLAYER SNEAK

Event called when a player toggles their sneaking state.

circle-check
circle-exclamation

PLAYER RUN

Event called when a player toggles their running state (starts or stops running).

circle-check
circle-exclamation

PLAYER REGAIN HEALTH

Event called when a player regains/regenerates health.

circle-check

PLAYER CHANGE FOOD

Event called when the food level of a player changes.

circle-check
circle-exclamation

PLAYER TAB COMPLETE

Event called when a player is writing a command and about to display possible arguments. Mainly used with the tab_complete action.

circle-check
circle-exclamation

Last updated