Commands
Last updated
Last updated
Actions support some custom commands. Note that these are not actual commands that can be executed in chat and they only work inside actions.
Regular
- send a sound to a player
- send a message to a player
- send multiple commands to player after a delay
Variables
- set a global or player variable
- set a global or player persistent variable
- clear a global or player variable
- clear a global or player persistent variable
- clear all global or player variables
- clear all global or player persistent variables
- save all persistent variables to the file
skip - skip animations
Send a sound to the player viewing the tooltip.
Arguments
sound name
used exactly the same way as in the /playsound command.
sound category
used exactly the same way as in the /playsound command.
volume (float)
pitch (float)
Examples
Arguments
Message
Examples
Send an array of commands to the player viewing the tooltip after a specific given delay. Commands are separated with a ;
and support both local commands (on this page) and outside commands. Supports all placeholders.
Arguments
Time (ticks, 1 second = 20 minecraft ticks)
Commands (separated with a ; )
Examples
Arguments
Variable name (supports placeholders)
Examples
Arguments
Scope [ player / global / insert players name ]
Variable name (supports placeholders)
Value (supports mathematical evaluation)
Examples
Arguments
Variable name (supports placeholders)
Examples
Arguments
Variable name (supports placeholders)
Examples
Arguments
Examples
Arguments
Examples
Examples
Skips animations depending on given arguments. Note that the animations have to have an ID to be able to be skipped.
Arguments
Skipped [ current / all ]
list of vanilla sounds can be found
list of sound categories can be found (on the right)
Send a message to the player viewing the tooltip. Supports hex, PAPI placeholders and .
Set a variable for the given . Supports PAPI placeholders and .
[ player / global / insert players name ]
Value ()
Set a variable for the given player or globally. Supports PAPI placeholders and .
Clear a variable for the given player or globally. Supports PAPI placeholders and .
[ player / global / insert players name ]
Clear a variable for the given player or globally. Supports PAPI placeholders and .
[ player / global / insert players name ]
Clear all variables for either a given player or globally.
[ player / global / insert players name ]
Clear all variables for either a given player or globally.
[ player / global / insert players name ]
Save all variables.