Repository navigation
PlaceholderAPI
Lord_Lofi edited this page Apr 18, 2026
·
1 revision
LofiBox registers a PlaceholderAPI expansion automatically on startup if PAPI is installed. No /papi ecloud download is needed.
| Placeholder | Description | Example Output |
|---|---|---|
%lofibox_total_opened% |
Total number of boxes opened by the player across all types | 42 |
%lofibox_opened_<boxId>% |
Number of boxes of a specific type opened by the player | 7 |
%lofibox_total_opened%
%lofibox_opened_example%
%lofibox_opened_mythic%
%lofibox_opened_legendary%
lines:
- "&7Crates Opened: &f%lofibox_total_opened%"
- "&7Mythic Opens: &f%lofibox_opened_mythic%"PAPI placeholders are parsed inside action strings, so you can use them in [console] commands:
actions:
- "[console] reward give {player} crate_bonus_%lofibox_total_opened%"{lofibox_total_opened} crates opened
Opened counts are stored per-player in plugins/LofiBox/stats/<uuid>.yml and are loaded on first access, then cached in memory and flushed to disk on server shutdown.