Click commands support PlaceholderAPI placeholders
The leaderboard_player section click commands also support the internal placeholders (%position%, %playerName%, %score%, %scorePretty%, %scoreFormatted%)
# Menu item options:# material https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html# amount Item amount (1-64)# custom_model_data Custom Model Data# display_name Item name# enchantments Uses minecraft namespace: https://www.digminecraft.com/lists/enchantment_list_pc.php# Format: enchantment;level# lore Item lore# glow (true/false) Whether to make the item appear glowing# hide_enchants (true/false) Whether to hide the item enchantments# hide_attributes (true/false) Whether to hide the item attributes (Weapons, Armor...)# hide_unbreakable (true/false) Whether to hide the unbreakable tag# hide_destroys (true/false) Whether to hide the destroys tag# hide_placed_on (true/false) Whether to hide the placed on tag# hide_potion_effects (true/false) Whether to hide the potion effects# hide_dye (true/false) Whether to hide the leather armor dye attributesmenu:# Title of the menu# Available placeholders: %board%, %refreshFrequency%, %currentPage%, %maxPages%title:"%board%: %refreshFrequency% (Page %currentPage%/%maxPages%)"rows:6# Number of leaderboard players there can be at most in the menumax_entries:100# If set to true, a menu will always# open even when there are no players to displayopen_when_empty:falsecustom_item:material:EMERALDslot:4display_name:"<!i><#C92745><b>Leaderboards"lore: - "<!i><white>These are the top" - "<!i><white>players on ranking!"leaderboard_player:# Available internal placeholders:# %position% Position in the leaderboard# %playerName% Name of the player in the leaderboard# %score% Score format: 19288.0# %scorePretty% Score format: 19288# %scoreFormatted% Score format: 19,29k # %scoreFormattedSeconds% Converts the score (in seconds) into formatted years, months, days, hours, minutes and seconds
# %scoreFormattedMinutes% Converts the score (in minutes) into formatted years, months, days, hours, minutes and seconds
# %scoreFormattedHours% Converts the score (in hours) into formatted years, months, days, hours, minutes and seconds
# %scoreFormattedDays% Converts the score (in days) into formatted years, months, days, hours, minutes and seconds
# %type% Score type (see boards section)# %scorePrefix% Score prefix (see boards section)# %scoreSuffix% Score suffix (see boards section) display_name: "<!i><#F3E9D0>#<b>%position%</b> <#ECC149>%playerName% <#6D6D6D>âĸ <#569cd6>%scorePrefix%%scoreFormatted%%scoreSuffix%"
items:close:material:BARRIERdisplay_name:<#c93434><!i>Closeslot:49click_commands:# - "[player]" # Command executed by the clicker# - "[console]" # Command executed by the console# - "[message]" # Message sent to the clicker# - "[sound] <key> [volume] [pitch]" # Sound played to the clicker: https://www.digminecraft.com/lists/sound_list_pc.php
# - "[close]" # Close menu - "[sound] ui.button.click" - "[close]"previous_page:material:ARROWdisplay_name:<#e5c07b><!i>Previous pageslot:48click_commands: - "[sound] ui.button.click" - "[previous]"fallback:material:GRAY_STAINED_GLASS_PANEdisplay_name:<gray>next_page:material:ARROWdisplay_name:<#e5c07b><!i>Next pageslot:50click_commands: - "[sound] ui.button.click" - "[next]"fallback:material:GRAY_STAINED_GLASS_PANEdisplay_name:<gray>black_filler:material:BLACK_STAINED_GLASS_PANEdisplay_name:<gray>slots: - 0 - 8 - 9 - 17 - 18 - 26 - 27 - 35 - 36 - 44 - 45 - 53gray_filler:material:GRAY_STAINED_GLASS_PANEdisplay_name:<gray>slots: - 1 - 2 - 3 - 5 - 6 - 7 - 46 - 47 - 51 - 52