class customize - goflishMC/fabled-temp GitHub Wiki
🎨 Class Customize
The /class customize
command allows you to visually edit the skill and attribute menus for each class using an in-game GUI editor.
🧭 Opening the Editor
To begin customizing a class’s menu layout, use the following command in-game:
/class customize
This opens a layout editor for the class you're currently professed into. You can use this menu to add, move, or remove icons representing skills, attributes, and other decorative items.
🎛️ How It Works
- The GUI editor shows all available skills and attributes on the left side of your inventory.
- You can drag and drop items into the editor grid to place them.
- These changes are saved to
gui.yml
and reflected in your in-game menus.
🧱 Item Types
Here’s what you can add to your class menu:
Item Type | Description |
---|---|
Skill Icons | Represent unlocked or unlockable skills |
Attribute Icons | Represent available attributes |
Tool Icons | Extra visual icons defined in tool-yml |
Navigation Items | Special buttons like NEXT_PAGE and PREV_PAGE for paginated menus |
📁 Where It Saves
Your layout changes are saved in:
/plugins/Fabled/gui.yml
⚠️ You should not edit
gui.yml
by hand. Always use the/class customize
command to avoid breaking the layout structure.
🧰 Custom Icons
Any icon you define in tool-yml will appear in your inventory when editing menus. You can use these to add decorative icons or dividers in your GUI layout.
Example tool icon:
FIRE_ICON:
type: 'PAPER'
data: '1'
durability: '0'
name: '&cFire Skill'
lore:
- '&7Unleash burning magic'
🔄 Reloading Menus
If you make changes to your configuration files or want to apply changes without restarting the server, use:
/class reload
Then reopen the GUI editor with /class customize
to see your changes.
🧩 Related Pages