Overview
Guide through GUIs and its configuration.
GUIs are frequently used in this plugin to offer an appealing interface for players to use.
Examples of these are Island Creation, Raiding and the Obelisk.
We offer extensive customization over the appearance of these GUIs.
Warning
Different types of GUIs have different placeholders for certain items
Make sure to always read the comments in every file while editing!
Example GUI Config
The below config is the Island Creation confirmation GUI.
GUI "Layout"
You can customise how large the GUI is and what items are in each slot.
Each "entry" / line is a new row in the GUI.
There can only be a maximum of 54 slots in the inventory, in the form of 6 rows of 9 slots.
You cannot have rows of different lengths.
Each letter corresponds to a new item.
The char
variable corresponds to the character in the layout
variable (See items for more information).
If you specify a character that does not have a mapped item, it will be an empty slot. (In this case we use .
)
GUI Items
Each item in the GUI is defined in the items
section.
These all vary for each GUI.
Each aspect of the item can be customised, including the material, text, sound and lore.\
char
- The character in the layout
variable that this item corresponds to.
material
- The material of the item. It must be a valid material, according to the Material Enum.
skull
- You can set custom skull textures, assuming the material is PLAYER_HEAD
. You should paste the skin texture value (Base64). See Custom Skulls for more information.
text
- You can modify the display name of the item. This supports the MiniMessage Format and (PlaceholderAPI) placeholders.
sound
- This allows you to trigger a sound when the item is clicked. This supports both custom sound identifiers, and the built in sound effects.
pitch
- This is the pitch of the sound
variable, if configured.
lore
- This is the lore of the item. Each new entry for the variable is a new line of lore. Like the text
variable, it supports the MiniMessage format.