Skip to main content

âš™ī¸ Configuration Detail (config.yml)

config.yml is the backbone of MMOItemsGemslot, defining operation costs, data protection, and slot types.

📋 Full Configuration Breakdown​

# Language (zh_CN, en_US, etc.)
language: en_US

global:
# NBT Data Preservation (Preserves these tags during operations)
preserve-nbt-tags:
- "MMOitemsUpgrade" # Upgrade level data
- "MMOITEMS_PGEM_SLOTS" # Detailed gem slot data

# Socketing Settings
gem-socket:
disable-native-socketing: true # Force GUI
cost: 500 # Vault money cost
exp-cost: 100 # XP point cost

# Perforation Settings
perforation:
max-slots: 5
cost: 1000
success-rates: # Tiered success (%)
- 80 # 1st Slot
- 60 # 2nd Slot
- 40 # 3rd Slot

# Slot Type Definitions (Must match MMOItems gem color tags)
gem-slot-types:
- name: "Red" # Matches MMOITEMS_GEM_COLOR: "Red"
display-name: "&cRed Gem Slot"
material: RED_STAINED_GLASS_PANE
- name: "Sapphire"
display-name: "&9Sapphire Gem Slot"
material: BLUE_STAINED_GLASS_PANE

# Removal Settings
gem-remover:
cost: 300
exp-cost: 50
enabled: true
consume: true # Consume remover item on use

[!IMPORTANT] The name field in gem-slot-types MUST match the color label defined in your MMOItems gems (MMOITEMS_GEM_COLOR).