A simple server-side mod that tracks how long players have been playing on your server. Check your own playtime, see daily stats, look back at the last week, or see who's been grinding the most on the leaderboard.
Works great for SMPs and community servers where you want to keep track of who's putting in the hours.
| Command | Description |
|---|---|
/playtime |
Shows your total playtime and current session |
/playtime today |
Shows how long you've played today |
/playtime day <YYYY-MM-DD> |
Shows your playtime on a specific date |
/playtime history |
Shows your playtime for the last 7 days |
/playtime leaderboard |
Shows the top 10 players by playtime |
| Command | Description |
|---|---|
/playtime <player> |
Check another player's total playtime |
/playtime <player> today |
Check their playtime today |
/playtime <player> history |
Check their last 7 days |
/playtime <player> day <YYYY-MM-DD> |
Check their playtime on a specific date |
When a player joins the server, the mod starts tracking their time. When they leave, it takes how long they were on and saves it to a JSON file in your world folder. The mod auto-saves every 5 minutes so if the server crashes, you will only lose a few minutes of data at most.
All times are displayed in Eastern Time (America/New_York) by default.
mods folderSupported Versions: Minecraft 1.21.1 (NeoForge)
Any concerns or questions: Leave a comment and I'll check it out.