Inventory Actions
All actions support PlaceholderAPI placeholders, and they are parsed as the player (so for example %player_name% will insert the player's name)
Console
Run console command
format:
[CONSOLE] command without slash
example:
[CONSOLE] say Hey, it's the console, %player%!
Player
Run command as player
format:
[PLAYER] command without slash
example:
[PLAYER] say Hey, it's me, %player%!
Menu
Open or close menu
Note: the name of the menu is always the name of the file without the file extension (
cool-gui.yml
->cool-gui
)Also, not every menu can be opened like this
format:
[MENU] menu name
or
[MENU] close
example:
[MENU] main
Message
Send message to the player
[MESSAGE] message
example:
[MESSAGE] &#FF0000Your message
Firework
Spawn a firework at the player's location
Valid types: TYPES
format:
[SOUND] color|type
example:
[SOUND] #FF0000|ball
Sound
Play sound for player
Valid sounds: SOUNDS
format:
[SOUND] sound|volume|pitch
example:
[SOUND] ui.button.click|1|1
Page
Change page (only works in paginated guis)
format:
[PAGE] next
[PAGE] previous
[PAGE] page number
example:
[PAGE] 3
Refresh
Refresh page
format:
[REFRESH]