New feature adds and improvements to the code.
Before loading this new version,
delete the "gui.yml" file as it has been renewed. To load the new file where it brings the new inventory function.
Code (Text):
# [NPCAlive] - GUI
# You can only change the position of the glass panels
# To see the format of the positions visit the following link: https://i.ibb.co/8x9SzXJ/position.png
# You can add or delete a pane section, as you like.
# You can change the material, to the one you want, visit this link to know which one to choose: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
GUI:
open-npcgui:
title: '&b[&6NPCAlive&b]'
openSound: BLOCK_BEACON_ACTIVATE
items:
Pane0:
type: BLACK_STAINED_GLASS_PANE
slot: 0
Pane1:
type: BLACK_STAINED_GLASS_PANE
slot: 1
Pane2:
type: BLACK_STAINED_GLASS_PANE
slot: 2
Pane3:
type: BLACK_STAINED_GLASS_PANE
slot: 3
Pane4:
type: BLACK_STAINED_GLASS_PANE
slot: 4
Pane5:
type: BLACK_STAINED_GLASS_PANE
slot: 5
Pane6:
type: BLACK_STAINED_GLASS_PANE
slot: 6
Pane7:
type: BLACK_STAINED_GLASS_PANE
slot: 7
Pane8:
type: BLACK_STAINED_GLASS_PANE
slot: 8
Pane9:
type: BLACK_STAINED_GLASS_PANE
slot: 9
Pane18:
type: BLACK_STAINED_GLASS_PANE
slot: 18
Pane26:
type: BLACK_STAINED_GLASS_PANE
slot: 26
Pane27:
type: BLACK_STAINED_GLASS_PANE
slot: 27
Pane17:
type: BLACK_STAINED_GLASS_PANE
slot: 17
Pane35:
type: BLACK_STAINED_GLASS_PANE
slot: 35
Pane36:
type: BLACK_STAINED_GLASS_PANE
slot: 36
Pane37:
type: BLACK_STAINED_GLASS_PANE
slot: 37
Pane38:
type: BLACK_STAINED_GLASS_PANE
slot: 38
Pane42:
type: BLACK_STAINED_GLASS_PANE
slot: 42
Pane43:
type: BLACK_STAINED_GLASS_PANE
slot: 43
Pane44:
type: BLACK_STAINED_GLASS_PANE
slot: 44
interact:
type: WHITE_WOOL
name: '&fInteract'
slot: 20
description:
- ' '
- '&6LEFT CLICK &7to access'
- ' '
stay-here:
type: GRAY_WOOL
name: '&fStay here'
slot: 21
description:
- ' '
- '&6LEFT CLICK &7to access'
- ' '
follow:
type: RED_WOOL
name: '&fFollow'
slot: 22
description:
- ' '
- '&6LEFT CLICK &7to access'
- ' '
gift:
type: BLUE_WOOL
name: '&fGift'
slot: 23
description:
- ' '
- '&6LEFT CLICK &7to access'
- ' '
skin:
type: YELLOW_WOOL
name: '&fSkin'
slot: 24
description:
- ' '
- '&6LEFT CLICK &7to access'
- ' '
chest:
type: CHEST
name: '&6&lInventory'
slot: 31
description:
- ' '
- '&6NPC Inventory'
- '&6LEFT CLICK &7to access'
- ' '
relation:
type: GOLD_INGOT
name: '&fRelation Ship&7: &b%relationship%'
slot: 39
description:
- ' '
- '&6Relationship level'
- '&6with the npc'
hearts:
type: APPLE
name: '&fHearts&7: &c%hearts%'
slot: 40
description:
- ' '
- '&6The more hearts the better'
- '&6the relationship with the npc '
info:
type: IRON_INGOT
name: '&fInformation&7: &b%info%'
slot: 41
description:
- ' '