wiki/Arena Signs

Arena Signs are a new feature implemented in v1.0.1.
There are two types of KotH signs: Command and Class signs. The purpose of these signs is to add better functionality so that a player doesn't have to use a command to join an arena, per se. You can also add prices to using signs, but not commands. To add prices to commands you will have to use an external plugin.

Command Signs

The first line of a command sign must be only [koth]. This is a tag to let the server know it is a king of the hill sign.

The second line is your command. Currently, there are 6 commands supported: join, leave, spectate, info, players, and chooseteam
As of v1.1, there are also stats, enable, disable, start and end signs.

You can make the command any color you want, so long as the command line contains only the command name.
However, for the chooseteam command, you specify the specific team instead of the label "chooseteam". So if you want the players to join the red team, the command line must be 'red' or 'redteam'. If you want them to join the blue team, the line must be 'blue' or 'blueteam'. Team signs can only be used if a player is in the lobby.

The third line of the sign must be an arena. You can use any color you want for the line, but the arena must exist, and the arena must be the same as the arena the player is in.

The fourth line is optional. If you have vault and an economy plugin, you can give a price option in the form $<amount>. Colors are not allowed. If you are missing either vault and/or an economy plugin, players cannot use the sign if a price is still given.

You now have a command sign! If you set it up properly, the [koth] tag will turn purple!

Class Signs

The first line of a class sign must be only [koth]. This is a tag to let the server know it is a king of the hill sign.

The second line is your class name. The class cannot be 'random' or any command tags because then the sign will be registered as a command.

The third line is optional. If you have vault and an economy plugin, you can give a price option in the form $<amount>. Colors are not allowed. If you are missing either vault and/or an economy plugin, players cannot use the sign if a price is still given.

You now have a command sign! If you set it up properly, the [koth] tag will turn purple!

You can leave your fourth line blank or make it anything you want.

Example

KotH Sign Tutorial