Menu Placeholders
Menu templates use %key% syntax. The placeholder pipeline resolves keys through a hierarchical PlaceholderContainer in this order:
Layout item context (if inside a layout)
Variables (
var.*)Parameters (
param.*)Player (
player.*)Server (
server.*)Global variables (
global.*)Number formatter (
format.*)PlaceholderAPI fallback (any unresolved key)
player.*
Properties of the player who has the menu open.
Placeholder | Description |
|---|---|
| In-game name |
| UUID string |
| Current health (double) |
| Maximum health |
| Food level (0–20) |
| XP level |
| XP progress within the current level (0.0–1.0) |
| Network latency in milliseconds |
| Current world name |
| X coordinate |
| Y coordinate |
| Z coordinate |
| Helmet display name (or empty) |
| Chestplate display name |
| Leggings display name |
| Boots display name |
| Main-hand item display name |
| Off-hand item display name |
server.*
Properties of the current server.
Placeholder | Description |
|---|---|
| Server ID from |
| Server group |
| Environment label (e.g. |
| Server hostname |
| Server port |
param.*
Parameters passed when the menu was opened.
Inside the menu:
%param.tab% → weapons
var.*
Local menu variables. Updated at runtime via set-variable.
layout.<id>.*
Pagination and size information for a layout. Replace <id> with the layout key.
Placeholder | Description |
|---|---|
| Current page index (0-based) |
| Total page count |
| Total number of items |
| Item index within the full provider (inside a layout item) |
global.*
Global variables registered from outside the menu (e.g. by other plugins).
format.*
Number formatting. Syntax: %format.number:<value>.<decimals>%
Produces e.g. Balance: 1,234.56.
PlaceholderAPI Fallback
Any placeholder not resolved by the internal pipeline is passed to PlaceholderAPI. This means all standard PAPI expansions (%vault_balance%, %luckperms_prefix%, etc.) work inside menus without any configuration.