Classes

Classes allow the player to pick a specific class at the beginning of the game which gives them special abilities. Classes can be used on any map type, however care must be taken to balance them properly. Players can then change their class ingame with the /class command.

Classes ElementDescriptionValue/Children
A node containing a single class or a group of classes.
Sub-elements
A single player class.Class Sub-elements
Class Attributes
AttributeDescriptionValueDefault
Required The class's name, must be unique.String
Description shown in the command.String
Description shown in class picker menu.String
Icon shown in the class picker menu.Single Material Pattern
Required "group" of classes (ghost squadron is "ghost").Class Family Name
If set to players can't change the class mid game, instead they have to rejoin.true/falsefalse
Specify if the class is the default class for new players.
One class must be set as the default.
true/falsefalse
If set to only OP's can use this class.true/falsefalse
Class Sub-elements
ElementDescriptionType
The kit given to players using this class.Kits

Example

<classes family="ghost" sticky="true">
<class name="Demon" default="true" description="Smoke and Fire!" icon="fireball">
<kit>
<potion duration="oo" amplifier="2" ambient="true">damage resistance</potion>
<potion duration="oo" amplifier="1" ambient="true">speed</potion>
<item slot="8" amount="16" material="cooked beef"/>
<item slot="1" amount="5" name="`3Grenade" grenade="true" material="ender pearl"/>
</kit>
</class>
</classes>