PlaceholderAPI
On this page
When PlaceholderAPI is installed, NationCore registers an expansion with the
identifier nation, giving you around ninety placeholders for scoreboards,
tab lists, holograms, chat formats and anything else that reads placeholders.
- Install PlaceholderAPI.
- Start (or restart) the server.
- The console logs
PlaceholderAPI found! Registered placeholders.
No extra configuration is needed β the expansion is internal to NationCore and
does not need /papi ecloud download.
| Property | Value |
|---|---|
| Identifier | nation |
| Author | NationCore Team |
| Version | The plugin version |
| Persists across PAPI reloads | Yes |
%nation_<placeholder>%For example %nation_president%, %nation_treasury%,
%nation_order_golden_age%.
A scoreboard line:
&7President: &f%nation_president%
&7Treasury: &a$%nation_treasury%
&7Election: &e%nation_phase% &7(%nation_phase_time%)A tab-list suffix:
%nation_cabinet_position%A tax warning in chat format:
%nation_tax_status%See the Placeholders reference for every placeholder grouped by category:
- Government and cabinet
- Executive orders (including per-order status and remaining time)
- Minister decisions
- Elections
- Treasury
- Global tax system
- Player-specific values (role, stats, arena, tax)
- Placeholders that describe the player need a player context. In a console or server-wide context they return nothing.
- Time values are rendered as
2d 4h 13mstyle strings, or0swhen nothing is active. - Boolean-style placeholders return
Yes/No. - An unknown placeholder returns nothing, so a typo shows as an empty string rather than an error.