PLAYER
Execute a command as if the player typed it in chat.The command to execute. Leading slash is optional.
Examples
Real-World Usage
Fromitems.yml - Shop item:
The command executes with the player’s permissions. For admin commands, use CONSOLE instead.
CONSOLE
Execute a command from the console with full permissions.The command to execute from console. The
%player_name% placeholder is automatically available.Placeholders
%player_name%- The player’s username- Any PlaceholderAPI placeholders
Examples
GAMEMODE
Change the player’s gamemode.The gamemode to set. Must be one of:
SURVIVAL, CREATIVE, ADVENTURE, SPECTATORExamples
Gamemode names are case-insensitive but must be valid Bukkit GameMode values.
MESSAGE
Send a message to the player.The message to send. Supports color codes and PlaceholderAPI.
Examples
Color Support
- Legacy color codes:
&a,&c,&l, etc. - Hex colors:
<#RRGGBB> - PlaceholderAPI placeholders
BROADCAST
Broadcast a message to all online players.The message to broadcast. Supports color codes including hex colors.
Examples
CLEAR
Clear the player’s inventory completely.This action takes no parameters.
Examples
Common Use Cases
Lobby join - clear inventory
Lobby join - clear inventory
Minigame start - reset player
Minigame start - reset player
ITEM
Give a custom item fromitems.yml to the player.
The ID of the item from items.yml
Optional. The inventory slot to place the item (1-9 for hotbar)
Syntax
Examples
Implementation Details
The ITEM action internally uses the console command:The item must be defined in
items.yml. If the item doesn’t exist, the action will fail silently.Complete Examples
Lobby starter kit
Lobby starter kit
VIP rank purchase
VIP rank purchase
Admin teleport tool
Admin teleport tool