AdvancedFFA ships with a built-in PlaceholderAPI (PAPI) expansion, allowing you to showcase player stats across different plugins
Global Placeholders
These placeholders display a player's lifetime statistics across all FFA arenas and kits combined:
| Placeholder | Description | Example Output |
|---|---|---|
%ffa_kills% | Total player kills | 142 |
%ffa_deaths% | Total player deaths | 38 |
%ffa_kdr% | Overall Kill/Death ratio | 3.74 |
%ffa_playtime% | Player playtime | 14h 23m |
Per-Kit Placeholders
Track and display statistics tied to specific kits:
| Placeholder | Description | Example Output |
|---|---|---|
%ffa_kills_<kit>% | Kills using the specified kit | 96 |
%ffa_deaths_<kit>% | Deaths using the specified kit | 21 |
%ffa_playtime_<kit>% | Playtime using the specified kit | 8h 12m |
Kit ID Matching
When using per-kit placeholders, replace <kit> with the lowercase ID of the kit (e.g. %ffa_kills_nodebuff%, %ffa_playtime_gapple%).
In-Game Stats Command (/stats)
Players can check stats directly in chat using:
/stats [player]This sends a formatted breakdown showing:
- Overall Kills, Deaths, and KDR
- Total Playtime
- Per-kit performance metrics for all kits the player has used
Permission required: advancedffa.stats (true by default)
Testing Your Placeholders
To test placeholders in-game via PlaceholderAPI:
/papi parse me %ffa_kills%
/papi parse me %ffa_kdr%
/papi parse me %ffa_playtime%
/papi parse me %ffa_kills_nodebuff%