Menu
This page has all of the information related to colors.yml file.
📝 Example configuration:
# All text value supports MiniMessage and Legacy format.
# Available click values:
# - NONE (default)
# - DESPAWN
# - NEXT_PAGE
# - PREVIOUS_PAGE
# - CLOSE
# Pets appears in free slots
menu:
title: "<gradient:#ae00f2:#be5cff:#ae00f2><bold>AfroPets2 | Select pet"
rows: 5
status:
no_permission: "<red>You don't have permissions for this pet!"
can_use: "<green>Click to select your pet!"
slots:
filler:
slots: "36-44"
material: "BLACK_STAINED_GLASS_PANE"
name: ""
despawn_icon:
slots: "40"
click: "DESPAWN"
material: "BARRIER"
name: " "
lore:
- " <#ff0500>ᴄʟɪᴄᴋ ᴛᴏ ᴅᴇsᴘᴀᴡɴ ᴘᴇᴛ "
- " "
next_page_icon:
slots: "43"
click: "NEXT_PAGE"
material: "ARROW"
name: " "
lore:
- " <green>ɴᴇxᴛ ᴘᴀɢᴇ "
- " "
previous_page_icon:
slots: "37"
click: "PREVIOUS_PAGE"
material: "ARROW"
name: " "
lore:
- " <red>ᴘʀᴇᴠɪᴏᴜs ᴘᴀɢᴇ "
- " "
Pets appears in all free slots in your menu!
Material must be match with Java Docs | Materials!
🖱️ Available Click values
NONE
DESPAWN
NEXT_PAGE
PREVIOUS_PAGE
CLOSE
🔢 Multiple slots
You can add slot configuration to multiple slots, all you need to do is separate the slot values with commas. Additionally, you can fill slots X to Y using a dash! Examples:
slots: "1-2"
slots: "1,2"
slots: "1-2,4"
slots: "1,2,4"
slots: "1-2,4-5"
slots: "1-2,4-5,7-8,10-11,13"
🎨 Custom model data and skull texture
Syntax:
material: "MATERIAL:VALUE"
If the MATERIAL
is set to PLAYER_HEAD
, the value after the colon will be treated as the head texture. However, in any other case, the value after the colon will indicate the CustomModelData value.
You can use CustomModelData for all Materials!
Last updated