Commands
Actions support some custom commands. Note that these are not actual commands that can be executed in chat and they only work inside actions.
Commands
Regular
sound - send a sound to a player
message - send a message to a player
delay - send multiple commands to player after a delay
Variables
setvar - set a global or player variable
setpersistentvar - set a global or player persistent variable
clearvar - clear a global or player variable
clearpersistentvar - clear a global or player persistent variable
clearvars - clear all global or player variables
clearpersistentvars - clear all global or player persistent variables
savepersistentvars - save all persistent variables to the file
Animations
skip - skip animations
Regular
sound
Send a sound to the player viewing the tooltip.
Arguments
Examples
message
Send a message to the player viewing the tooltip. Supports hex, PAPI placeholders and local placeholders.
Arguments
Message
Examples
delay
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
Variables
setvar
Set a non-persistent variable for the given player or globally. Supports PAPI placeholders and local placeholders.
Arguments
Scope [ player / global / insert players name ]
Variable name (supports placeholders)
Value (supports mathematical evaluation)
Examples
setpersistentvar
Set a persistent variable for the given player or globally. Supports PAPI placeholders and local placeholders.
Arguments
Scope [ player / global / insert players name ]
Variable name (supports placeholders)
Value (supports mathematical evaluation)
Examples
clearvar
Clear a non-persistent variable for the given player or globally. Supports PAPI placeholders and local placeholders.
Arguments
Scope [ player / global / insert players name ]
Variable name (supports placeholders)
Examples
clearpersistentvar
Clear a persistent variable for the given player or globally. Supports PAPI placeholders and local placeholders.
Arguments
Scope [ player / global / insert players name ]
Variable name (supports placeholders)
Examples
clearvars
Clear all non-persistent variables for either a given player or globally.
Arguments
Scope [ player / global / insert players name ]
Examples
clearpersistentvars
Clear all persistent variables for either a given player or globally.
Arguments
Scope [ player / global / insert players name ]
Examples
savepersistentvars
Save all persistent variables.
Examples
Animations
skip
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 ]
Examples
Last updated