-
Notifications
You must be signed in to change notification settings - Fork 0
Events
KK edited this page Feb 20, 2022
·
9 revisions
- From a connected client run
Listen <EventName>- Example:
Listen PlayerDeathEvent
- Example:
- From a connected client, that is already listening to an event, run
Ignore <EventName>- Example:
Ignore PlayerDeathEvent
- Example:
Events are formatted like
Event <EventName> <JsonArray of arguments>
- Example:
Event PlayerDeathEvent ["PlayerName","PlayerName died from falling", {"world":"world","x":1000,"y":20,"z":20}]
PlayerDeathEvent
This event is triggered when a player dies
Event PlayerDeathEvent ["PlayerName","PlayerName died from falling",{"world":"world","x":1000,"y":20,"z":20}]
Arguments:
-
[0] -
Player who died -
[1] -
Cause of death -
[2] -
Location of death-
world -
World died in -
x -
X position of death -
y -
Y position of death -
z -
Z position of death
-
world -