Add item slot - PluginsCDTribe/VexView GitHub Wiki

In version 1.8, I add the in join items function. Now (1.8.5) works perfectly and have a configuration file.

Item slot

We create a new configuration file "apple.yml" in the slots folder. The configuration file for an item slot should look like this:

#Item slot X coordinate

x: 0

#Item slot Y coordinate

y: 0

Item:

#Item Name

Name: 'Info menu'

#Item type (note, you can't use ID’s only Materials name, List of Materials: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html)

Material: IRON_SWORD

#number of items

Amount: 1

#Durability / Sub ID

Durability: 50

#lore information

Lore:

- ‘Right click’

- ‘To open the GUI’

- ‘Of servers’

Link Item and GUI

In your GUI configuration file, add:

Slot:

- 'apple' (this is the name of the file just now)