Black Friday Black Friday SALE: 40% off every resource until December 1. Shop the sale

Placeholders

The PlaceholderAPI placeholders OtPass registers.

On this page

When PlaceholderAPI is installed, OtPass registers the identifier otpass at startup. Use the placeholders in scoreboards, tab lists and holograms.

Season placeholders#

These work for everyone, also for offline players and the console.

Placeholder Shows
%otpass_season% The season name
%otpass_season_number% The season number
%otpass_season_ends% Time until the season ends
%otpass_daily_reset% Time until the daily quests change
%otpass_weekly_reset% Time until the weekly quests change
%otpass_max_tier% The number of tiers
%otpass_xp_per_tier% XP per tier

Times are written like 2d 4h, 3h 20m, 15m or 40s, using the time texts in messages.yml. A time in the past shows the time.expired text.

Player placeholders#

These need an online player whose pass has loaded. Otherwise they are empty.

Placeholder Shows
%otpass_tier% The tier of the player
%otpass_next_tier% The next tier, or the last tier at the end of the pass
%otpass_xp% Total XP
%otpass_xp_in_tier% XP in the current tier. At the last tier it shows the XP per tier.
%otpass_xp_needed% XP needed for the next tier. 0 at the last tier.
%otpass_progress_percent% Progress to the next tier, 0 to 100
%otpass_premium% yes or no, including premium from the permission
%otpass_claimable% Number of rewards that are ready to claim
%otpass_daily_done% and %otpass_daily_total% Daily quests done and active
%otpass_weekly_done% and %otpass_weekly_total% Weekly quests done and active

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.