Skip to content

Placeholders

zDailyQuests ships a PlaceholderAPI expansion so quest info can show up anywhere placeholders work, chat, scoreboards, tab lists, holograms and more.

The expansion registers itself automatically when PlaceholderAPI is on the server. You will see this line in the console on boot:

[zDailyQuests] Hooked into PlaceholderAPI, %zdailyquests_...% placeholders are live.

If PlaceholderAPI is not installed, the plugin skips the hook quietly and everything else runs as normal. The placeholders simply will not resolve.

PlaceholderReturnsExample
%zdailyquests_completed%quests done in the current set3
%zdailyquests_total%quests in the set5
%zdailyquests_bonus%the all-five bonus state: ready, claimed or lockedready
%zdailyquests_time_left%time until the set resets5h 32m

Each quest slot has its own set. n starts at 1 and goes up to your quests-per-player.

PlaceholderReturnsExample
%zdailyquests_quest_n_name%the quest’s display nameDestroyer I
%zdailyquests_quest_n_progress%current progress, whole number240
%zdailyquests_quest_n_target%the goal amount500
%zdailyquests_quest_n_status%the phase: not-started, in-progress, completed-unclaimed or completedin-progress

So %zdailyquests_quest_1_name% is the first quest’s name, %zdailyquests_quest_2_progress% is the second quest’s progress, and so on.

With PlaceholderAPI installed, use its parse command on yourself:

/papi parse me %zdailyquests_completed%
/papi parse me %zdailyquests_quest_1_name%

The value should match what you see when you open /dq.