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
Basically I’m looking for a placeholder that shows time and is compatible with tab’s scoreboard or tab
%playtime_player% %playtime_time%
PlaceholderAPI Wiki - Placeholder List
Community-curated list of available PlaceholderExpansions and their placeholders.
What’s the difference between these 2 placeholders?
idk, i dont use them
I just sent them from the list
Ah okay. Well thanks for the link. That should work
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
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
%statistic_time_played% exists
no separate plugin needed, just ecloud
https://wiki.placeholderapi.com/users/placeholder-list/#statistic
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?
there's a bunch of placeholders listed:
i'd be willing to bet some of them wrap and some of them don't, try seeing what they do
Time_played worked
Thanks for the help