binding menu - goflishMC/fabled-temp GitHub Wiki
๐งท binding.yml
The binding.yml
file defines how players interact with the skill binding menu and sets up the layout, navigation buttons, and behavior.
File location:
/plugins/Fabled/binding.yml
๐งญ Navigation & Icons
bound-prev-page:
material: ARROW
name: "&ePrevious"
slot: 48
not-bound-next-page:
material: ARROW
name: "&eNext"
slot: 50
- These define buttons that appear in the skill bind menu
slot
is the position in the GUI (0โ53)
๐ Binding Slots
You can define multiple GUI slots for binding/unbinding functionality:
slots:
left:
material: GREEN_STAINED_GLASS_PANE
name: "&aClick to Bind"
slot: 19
right:
material: RED_STAINED_GLASS_PANE
name: "&cClick to Unbind"
slot: 25
drop:
material: PAPER
name: "&fDrag to slot"
slot: 22
- These correspond to click actions: left-click, right-click, and drop (drag)
- You can customize the name, material, and location
๐ง Placeholders
Use placeholders in names or lore like:
{skill}
โ displays the skill name{level}
โ displays the required level{cost}
โ shows skill point cost