If you want to define items coming from another plugin, you must use a console commandaction to give the item to your player. You can also convert the item to base64 with the command /zm save
########################################################################################################################
#
# ██╗░░██╗██╗████████╗░██████╗
# ██║░██╔╝██║╚══██╔══╝██╔════╝
# █████═╝░██║░░░██║░░░╚█████╗░
# ██╔═██╗░██║░░░██║░░░░╚═══██╗
# ██║░╚██╗██║░░░██║░░░██████╔╝
# ╚═╝░░╚═╝╚═╝░░░╚═╝░░░╚═════╝░
#
# Documentation: https://zessentials.groupez.dev/modules/kits
#
########################################################################################################################
enable: true
# Change the display of the kits
#
# IN_LINE: Displays a message with the list of kits on the same line
# INVENTORY: Displays the kits in an inventory
# MULTI_LINE: Displays a message with a header and footer (optional) and a message per kits
display: IN_LINE
# Gives kits when the player joins the server for the first time
kits-on-first-join:
- "tools"
Kits.yml
name: "#3f3f3fᴋɪᴛs"
size: 27
items:
tools:
slot: 11
type: ZESSENTIALS_KIT_COOLDOWN
kit: "tools"
update: true
refreshOnClick: true
item:
material: IRON_PICKAXE
name: '&fᴋɪᴛ&8: #c1c1c3ɪʀᴏɴ ᴛᴏᴏʟs'
lore:
- ''
- '#ffd353ℹ Informations#3f3f3f:'
- '#3f3f3f• &7Cooldown#3f3f3f: #4cd5ff%cooldown%'
- ''
- '&f➥ <st>&nLeft Click&r&7 to get the kit'
- '&f➦ &nRight Click&r&7 to view the contents'
else:
type: ZESSENTIALS_KIT_GET
kit: "tools"
closeInventory: true
item:
material: IRON_PICKAXE
name: '&fᴋɪᴛ&8: #c1c1c3ɪʀᴏɴ ᴛᴏᴏʟs'
lore:
- ''
- '#ffd353ℹ Informations#3f3f3f:'
- '#3f3f3f• &7Cooldown#3f3f3f: #43ff15Available !'
- ''
- '&f➥ &nLeft Click&r&7 to get the kit'
- '&f➦ &nRight Click&r&7 to view the contents'
else:
item:
material: IRON_PICKAXE
name: '&fᴋɪᴛ&8: #c1c1c3ɪʀᴏɴ ᴛᴏᴏʟs'
lore:
- ''
- '#ffd353ℹ Informations#3f3f3f:'
- "#3f3f3f• #ff0000You don't have permission"
- ''
- '&f➥ <st>&nLeft Click&r&7 to get the kit'
- '&f➦ &nRight Click&r&7 to view the contents'
food:
slot: 13
type: ZESSENTIALS_KIT_COOLDOWN
kit: "food"
update: true
refreshOnClick: true
item:
material: COOKED_BEEF
name: '&fᴋɪᴛ&8: #c1c1c3ғᴏᴏᴅ'
lore:
- ''
- '#ffd353ℹ Informations#3f3f3f:'
- '#3f3f3f• &7Cooldown#3f3f3f: #4cd5ff%cooldown%'
- ''
- '&f➥ <st>&nLeft Click&r&7 to get the kit'
- '&f➦ &nRight Click&r&7 to view the contents'
else:
type: ZESSENTIALS_KIT_GET
kit: "food"
closeInventory: true
item:
material: COOKED_BEEF
name: '&fᴋɪᴛ&8: #c1c1c3ғᴏᴏᴅ'
lore:
- ''
- '#ffd353ℹ Informations#3f3f3f:'
- '#3f3f3f• &7Cooldown#3f3f3f: #43ff15Available !'
- ''
- '&f➥ &nLeft Click&r&7 to get the kit'
- '&f➦ &nRight Click&r&7 to view the contents'
else:
item:
material: COOKED_BEEF
name: '&fᴋɪᴛ&8: #c1c1c3ғᴏᴏᴅ'
lore:
- ''
- '#ffd353ℹ Informations#3f3f3f:'
- "#3f3f3f• #ff0000You don't have permission"
- ''
- '&f➥ <st>&nLeft Click&r&7 to get the kit'
- '&f➦ &nRight Click&r&7 to view the contents'
fight:
slot: 15
type: ZESSENTIALS_KIT_COOLDOWN
kit: "fight"
update: true
refreshOnClick: true
item:
material: DIAMOND_SWORD
name: '&fᴋɪᴛ&8: #c1c1c3ғɪɢʜᴛ'
lore:
- ''
- '#ffd353ℹ Informations#3f3f3f:'
- '#3f3f3f• &7Cooldown#3f3f3f: #4cd5ff%cooldown%'
- ''
- '&f➥ &nLeft Click&r&7 to get the kit'
- '&f➦ &nRight Click&r&7 to view the contents'
else:
type: ZESSENTIALS_KIT_GET
kit: "fight"
closeInventory: true
item:
material: DIAMOND_SWORD
name: '&fᴋɪᴛ&8: #c1c1c3ғɪɢʜᴛ'
lore:
- ''
- '#ffd353ℹ Informations#3f3f3f:'
- '#3f3f3f• &7Cooldown#3f3f3f: #43ff15Available !'
- ''
- '&f➥ &nLeft Click&r&7 to get the kit'
- '&f➦ &nRight Click&r&7 to view the contents'
else:
item:
material: DIAMOND_SWORD
name: '&fᴋɪᴛ&8: #c1c1c3ғɪɢʜᴛ'
lore:
- ''
- '#ffd353ℹ Informations#3f3f3f:'
- "#3f3f3f• #ff0000You don't have permission"
- ''
- '&f➥ <st>&nLeft Click&r&7 to get the kit'
- '&f➦ &nRight Click&r&7 to view the contents'