Actions - Legacy

None

This item has no action.

- 'none'

Message

Send a message to the player.

- 'message: Hello!'

Announcement

Send a message to all online players. (Added in 2.2.8)

- 'announcement: Hello!'

Effect

Give players potion effect.

- 'effect: BLINDNESS;;1;;60'

BLINDNESS is SpigotAPI effect ID, its different form minecraft effect namespace, you can find them here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html.

1 is effect level.

60 is effect duration.

Teleport

Teleport player to specified location.

- 'teleport: LobbyWorld;;0;;128;;10'

LobbyWorld is world name.

0 is X pos.

128 is Y pos.

10 is Z pos.

You can also add yaw and pitch at the end of action string, like:

Copy

- 'teleport: DungeonWorld;;100;;30;;300;;90;;0'

Player Command

Make the player excutes a command.

- 'player_command: tell i am a boy!'

Console Command

Make the console excutes a command.

- 'console_command: op %player%'

Op Command

Make the player excutes a command as OP.

- 'op_command: tell i am a boy!

Sound

Send sound to player.

- 'sound: ui.button.click;;1;;1' 
# "sound: SOUND;;volume;;pitch"

Last updated