Hi !
To allow for better integration with custom GUIs and to provide more feedback to players, I would like to suggest the addition of several new placeholders for PlaceholderAPI.
These placeholders would help track a player's current progress and, more importantly, check the status of their rewards.
Suggested Placeholders
1. Joinstreak Tracking
-
%PTM_joinstreak_current%: Displays the current joinstreak count of the player.
-
%PTM_joinstreak_current_<nickname>%: Displays the current joinstreak count of a specific player (useful for leaderboards or staff inspection).
2. Reward Status (Boolean)
These would return true or false, which is extremely useful for conditional formatting in menus (e.g., showing a green item if claimed, a red one if not).
-
%PTM_joinstreak_hasreward_<reward_number>%: Returns whether the player has already validated/claimed the specific joinstreak reward.
-
%PTM_goal_hasreward_<reward_name>%: Returns whether the player has already reached and claimed the specific playtime goal reward.
Use Case Examples
In a Menu: A server owner can use these placeholders to change the lore of an item. If %PTM_goal_hasreward_veteran% is true, the lore displays "&a[Claimed]"; if false, it displays "&c[Locked]".
Social/Competition: Showing the joinstreak of a friend or rival via the targeted nickname placeholder.
Best regards,
Crazy_Geek
Hi !
To allow for better integration with custom GUIs and to provide more feedback to players, I would like to suggest the addition of several new placeholders for PlaceholderAPI.
These placeholders would help track a player's current progress and, more importantly, check the status of their rewards.
Suggested Placeholders
1. Joinstreak Tracking
%PTM_joinstreak_current%: Displays the current joinstreak count of the player.%PTM_joinstreak_current_<nickname>%: Displays the current joinstreak count of a specific player (useful for leaderboards or staff inspection).2. Reward Status (Boolean)
These would return
trueorfalse, which is extremely useful for conditional formatting in menus (e.g., showing a green item if claimed, a red one if not).%PTM_joinstreak_hasreward_<reward_number>%: Returns whether the player has already validated/claimed the specific joinstreak reward.%PTM_goal_hasreward_<reward_name>%: Returns whether the player has already reached and claimed the specific playtime goal reward.Use Case Examples
In a Menu: A server owner can use these placeholders to change the lore of an item. If
%PTM_goal_hasreward_veteran%istrue, the lore displays "&a[Claimed]"; iffalse, it displays "&c[Locked]".Social/Competition: Showing the joinstreak of a friend or rival via the targeted nickname placeholder.
Best regards,
Crazy_Geek