Skip to content

Standard Parameters

Relaxing9 edited this page Jun 27, 2022 · 3 revisions

Variables

Variables are provided by actions and can be used within strings in sub-actions.

Generally available are:

Variable Description
name The name of the player that clicked the item
uuid The UUID of the player that clicked the item

Available actions

COMMAND

This action can be used to execute commands.

Parameter Description Valid values Default value Required
by Determines who the command is executed by PLAYER,CONSOLE,PLAYER_PRIVILEGED PLAYER false
command The command to execute Any command, without slash true
perm The permission that the player is temporarily given in PLAYER_PRIVILEGED mode Any permission * false

MESSAGE

This action can be used to send messages to players or the console:

Parameter Description Valid values Default value Required
to The message mode, more info below PLAYER,CONSOLE,EVERYBODY,PERMISSION PLAYER false
message The message to send Anything true
perm In PERMISSION mode, the permission required to receive the message Any permission * if mode == PERMISSION

Message Targeters

Mode Description
PLAYER The message is send to the player that clicked the item
CONSOLE The message is printed to the console, useful for logging purposes
EVERYBODY The message is broadcasted to every player
PERMISSION The message is broadcasted to every player that has a certain permission, specified by the perm parameter

Clone this wiki locally