📰Actions list
Here is list of all existing actions with examples
- Message action
Sends a message to the player who performed the action. Support for PlaceholderAPI, <center> and colors.
type: message
actions:
message1:
type: message
value: '&aHELLO!'
actions:
message1:
type: message
values:
- '<center>&aHELLO!'
- '&aHELLO!'
- Broadcast action
Sends a broadcast to all online players. Support for PlaceholderAPI, <center> and colors.
type: broadcast
actions:
broadcast1:
type: broadcast
value: '&aHELLO!'
actions:
broadcast1:
type: broadcast
values:
- '<center>&aHELLO!'
- '&aHELLO!'
- Player command action
Dispatch a command by player who called the action. Support for PlaceholderAPI and colors.
type: player-cmd
actions:
playercommand1:
type: player-cmd
value: 'say hello'
actions:
playercommand1:
type: player-cmd
values:
- 'say hello'
- 'say GSLibrary is best'
- Console command action
Dispatch a command from a console. Use placeholder %player% to get a player who called the action. Support for PlaceholderAPI and colors.
use placeholder: %player%
type: console-cmd
actions:
consolecommand1:
type: console-cmd
value: 'say hello %player%'
actions:
consolecommand1:
type: console-cmd
values:
- 'say hello %player%'
- 'say %player% is best'
- Bungee connect action
Connect a player who called the action to specific server. Support for PlaceholderAPI.
type: connect
actions:
survival:
type: connect
value: 'survival'
- Inventory close action
Close a inventory for player who called the action.
type: close-inv
actions:
close:
type: close-inv
- GUI open action
Opens a gui from any of our plugins.
type: open-gui
actions:
menu:
type: open-gui
value: 'gui_name'
- GUI back action
Opens the player's previous menu.
type: gui-back
actions:
back:
type: gui-back
- GUI forward action
Opens the player's upcoming menu.
type: gui-forward
actions:
forward:
type: gui-forward
- Actionbar action
Sends a actionbar message to a player who called the action. Support for PlaceholderAPI and colors.
type: actionbar
actions:
actionbar1:
type: actionbar
value: '&cHello!'
- Actionbar for all players action
Sends a actionbar message to all online players. Support for PlaceholderAPI and colors.
type: actionbar-all
actions:
actionbar1:
type: actionbar-all
value: '&cHello!'
- Title action
Sends a title message to a player who called the action. Support for PlaceholderAPI and colors.
type: title
actions:
title1:
type: title
title: '&cHello!'
subtitle: '&4world!'
fade-in: 20
stay: 60
fade-out: 20
- Title for all players action
Sends a title message to all online players. Support for PlaceholderAPI and colors.
type: title-all
actions:
title1:
type: title-all
title: '&cHello!'
subtitle: '&4world!'
fade-in: 20
stay: 60
fade-out: 20
- Sound action
Play a sound to a player who called the action.
All sound type can be found here
!
type: sound
actions:
sound1:
type: sound
value: 'ENTITY_VILLAGER_NO'
volume: 10
pitch: 1
- Sound for all players action
Play a sound to all online players.
All sound type can be found here
!
type: sound-all
actions:
sound1:
type: sound-all
value: 'ENTITY_VILLAGER_NO'
volume: 10
pitch: 1
- Gamemode action
Change a gamemode for a player who called the action. Gamemode types: SURVIVAL, CREATIVE, SPECTATOR, ADVENTURE
type: gamemode
actions:
gamemode1:
type: gamemode
value: 'CREATIVE'
- Fly toggle action
Toggle fly to on/off for a player who called the action.
type: fly-toggle
actions:
fly1:
type: fly-toggle
- Fly enabled/disabled action
Set fly to on/off for a player who called the action.
type: fly-enabled
type: fly-disabled
actions:
fly1:
type: fly-enabled
Last updated
Was this helpful?