Placeholders
All placeholders require PlaceholderAPI and use the %snelementalgems_ prefix.
Balance and upgrade placeholders resolve against the requesting player. Leaderboard placeholders read a cached snapshot. Shop stock placeholders are the same for every player.
| Placeholder | Description |
|---|---|
%snelementalgems_balance% | Your raw gem balance |
%snelementalgems_balance_formatted% | Your balance grouped, with decimals per config |
%snelementalgems_balance_compact% | Your balance in compact form (k, M, B, T, P) |
%snelementalgems_rank% | Your position on the gem leaderboard (0 when unranked) |
%snelementalgems_top_<n>_name% | Player name at leaderboard position <n>, for example %snelementalgems_top_1_name% |
%snelementalgems_top_<n>_value% | Balance at leaderboard position <n>, for example %snelementalgems_top_1_value% |
%snelementalgems_upgrade_<type>_level% | Your level of upgrade <type>: fortune, luck, discount, charity, or execution |
%snelementalgems_stock_<category>_<reward>% | Units left of a shop reward until the next restock, for example %snelementalgems_stock_crates_legendary-key% |
%snelementalgems_stock_max_<category>_<reward>% | Units per restock of a shop reward |
%snelementalgems_restock_in% | Time until the next scheduled shop restock, for example 2d 5h 13m |
For a reward without a stock limit, both stock placeholders show the status.unlimited word from the language file. <category> and <reward> are the ids from shops.yml. The three shop stock placeholders are global: they read the same for every player and also resolve with no player at all (console, global holograms, Discord bridges).