Commands
List of reward commands:
[CONSOLE]
Executes a command as console.
[CONSOLE] command
command: The command to be executed.
Example:
[PLAYER]
Executes a command as a player.
[PLAYER] command
command: The command to be executed by the player.
Example:
[MESSAGE]
Sends a message to the player.
[MESSAGE] text
text: The message to be sent.
Example:
[RANGE_MESSAGE]
Sends a message to all players within a specific distance (in blocks).
[RANGE_MESSAGE] distance text
distance: Distance in blocks.
text: The message to be sent.
Example:
[BROADCAST]
Sends a message to all players.
[BROADCAST] text
text: The message to be sent.
Example:
[SOUND]
Sends a sound to the player.
[SOUND] sound volume pitch
sound: Sound name.
volume: Sound volume.
pitch: Sound pitch.
Example:
[WORLD_SOUND]
Sends a sound to all players in the world.
[WORLD_SOUND] sound volume pitch
sound: Sound name.
volume: Sound volume.
pitch: Sound pitch.
Example:
[EVENT_SOUND]
Sends a sound at the event location to the player.
[EVENT_SOUND] sound volume pitch
sound: Sound name.
volume: Sound volume.
pitch: Sound pitch.
Example:
[WORLD_EVENT_SOUND]
Sends a sound at the event location to all players.
[WORLD_EVENT_SOUND] sound volume pitch
sound: Sound name.
volume: Sound volume.
pitch: Sound pitch.
Example:
[TITLE]
Sends a title to the player.
[TITLE] fadeInTicks stayTicks fadeOutTicks T:title S:subtitle
fadeInTicks: Duration of fade-in in ticks.
fadeOutTicks: Duration of fade-out in ticks.
T:title: Main text.
S:subtitle: Subtitle text.
Example:
[BROADCAST_TITLE]
Sends a title to all players.
[BROADCAST_TITLE] fadeInTicks stayTicks fadeOutTicks T:title S:subtitle
fadeInTicks: Duration of fade-in in ticks.
fadeOutTicks: Duration of fade-out in ticks.
T:title: Main text.
S:subtitle: Subtitle text.
Example:
[ACTIONBAR]
Executes a command as console.
[ACTIONBAR] message
message: The command to be executed.
Example:
[BROADCAST_ACTIONBAR]
Executes a command as console.
[BROADCAST_ACTIONBAR] message
message: The command to be executed.
Example:
[EFFECT]
Adds, removes, or clears potion effects.
CLEAR
Clears the player's potion effects.
[EFFECT] CLEAR
ADD
Adds a new potion effect to the player.
[EFFECT] ADD type duration level
type: Effect type.
duration: Effect duration in ticks.
level: Effect level.
SET
Clears and sets a new potion effect for the player.
[EFFECT] SET type duration level
type: Effect type.
duration: Effect duration in ticks.
level: Effect level.
REMOVE
Removes a specific potion effect from the player.
[EFFECT] REMOVE type
type: Effect type.
Example:
Last updated