Repository navigation
Placeholders
natan307 edited this page Nov 15, 2026
·
1 revision
Command+ has its own placeholders that work without any other plugin. If PlaceholderAPI is installed, its placeholders are processed too.
| Placeholder | Value |
|---|---|
%player_name% |
Player name |
%player_displayname% |
Display name |
%player_uuid% |
UUID |
%player_world% |
World name |
%player_x% %player_y% %player_z%
|
Block coordinates |
%player_health% |
Health, rounded |
%player_food% |
Hunger level |
%player_level% |
Experience level |
%player_ping% |
Ping in ms |
%player_gamemode% |
Game mode in lowercase |
%online% |
Players online |
%max_players% |
Max players |
%server_name% |
Server name |
%date% |
Date, YYYY-MM-DD
|
%time% |
Time, HH:mm:ss
|
| Command or setting | Whose values |
|---|---|
/lore add, /lore set, /lore insert
|
The player running the command |
/itemname |
The player running the command |
/alert |
Each online player sees their own values |
/actionbar |
Each receiving player sees their own values |
/countdown end message |
Each online player |
/staffchat and staffchat.format
|
The sender |
/fakejoin, /fakeleave
|
The command sender (console has no player values) |
Placeholders in lore and item names are resolved once when you run the command. They are text afterwards and do not update.
/lore add &7Owned by &e%player_name%
/alert &6Welcome! | &7%online% players online
/actionbar all &bServer time: %time%
When PlaceholderAPI is present, expansions such as %vault_eco_balance% are resolved in the same places. Install the expansion you need with /papi ecloud download <name> and /papi reload.
&a, &l and so on work everywhere text is accepted. Hex colors use &#rrggbb, for example &#ff8800.