Global Stats Board
A read-only menu showing live data via PlaceholderAPI. The top row displays per-player stats (kills, deaths, hours played), the bottom row shows server-wide info (online count, time, TPS, current world). Values refresh every second thanks to updateInterval: 20 (20 ticks = 1 second).
What it teaches
Section titled “What it teaches”- The
updateIntervalfield for live menu refresh - PlaceholderAPI integration:
%statistic_*%,%server_*%,%player_*% - Mixing per-player and server-wide data in one menu
- Custom skull textures via the
texture:field on PLAYER_HEAD
How updateInterval works
Section titled “How updateInterval works”updateInterval: 20 tells the menu to re-evaluate placeholders every 20 server ticks (1 second). On each tick, every item’s name: and lore: get re-rendered with current placeholder values. Players see counts increment in real time without closing/reopening.
For static menus this field is unnecessary - they only render once on open. For dashboards with constantly-changing values (stats, online count), it’s essential.
Set this too low (e.g. 1 = every tick = 50ms) and you’ll see CPU spikes from placeholder evaluation. 20 (1s) or 40 (2s) is the sweet spot for human-readable refresh.
Placeholder requirements
Section titled “Placeholder requirements”This menu uses PlaceholderAPI placeholders from several expansions:
%statistic_*%- PlaceholderAPI’s Statistic expansion. Install with/papi ecloud download Statistic.%server_*%- PlaceholderAPI’s built-in server placeholders. No extra expansion needed.%player_*%- PlaceholderAPI’s built-in player placeholders. No extra expansion needed.
If a placeholder isn’t resolved, it’ll render as the literal %xxx% string in the menu - that’s a sign the expansion isn’t installed.
Adding more stats
Section titled “Adding more stats”Pick a placeholder from the PlaceholderAPI cloud and drop it into a new item’s lore. The menu will pick up the live value on next refresh.
For per-player vars from this plugin (not PAPI), use the %varp_:name:default% form - see the Counter & Toggle example.
Try it
Section titled “Try it”After installing the example pack:
- Install PlaceholderAPI and the Statistic expansion (
/papi ecloud download Statistic). - Drop the bundle into
plugins/AbstractMenus/menus/example/. /am reload.- Type
/ame_statsin-game. Watch the values refresh once per second.