GUIs
Item Stack Parser
Most of icons has in-build function. You can see all functional icon names in default config.yml file. Also you can define new icons as dysfunctional. MasterDuels parses item stacks from configuration sections.
ICON_NAME:
material: XMATERIAL_NAME
display-name: 'DISPLAY_NAME'
amount: AMOUNT
slot: SLOT
lore:
- 'LINE 1'
Example item stack section:
team-size:
material: PLAYER_HEAD
display-name: '&9Team Size'
amount: 1
slot: 10
Item Stack Sections
MasterDuels uses obliviate-invs library. If you want to go deep, you can visit obliviate-invs wiki.
ICON_NAME String
Backend name of icon. This name is unique id in gui wide.
XMATERIAL_NAME String
Material/type of icon. MasterDuels using independent API to match material (XMaterial).
Click to see all valid material names.
DISPLAY_NAME Colorable String
Display name of icon.
AMOUNT Integer
Display amount of icon.
SLOT Integers
Slot number which shows this icon. You can enter multi-integer in dysfunctional icon sections.
slot: 10
puts on 10. slot
slot: 0-10
puts on slots between 0 and 10 (includes 0 and 10)
slot: 0,10
puts on 0. slot and 10. slot
LORE Colorable String List
Display description of item.
Last updated