Reward Actions
Action types of rewards
Each reward has its own set of actions that are executed upon claiming the reward.
The following pattern is valid for use: [<action>] <statement>
These actions are listed here:
CONSOLE - entered statement will be executed from console
PLAYER - the statement will be executed as player command execution
MESSAGE - messages the player with specified text
BROADCAST - sends message to all online players
ACTIONBAR - shows the text in actionbar for the player (only usable in 1.12+ versions)
BOSSBAR - shows the text in bossbar for the player (only usable in 1.12+ versions)
TITLE - sends primary title with entered text
SUBTITLE - sends secondary title with entered text
SOUND - plays specified sound for the player
FIREWORK - launches a firework with stated properties above the player
You can use the placeholder %player%
which will be replaced by the player's name, %type% will be replaced by reward type, random placeholders and PlaceholderAPI placeholders
The following example is a demonstration of how to use actions in real .yml file of reward:
Last updated