T2C-CommandGUI/Defaultconfig/GUIs/guiDeclaration.yml

52 lines
1.7 KiB
YAML
Raw Normal View History

2022-06-08 04:01:47 +00:00
################################################
## To add another GUI just create a new file. ##
################################################
GUI:
# Enable or disable the GUI
Enable: true
# Set the lines of the GUI here (1-6)
Lines: 1
# Here you set the display name of the GUI
Name: '&5default &9GUI'
FillItem:
# Activate or deactivate the FillItem here
Enable: true
# Here you can set the FillItem
Item: BLACK_STAINED_GLASS_PANE
# Here you set the settings for the alias
Command:
# Here you can enable or disable the alias of the GUI. The alias is the file name without .yml
Alias: true
Permission:
# Set here if a permission is needed for the alias or not. | Permission: t2code.alias.use.<alias>
Required: true
# Here you set the functions and slots
Slots:
# Here is an example of a slot
# To add another slot just copy the block. IMPORTANT: The slot name must not be duplicated (Slots.<name>).
function1:
# Here you set which slot the item / function should be in
Slot: 4
# Here you can activate and deactivate the slot
Enable: true
# Here you specify which function this slot should perform
Function: function1
Permission:
# Here you can set if a permission is needed to use this function.
Required: false
# Placeholder: [function] which function is used | [slot] is the slot number | [slotname] is the name of the key (Slots.KEY)
See: commandgui.gui.[function].slot.[slot].see
Use: commandgui.gui.[function].slot.[slot].use
function2:
Slot: 6
Enable: true
Function: function2
Permission:
Required: false
See: commandgui.gui.[function].slot.[slot].see
Use: commandgui.gui.[function].slot.[slot].use