Skip to content
Aithor Dev

PlaceholderAPI

On this page

PlaceholderAPI

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.

Setup

  1. Install PlaceholderAPI.
  2. Start (or restart) the server.
  3. 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

Format

Text
%nation_<placeholder>%

For example %nation_president%, %nation_treasury%, %nation_order_golden_age%.

Quick examples

A scoreboard line:

Text
&7President: &f%nation_president%
&7Treasury: &a$%nation_treasury%
&7Election: &e%nation_phase% &7(%nation_phase_time%)

A tab-list suffix:

Text
%nation_cabinet_position%

A tax warning in chat format:

Text
%nation_tax_status%

Full list

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)

Notes

  • 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 13m style strings, or 0s when 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.

Search documentation

    Type to start searching.