The GUI.yml contains all the Menus and the specific Settings for the player. If you don't want a setting, just remove the item. If you want a Shop item in the Main menu, change it. It is (or at least currently) not possible, to create a whole new menu.
Special Items are Items, that have a multiple purpose and are dynamic. You can configure them, but f.e. the next Site Item will be added, if no space is left in the inventory or you configurated multiple sites.
The Menu Configuration is pretty simple. Title, Inventory Item Size, Items... . The Items for the Inventory are a bit more complex. You can define with the GUI Action Type the function of an item.
Important: Items with no GUI Action are normal Items and can be removed from the Inventory. F.e. if you want to give the player free Apples. Decoration Items need at least the Action NOTHING, so that they can't be removed.
You can configure the Slot with the Slot Setting! But also multiple Sites, if you add the Setting Page to the Item. This makes it possible to create multiple Sites, if one Menu is not big enough.
# Everthing is customizable. But this could also break the system.
#
#Items
# This are Items that are in the inventory, but not manually setable.
# The Site Items are automaticly generated f.e. then more space is needed.
#
# For Custom PlayerHeads use the value data from f.e. this site:
# https://minecraft-heads.com/custom-heads/alphabet/9223-white-arrow-right
#
Special-Items:
NextSiteItem:
DisplayName: '&f&lNext Site'
Type: PLAYER_HEAD
Head:
Value: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTU2YTM2MTg0NTllNDNiMjg3YjIyYjdlMjM1ZWM2OTk1OTQ1NDZjNmZjZDZkYzg0YmZjYTRjZjMwYWI5MzExIn19fQ=='
Lore:
- '&8Click for the next Site'
BeforeSiteItem:
DisplayName: '&f&lBefore Site'
Type: PLAYER_HEAD
Head:
Value: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2RjOWU0ZGNmYTQyMjFhMWZhZGMxYjViMmIxMWQ4YmVlYjU3ODc5YWYxYzQyMzYyMTQyYmFlMWVkZDUifX19'
Lore:
- '&8Click for the next Site'
#GUI
# This are things, you should keep in mind:
#
# - If the Size of the Inventory is only 27. Then you cant set an Item on Slot 28. 27 is the last usable slot.
# - The ACTION is needed, to let the plugin know, that this is a GUI Item. Use "NOTHING", if you want to use an decoration Item.
#
# - The Name of the items can be everything, as long they arent the same in the section.
# F.e. GUI.MainPage.Items.1.... and GUI.MainPage.Items.2.... or GUI.MainPage.Items.SomethingToSpecifyTheItem. ...
#
# - You can set Pages for the Item to be on. If nothing is set, then the first page is used. Use for the item: Page: 2
# There needs to be at least one item on each page. And also the back and forth Items are at the bottom left/right.
#
GUI:
MainPage:
Title: '&f&lSelect the Menu'
Size: 9
Items:
DecorationItem:
DisplayName: ' '
Type: BLACK_STAINED_GLASS_PANE
Lore: {}
Action: NOTHING
Slot: '*'
ShopItem:
DisplayName: '&f&lShop Menu'
Type: EMERALD
Lore:
- '&c➤ &6Open the Afk time Shop Menu.'
Action: MENU_SHOP
Slot: 14
ShopMenu:
Title: '&f&lAFK time Shop'
Size: 27
Items:
DecorationItem:
DisplayName: ' '
Type: BLACK_STAINED_GLASS_PANE
Lore: {}
Action: NOTHING
Slot: '*'
ShopItem1:
DisplayName: '&f&l10 Minutes'
Type: PAPER
Lore:
- '&6Buy extra Afk time.'
- ''
- '&c➥ &6&lAFK time&7: &f10 Minutes'
- '&c➥ &6&lPrice&7: &f10.000$'
Action: SHOP_AFKTIME
AfkTime: '10m'
Price: 10000
Slot: 11
ShopItem2:
DisplayName: '&f&l30 Minutes'
Type: PAPER
Lore:
- '&6Buy extra Afk time.'
- ''
- '&c➥ &6&lAFK Time&7: &f30 Minutes'
- '&c➥ &6&lPrice&7: &f30.000$'
Action: SHOP_AFKTIME
AfkTime: '30m'
Price: 30000
Slot: 13
ShopItem3:
DisplayName: '&f&l1 Hour'
Type: PAPER
Lore:
- '&6Buy extra Afk time.'
- ''
- '&c➥ &6&lAFK ttime&7: &f1 Hour'
- '&c➥ &6&lPrice&7: &f50.000$'
Action: SHOP_AFKTIME
AfkTime: '1h'
Price: 50000
Slot: 15
ShopItem4:
DisplayName: '&f&l1 Day'
Type: PAPER
Lore:
- '&6Buy extra AFK ttime.'
- ''
- '&c➥ &6&lAFK time&7: &f1 Day'
- '&c➥ &6&lPrice&7: &f500.000$'
Action: SHOP_AFKTIME
AfkTime: '1D'
Price: 5000000
Slot: 17
#Do NOT touch
Version: 1