📰Actions list

Here is list of all existing actions with examples

Actions in this list are actions that each of our plugins has. Each plugin may also have its own actions, which are separated on its wiki page.

- Message action

Sends a message to the player who performed the action. Support for PlaceholderAPI, <center> and colors.

type: message

SINGLE LINE
actions:
  message1:
    type: message
    value: '&aHELLO!'
MULTIPLE LINES
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

SINGLE LINE
actions:
  broadcast1:
    type: broadcast
    value: '&aHELLO!'
MULTIPLE LINES
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

SINGLE LINE
actions:
  playercommand1:
    type: player-cmd
    value: 'say hello'
MULTIPLE LINES
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

SINGLE LINE
actions:
  consolecommand1:
    type: console-cmd
    value: 'say hello %player%'
MULTIPLE LINES
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

EXAMPLE
actions:
  survival:
    type: connect
    value: 'survival'

- Inventory close action

Close a inventory for player who called the action.

type: close-inv

EXAMPLE
actions:
  close:
    type: close-inv

- GUI open action

Opens a gui from any of our plugins.

type: open-gui

EXAMPLE
actions:
  menu:
    type: open-gui
    value: 'gui_name'

- GUI back action

Opens the player's previous menu.

type: gui-back

EXAMPLE
actions:
  back:
    type: gui-back

- GUI forward action

Opens the player's upcoming menu.

type: gui-forward

EXAMPLE
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

EXAMPLE
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

EXAMPLE
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

EXAMPLE
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

EXAMPLE
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

EXAMPLE
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

EXAMPLE
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

EXAMPLE
actions:
  gamemode1:
    type: gamemode
    value: 'CREATIVE'

- Fly toggle action

Toggle fly to on/off for a player who called the action.

type: fly-toggle

EXAMPLE
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

EXAMPLE
actions:
  fly1:
    type: fly-enabled

Last updated