Skip to content

Placeholders

TippieCodes edited this page Jun 25, 2022 · 2 revisions

CustomAdvancements has PlaceholderAPI support, if you have PlaceholderAPI installed you can use the following placeholders in any plugin that supports PlaceholderAPI Placeholders.

Paths

The paths of advancements are quite simple, namely tree.advancement.

%customadvancements_available_advancements% - Displays the number of available advancements for the player
%customadvancements_available_advancements_<tree>% - Displays the number of available advancements for a specific advancement tree
%customadvancements_completed_advancements% - Displays the number of completed advancements.
%customadvancements_completed_advancements_<tree>% - Displays the number of completed advancements for a specific advancement tree.
%customadvancements_active_advancements% - Displays the number of active advancements.
%customadvancements_active_advancements_<tree>% - Displays the number of active advancements for a specific advancement tree.
%customadvancements_progress_percentage_<path>% - Displays the progression in percentages for a specific path (e.g. example.advancement1).
%customadvancements_progress_<path>% - Displays the progress made for a specific advancement path.
%customadvancements_max_progress_<path>% - Displays the maximum progress for a specific advancement path.
%customadvancements_meet_requirements_<path>% - Displays either true or false depending if the player meets all requirements for a specific advancement path.