Actions
List of the actions objects that can be used in some settings.
List of action types​
Type | Description | Example |
---|---|---|
--- | Player executes a command | say Hello world! |
console | Console executes a command | console: say Hello world! |
chat | Sends a message to the player | chat: Hello world! |
broadcast | Broadcasts a message to the server | broadcast: Hello world! |
broadcastradius | Broadcasts a message to the server in a radius | broadcastradius: 10 Hello world! |
json | Sends a json message to the player | json: {"text": "Hello world!"} |
jsonbroadcast | Sends a json message to the server | jsonbroadcast: {"text": "Hello world!"} |
jsonradius | Sends a json message to the server in a radius | jsonbroadcastradius: 10 {"text": "Hello world!"} |
delay | Delays the next action for seconds | delay: 10 |
delayticks | Delays the next action for ticks | delayticks: 10 |
sound | Plays a sound to the player | sound: ENTITY_EXPERIENCE_ORB_PICKUP 1 1 |
soundbroadcast | Plays a sound to the server | soundbroadcast: ENTITY_EXPERIENCE_ORB_PICKUP 1 1 |
soundradius | Plays a sound to the server in a radius | soundbroadcastradius: ENTITY_EXPERIENCE_ORB_PICKUP 1 1 10 |
server | Sends player to another server | server: lobby |
PlaceholderAPI support
You can use PlaceholderAPI placeholders in the message.