Actions
How to use the action system.
Actions allow you to perform tasks on certain events. Currently, actions are used for the following events:
When you place an anvil
When you break an anvil
When you kill a player
When you die
When you win a game
If you have suggestions for more events, let me know!
Currently, the following actions are available.
[ActionBarMessage] <message>
Send a message through the Action Bar.
[ActionBarBroadcast] <message>
Broadcast a message through the Action Bar.
[Chat] <message>
Make the player say something in chat.
[ConsoleCommand] <command>
Execute a command through the console.
[Kick] <reason>
Kick a player.
[Message] <message>
Send a message through the chat.
[Broadcast] <message>
Broadcast a message through the chat.
[Sound] <sound>
Plays a sound.
[SoundBroadcast] <sound>
Plays a sound to the entire server.
[VaultTake] <amount>
Take an amount of money from a player. Requires Vault.
[VaultGive] <amount>
Give an amount of money to a player. Requires Vault.
Reminder: Win actions fire for every player in the winning team, so don't use Broadcast actions there, as it'll get executed for each player, resulting in multiple broadcasts.
Last updated