menu.yml
Menu options
You can use PlaceholderAPI and local placeholders found in Menu Placeholders
Main Menu options
Title
title: TEXTThe menu title. Format: https://docs.advntr.dev/minimessage/format.html
Rows
rows: NUMBER # 1 - 6The number of rows the menu should have (1 to 6).
Open When Empty
open_when_empty: BOOLEAN # true / falseWhether to open the menu even if there are no players to display.
Leaderboard
leaderboard_item:
display_name: "TEXT"
# ...Define how a leaderboard looks in the menu.
Menu options
Title
The menu title. Format: https://docs.advntr.dev/minimessage/format.html
Rows
The number of rows the menu should have (1 to 6).
Max Entries
The maximum number of entries allowed in a menu (above 0).
Open When Empty
Whether to open the menu even if there are no players to display.
Refresh Cooldown
Cooldown to use the REFRESH click command in milliseconds Set to 0 to disable
Leaderboard Player
Define how a leaderboard player item looks in the menu.
Items
Syntax
This is the common syntax for creating items. Below are the explanations for each option.
Custom Model Data
The custom model data for the item. Used with custom resource packs.
Leather Color
The RGB colors in leather armor. Format: R,G,B (values separated by a comma)
Amount
The item's amount. Default: 1. Max: 99
Display Name
The item display name. Uses MiniMessage format: https://docs.advntr.dev/minimessage/format.html
Lore
The item lore. Uses MiniMessage format: https://docs.advntr.dev/minimessage/format.html
Enchantments
The item enchantments. https://www.digminecraft.com/lists/enchantment_list_pc.php
Item Flag
The item flags. https://jd.papermc.io/paper/1.20.4/org/bukkit/inventory/ItemFlag.html
Alternative:
Hide Tooltip
Whether the item should hide its tooltip completely.
Glow
Whether the item should glow.
Click Commands
PLAYER
Command without "/"
Executes a command as the player
"[PLAYER] help"
CONSOLE
Command without "/"
Executes a command from the console
"[CONSOLE] give %player_name% minecraft:diamond 1"
CHAT
Message
Sends a chat message as the player
"[CHAT] Hey there!"
MESSAGE
Message
Sends a message to the player
"[MESSAGE] Hey %player_name%!"
SOUND
Key: https://www.digminecraft.com/lists/sound_list_pc.php Volume (optional): A float number >= 0 Pitch (optional): A float number, 0.0 - 2.0
Sends a sound effect to the player
"[SOUND] entity.generic.explode" "[SOUND] entity.generic.explode 1.0" "[SOUND] entity.generic.explode 1.0 2.0"
CLOSE
-
Closes the menu
"[CLOSE]"
PREVIOUS
-
Goes to the previous menu page
"[PREVIOUS]"
NEXT
-
Goes to the next menu page
"[NEXT]"
FIRST
-
Goes to the first menu page
"[FIRST]"
LAST
-
Goes to the last menu page
"[LAST]"
[SEARCH]
Input: double SCORE ABOVE SCORE BELOW SCORE EQUALS Input: integer POSITION ABOVE POSITION BELOW POSITION EQUALS Input: string NAME CONTAINS NAME CONTAINS IGNORECASE NAME EQUALS NAME EQUALS IGNORECASE Optional, if omitted, will use NAME CONTAINS IGNORECASE
Opens a sign as an input mean and displays the matched players based on the criteria (defined in data) IGNORECASE: the input is case-insensitive
"[SEARCH]" "[SEARCH] NAME EQUALS IGNORECASE"
[RESETSEARCH]
-
Resets search filters used in [SEARCH]
"[RESETSEARCH]"
[REFRESH]
-
Reloads entry values and updates placeholders
"[REFRESH]"
Slotted Items
Items that have slots associated with them. Found in:
menu.yml > menu > items
boards.yml > boards > [board] > custom_items
Material
The item material. https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
Supported skull material values:
Slot(s)
Multiple slots:
Ranged slots:
The slots the item should be in, first slot is 0. Max: 53 (with 6 menu rows)
Leaderboard Player Items
Custom material, glow, and enchantments are not supported. You can use placeholders found in Leaderboard Player Specific Placeholders
Last updated