PlaceholderAPI/Tab

Hey, so I’m looking for a way for players to see how much time the have in the server. Laid out maybe like 10h 48m 34s I’m also not opposed to having days on there but that’s fine if there’s not a way. Any help appreciated 🙂
12 Replies
TheBlackMamba
TheBlackMambaOP2mo ago
Basically I’m looking for a placeholder that shows time and is compatible with tab’s scoreboard or tab
qvaras
qvaras2mo ago
%playtime_player% %playtime_time%
qvaras
qvaras2mo ago
PlaceholderAPI Wiki - Placeholder List
Community-curated list of available PlaceholderExpansions and their placeholders.
TheBlackMamba
TheBlackMambaOP2mo ago
What’s the difference between these 2 placeholders?
qvaras
qvaras2mo ago
idk, i dont use them I just sent them from the list
TheBlackMamba
TheBlackMambaOP2mo ago
Ah okay. Well thanks for the link. That should work
KKbutter2281
KKbutter22812mo ago
Note that they only work (as far as I know) with https://www.spigotmc.org/resources/26016/ Also Player is the players username while time is the playtime Use time PlaceholderAPI Placeholders: %playtime_player% - the player name %playtime_time% - shows time played​ %playtime_time_seconds% - shows time played in seconds %playtime_time_minutes% - shows time played in minutes %playtime_time_hours% - shows time played in hours %playtime_time_days% - shows time played in days %playtime_time_weeks% - shows time played in weeks %playtime_timesjoined% - shows times joined %playtime_serveruptime% - shows the uptime of the server %playtime_position% - shows the players current position %playtimetop#_name% - shows the name of the top 10 %playtimetop#_time% - shows the time of the top 10 ​
KKbutter2281
KKbutter22812mo ago
I apologize - that link is outdated - https://github.com/tbm00/PlayTime
GitHub
GitHub - tbm00/PlayTime: A spigot plugin that records players' play...
A spigot plugin that records players' playtime stats. FORK - tbm00/PlayTime
codertommy
codertommy2mo ago
%statistic_time_played% exists no separate plugin needed, just ecloud https://wiki.placeholderapi.com/users/placeholder-list/#statistic
TheBlackMamba
TheBlackMambaOP2mo ago
Question I used this and I want it to say 29h 45m 30s for example. Minutes only going up to 60. But minutes are 1763, how do I make it 60?
codertommy
codertommy2mo ago
there's a bunch of placeholders listed:
%statistic_seconds_played%
%statistic_minutes_played%
%statistic_hours_played%
%statistic_days_played%
%statistic_time_played%
%statistic_time_played:seconds%
%statistic_time_played:minutes%
%statistic_time_played:hours%
%statistic_time_played:days%
%statistic_seconds_played%
%statistic_minutes_played%
%statistic_hours_played%
%statistic_days_played%
%statistic_time_played%
%statistic_time_played:seconds%
%statistic_time_played:minutes%
%statistic_time_played:hours%
%statistic_time_played:days%
i'd be willing to bet some of them wrap and some of them don't, try seeing what they do
TheBlackMamba
TheBlackMambaOP2mo ago
Time_played worked Thanks for the help

Did you find this page helpful?