Placeholders
Every PlaceholderAPI placeholder SeasonForge adds, and how to show another player's values.
With PlaceholderAPI installed, SeasonForge adds placeholders starting with %battlepass_. Use them in scoreboards, tab lists, holograms, chat formats and other plugins' menus. No extra expansion download is needed.
Another player's values
Add :<player> to the end of any placeholder to show someone else's value instead of the viewer's:
%battlepass_level:Notch%
%battlepass_premium_status:Steve%
%battlepass_quest_diamond_miner_progress:Alex%This works for online players, and for offline players who have joined the server before. While an offline player's data is still loading, the placeholder shows words.loading from the language file (...) for a moment. A name that never joined shows nothing.
Level and XP
| Placeholder | Shows |
|---|---|
%battlepass_level% | Current level (0 before the first level) |
%battlepass_max_level% | The season's max level |
%battlepass_next_level% | The next level, or "Max" at max level |
%battlepass_is_max_level% | Yes or No |
%battlepass_xp% | XP into the current level |
%battlepass_xp_required% | XP the next level needs, or "Max" |
%battlepass_xp_remaining% | XP still missing for the next level |
%battlepass_total_xp% | All XP earned this season |
%battlepass_progress_percentage% | Percent of the way to the next level, 0 to 100 |
%battlepass_progress_bar% | A coloured bar, set in progress-bar in config.yml |
Premium and rewards
| Placeholder | Shows |
|---|---|
%battlepass_premium% | Yes or No |
%battlepass_premium_status% | "Active" or "Not owned", from words in the language file |
%battlepass_unclaimed_rewards% | Rewards waiting to be claimed, both tracks |
%battlepass_unclaimed_free% | Free rewards waiting |
%battlepass_unclaimed_premium% | Premium rewards waiting (0 without premium) |
%battlepass_claimed_free% | Free rewards claimed this season |
%battlepass_claimed_premium% | Premium rewards claimed this season |
Quests
| Placeholder | Shows |
|---|---|
%battlepass_completed_daily_quests% | Daily quests completed today |
%battlepass_total_daily_quests% | Daily quests in the season |
%battlepass_completed_weekly_quests% | Weekly quests completed this week |
%battlepass_total_weekly_quests% | Weekly quests in the season |
%battlepass_completed_monthly_quests% | Monthly quests completed this month |
%battlepass_total_monthly_quests% | Monthly quests in the season |
%battlepass_completed_seasonal_quests% | Seasonal and never resetting quests completed |
%battlepass_total_seasonal_quests% | Seasonal and never resetting quests in the season |
%battlepass_completed_quests% | All quests completed in their current period |
%battlepass_total_quests% | All quests in the season |
%battlepass_daily_reset_in% | Time until daily quests reset |
%battlepass_weekly_reset_in% | Time until weekly quests reset |
%battlepass_monthly_reset_in% | Time until monthly quests reset |
One quest
Put the quest id from quests.yml in place of <id>:
| Placeholder | Shows |
|---|---|
%battlepass_quest_<id>_progress% | Progress so far, for example 247 |
%battlepass_quest_<id>_required% | The quest's amount |
%battlepass_quest_<id>_percentage% | Percent done, 0 to 100 |
%battlepass_quest_<id>_completed% | Yes or No |
%battlepass_quest_<id>_name% | The quest's display-name |
For example %battlepass_quest_diamond_miner_progress%.
Season
| Placeholder | Shows |
|---|---|
%battlepass_season% | The running season's id, empty when none runs |
%battlepass_season_name% | Its display-name, or "No season" |
%battlepass_season_active% | Yes or No |
%battlepass_season_start% | Start date, in date-format |
%battlepass_season_end% | End date, in date-format |
%battlepass_season_time_left% | Time until the season ends, "Never" without an end date, "Ended" once passed |
Shop
Put the shop item id from the season's shop.yml in place of <id>:
| Placeholder | Shows |
|---|---|
%battlepass_shop_<id>_purchases% | Times the player bought it in the current limit period |
%battlepass_shop_<id>_limit% | The limit, or "Unlimited" |
%battlepass_shop_<id>_remaining% | Purchases left, or "Unlimited" |
Currencies
| Placeholder | Shows |
|---|---|
%battlepass_balance_<currency>% | The player's balance in a currency from currencies.yml, as a plain number, for example %battlepass_balance_shop-points%. Online players only. |
Leaderboard
| Placeholder | Shows |
|---|---|
%battlepass_top_<position>_name% | Name at that position, - when empty |
%battlepass_top_<position>_level% | Their level |
%battlepass_top_<position>_xp% | Their XP into that level |
Positions start at 1, for example %battlepass_top_1_name%. The board ranks the running season by level, then XP, keeps leaderboard.size positions (10) and refreshes every leaderboard.refresh-interval seconds (300).
Words and formats
- Yes, No, Max, Never, Active and the rest come from the
wordssection of the language file, so they follow your language. - Times like
3d 4hfollowtime-formatinconfig.yml. - Values with colour (season name, progress bar, premium status, quest names) come back in old style colour codes by default, which most scoreboard and hologram plugins need. Set
placeholder-format: MINIMESSAGEinconfig.ymlif yours reads MiniMessage. - Placeholders read from memory, never straight from the database, so they are safe to use on busy scoreboards.
Inside SeasonForge's own menus and messages the same values are written without the battlepass_ part, like %level%. See Menus.