Skip to main content

Internal Placeholders

EcoBattlepass offers a lot of internal placeholders that you can use in your lore and display names for BattlePasses, Categories, and Quests.

Rather than cluttering the config.yml, this is a dedicated page for all the internal placeholders for config.yml.

BattlePass & Category GUI

PlaceholderDescriptionOptions
%pass%The battlepass nameadd _id for the battlepass ID
%pass_type%The type of pass the player has (Free/Premium)
%start_date%The date the battlepass starts
%end_date%The date the battlepass ends
%tier%The battlepass tier/leveladd _numeral for numerals
%tier_x%The battlepass tier +/- x levels. E.g. %tier_-5% is current tier minus 5add _numeral for numerals
%claimable_tiers%The amount of unclaimed tiers.
%max_tiers%The max amount of tiers in the pass
%current_bp_xp%The current tier XPadd _formatted for commas
%required_bp_xp%The XP required for the tieradd _formatted for commas
%current_task_xp%The current task XPadd _formatted for commas
%required_task_xp%The XP required for the taskadd _formatted for commas
%percentage_progress%The percentage of the tier XP progress

BattlePass Tiers GUI

All the placeholders from BattlePass GUI work here. Additionally:

PlaceholderDescriptionOptions
%free-rewards%The free rewards for the tieradd claimed- prefix for claimed free rewards
%premium-rewards%The premium rewards for the tieradd claimed- prefix for claimed premium rewards

Quest GUI

PlaceholderDescriptionOptions
%category_name%Name of the categoryadd _id for the category ID
%pass%Name of the battlepassadd _id for the battlepass ID
%completed%Number of quests completed in the category
%total%Total number of quests in the category
%time%Time until the category start/reset/end

Tasks Lore

PlaceholderDescriptionOptions
%task%The name of the taskadd _id for the task ID
%current_task_xp%Player's current XP in the taskadd _formatted for commas
%required_task_xp%XP required to complete the taskadd _formatted for commas

Other Internal Placeholders

PlaceholderDescriptionOptions
%level%The battlepass tierUseful for math inside battlepass config
%page%The page numberAvailable in Category and Quest GUIs
%category%The category nameAvailable for Quest GUI title