creating classes - goflishMC/fabled-temp GitHub Wiki
The Classes tab in the Fabled Web Editor lets you define playable RPG classes or races, including level scaling, skill trees, permissions, and icons.
- Click on the Classes tab at the top of the editor.
- Use the โ Add Class button in the left sidebar.
- Name your new class and start editing its properties in the right panel.
Field | Description |
---|---|
name |
The internal name of the class |
prefix |
Text prefix shown in player chat |
group |
Which group this class belongs to (e.g., class , subclass ) |
max-level |
The highest level this class can reach |
parent |
Optional parent class (for creating class trees) |
needs-permission |
Set to true if a permission is required to access this class |
โ ๏ธ Class groups (likeclass
,subclass
, or custom categories) are defined in groups.yml.
- Max Level โ Highest level this class can reach.
- Exp Sources โ Select how the class gains XP (e.g., Mobs, Blocks, Orbs).
- Parent โ The class this one professes from (e.g., Knight's parent = Fighter).
Players can only profess into this class once they meet the parent class requirements.
-
Permission Required โ Toggle whether a permission node is needed to use this class.
- Format:
fabled.class.<classname>
- Format:
- Health โ Base health for the class.
- Mana โ Base mana for the class.
-
Mana Regen โ Mana regenerated per tick (interval is set in
config.yml
).
- You can set values for all defined attributes (e.g., Strength, Vitality, Agility).
- Drag & drop your
attributes.yml
file into the editor to load your custom attributes.
-
Skill Tree Type โ Determines layout style of the skill GUI:
-
Custom
,Requirement
,Basic Horizontal
,Basic Vertical
,Level Horizontal
,Level Vertical
,Flood
-
- Skills โ Select which skills this class can use.
Skill requirements, levels, and layout depend on your tree type.
-
Unusable Items โ Blacklist of items this class cannot use.
- Example: Swords, Bows, Diamond Armor
- Icon โ Select or upload an item to represent this class in menus.
Combo starters let players activate special skills using input sequences (e.g., L R R
).
- Combo Material List โ A list of materials that are allowed (or disallowed) as combo starters.
- Inverted Setting โ If inverted, the materials in the list are not allowed as combo starters; all others are.
- If a material is not listed and the list is not inverted, it cannot be used to initiate a combo.
Combo logic is configured in the
config.yml
under the combo section.
Once you're done editing:
- Click ๐พ Save to export the current class.
- Or click ๐ค Upload All to Server to export everything.
- The resulting file will be saved as:
/plugins/Fabled/classes.yml
Reload the plugin with:
/fabled reload
- Use
/class select <name>
to try your class in-game. - Use
/class skill
to assign unlocked skills to your casting bar or GUI. - Make sure XP sources are enabled in
config.yml
.