ZelDuels
GUI’s
custom-modelThe custom model data for custom resource packs.head-textureYou can define a custom head texture on the skull. (Here you can find them)head-ownerYou can define the owner of the skull.
Items
The item are composed of multiple properties, here they are:
material:The material of the item. (Here is the enum)custom-modelThe custom model data for custom resource packs.head-textureYou can define a custom head texture on the skull. (Here you can find them)head-ownerYou can define the owner of the skull.name:This for customizing the name of the item.lore:This for customizing the description of the item.symbol:I advice to not touch it, it's for GUI disposition customization.actions:This is what the item will do. The available actions changes on each GUI, here are the triggers you can use areleft-click, right-click, shift-left-click, shift-right-click, middle-click, drop-click, control-drop-click, number-key-click.
Example:
inventory:
title: '&8ᴄʀᴇᴀᴛᴇ ᴅᴜᴇʟ - %player%'
disposition:
- "---------"
- "-c-btmls-"
- "---------"
values:
lose-inventory-yes: "&aYes"
lose-inventory-no: "&cNo"
items:
cancel:
material: RED_STAINED_GLASS_PANE
name: '#ff0000ᴄᴀɴᴄᴇʟ'
symbol: "c"
lore:
- '&fClick to cancel'
actions:
left-click: CANCEL
send:
material: LIME_STAINED_GLASS_PANE
name: '#04fc04sᴇɴᴅ'
symbol: "s"
lore:
- '&fClick to send request'
actions:
left-click: SEND
biome:
material: WHITE_WOOL
name: '#05fa8bʙɪᴏᴍᴇ'
symbol: "b"
lore:
- '&fClick to change map'
- '&7(%current_biome%)'
actions:
left-click: MAP_SELECTOR
time:
material: CLOCK
name: '#05fa8bᴛɪᴍᴇ'
symbol: "t"
lore:
- '&7(%time%m)'
actions:
left-click: TIME_SELECTOR
money:
material: WHITE_BANNER
name: '#05fa8bᴍᴏɴᴇʏ ᴡᴀɢᴇ'
symbol: "m"
lore:
- '&7Amount (&b$%bet%&7)'
- ''
- ' &7▪&b Click &8- &fEnter Amount'
- ' &7▪&b Shift + Click &8- &cDisable'
actions:
left-click: BET_SELECTOR
lose-inv:
material: CHEST
name: '#f3c508ʟᴏꜱᴇ ɪɴᴠᴇɴᴛᴏʀʏ'
symbol: "l"
lore:
- '&fClick to change'
- '&7(%lose_inventory%&7)'
actions:
left-click: LOSE_INV_SELECTOR
GUI Disposition
If you want to change the position of the item there is something called "GUI Disposition" that you can change for every GUI inside the plugin.
Let's look at an example and try to understand it.
- "---------"
- "-c-btmls-"
- "---------"
The - are the empty items, c is the Cancel item, b is the Biome item item, m is the Money wage item, l is the lose inventory item and s is the Send item. Here is how it looks ingame.
Available Actions:
LOSE_INV_SELECTOR
- BET_SELECTOR
- TIME_SELECTOR
- MAP_SELECTOR
- SEND
- CANCEL
- DENY
- ACCEPT