π¨ Gui
π¨ GUI Configuration Overview
applies-to:
- SWORD;KATANA
- PICKAXE
# Sound settings
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
sounds:
confirm-success: ENTITY_EXPERIENCE_ORB_PICKUP # Sound on successful upgrade
confirm-fail: BLOCK_ANVIL_DESTROY # Sound on failed upgrade
confirm-no-item: BLOCK_NOTE_BLOCK_PLING # Sound when confirming with no item
# GUI customization
gui:
title: "&bSword Upgrade Station" # GUI title
rows: 6 # GUI rows (1-6)
display-slots:
item:
material: LIME_STAINED_GLASS_PANE
name: "<color:#00FF4F>Place the item to upgrade<color:#57E342>"
lore:
- "&7Drag and drop your item here"
cmd: 1
material:
material: YELLOW_STAINED_GLASS_PANE
name: "<color:#E7FF00>Place the materials<color:#F2FF08>"
lore:
- "&7Drag and drop the required materials here"
cmd: 1
chance:
material: PINK_STAINED_GLASS_PANE
name: "<color:#FF00F8>Place a chance-enhancing stone (if any)<color:#E68DFF>"
lore:
- "&7Drag and drop the chance-enhancing stone here"
cmd: 1
protection:
material: BLUE_STAINED_GLASS_PANE
name: "<color:#FF00F8>Place a protection stone (if any)<color:#E68DFF>"
lore:
- "&7Drag and drop the protection stone here"
cmd: 1
slots:
item: 13 # Slot for the item to upgrade
confirm:
material: GREEN_STAINED_GLASS_PANE # Confirm button material
name: "&a&lConfirm Upgrade" # Confirm button name
lore: # Confirm button lore
- "&7Click to upgrade"
- ""
- "&fCost: &a{cost}"
- "&fSuccess Chance: &6{chance}%"
- "&fMaterials:"
- "{material}"
slot: 40 # Confirm button slot
cmd: 1 # Custom Model Data (if any)
filter:
name: "&f" # Filter name (not displayed)
material: BLACK_STAINED_GLASS_PANE # Filter material
cmd: 1 # Custom Model Data (if any)
π¨ Color Code Support
π§© 1. Applies To
π 2. Sound
π¦ 3. Display Slots
Supported Placeholders (for chance/material/protection items only)
Placeholder
Description

βοΈ 4. Confirm Button

π§± 5. Filter Item

β 6. Custom GUI Item
Configuration Example
ποΈ 7. Main Item

Last updated