primaxbr and it registers automatically on startup — no manual download or /papi ecloud download command needed.
PlaceholderAPI must be installed before PrimaxBattleRoyaleX starts. Once both plugins are present, the
primaxbr expansion registers itself with no extra steps required.Available Placeholders
General Statistics
Solo Mode Statistics
Squad Mode Statistics
Deathmatch Statistics
Session / Status
Calculation Notes
Understanding how placeholder values are computed helps you display accurate stats and anticipate edge cases. K/D Ratio (%primaxbr_kd% / %primaxbr_kdr% / %primaxbr_killdeathsratio%)
- If the player has 0 deaths, the placeholder returns their total kill count (no division by zero).
- Otherwise: Kills ÷ Deaths, formatted to 2 decimal places (e.g.,
2.80).
%primaxbr_total_winrate% / %primaxbr_solo_winrate% / %primaxbr_squad_winrate%)
- Calculated as (Wins ÷ Total Matches) × 100, formatted to 2 decimal places.
- Returns
0.00if the player has played no matches in that category.
- If a player has no stored data (never played), all placeholders return
"0". - If a player is offline, all placeholders return an empty string
"".
Usage Examples
The examples below show how to wireprimaxbr placeholders into common PAPI-compatible plugins.
Troubleshooting
Placeholders are showing as literal text (e.g., %primaxbr_kills%)
Placeholders are showing as literal text (e.g., %primaxbr_kills%)
The placeholder is not being parsed. Work through these checks in order:
- Confirm PlaceholderAPI is installed — run
/pluginsin-game and look forPlaceholderAPIhighlighted in green. - Check the expansion is registered — run
/papi listand look forprimaxbrin the output. If it is missing, see the next accordion. - Test parsing directly — run
/papi parse me %primaxbr_kills%. If this returns a number, the placeholder itself works and the issue is with your other plugin’s PAPI hook. - Verify the other plugin supports PAPI — not every plugin that accepts text also parses PAPI placeholders. Check that plugin’s documentation for PAPI support.
All placeholders return 0
All placeholders return 0
The expansion is registered correctly but no data is being found for the player.
- Player data may not be loaded yet — this can happen on fresh joins. Ask the player to fully disconnect and reconnect, then retest.
- Verify the data file exists — check that
plugins/PrimaxBattleRoyaleX/data.ymlis present on your server. If it is missing, the plugin may not have initialised correctly; check your console for errors on startup. - New players — a brand-new player who has never played a match will legitimately return
0for all stat placeholders. This is expected behaviour.
Expansion not registering (missing from /papi list)
Expansion not registering (missing from /papi list)
The
primaxbr expansion registers during PrimaxBattleRoyaleX’s startup sequence. If it is absent:- Load order — PlaceholderAPI must be present and fully enabled before PrimaxBattleRoyaleX initialises. Check your startup log to confirm PlaceholderAPI loads first.
- Check the console — a successful registration prints
✓ PlaceholderAPI expansion registeredto the console. Search your latest log for this line. - Reload PlaceholderAPI — run
/papi reloadto force re-registration, then check/papi listagain. - Restart the server — a full server restart (not
/reload) is the most reliable way to ensure correct plugin load order.