โฑ๏ธ Playtime by MarciGamer98
A lightweight server-side mod for tracking and displaying playtime statistics โ featuring a leaderboard, online/offline lookup, and clickable pagination.
๐ Features
View your own playtime
With /playtime, every player can check their current playtime directly in chat โ displayed in a clean, color-coded box.
Look up any player's playtime
With /playtime <name>, you can check the playtime of any player โ even if they're currently offline. The mod reads directly from the server's player statistics files instead of relying solely on the online player list.
Playtime leaderboard with pagination
/playtime top shows a complete leaderboard of all players (online and offline), sorted by playtime. The list is paginated (10 entries per page) and can be navigated via clickable "ยซ Back" / "Next ยป" buttons in chat โ no scrolling required.
Your own position is always visible
If you're not on the currently displayed page, your own ranking is additionally shown at the bottom โ so you always know where you stand without clicking through every page.
๐ ๏ธ Command Overview
| Command |
Description |
/playtime |
Shows your own playtime |
/playtime <name> |
Shows the playtime of any player (online or offline) |
/playtime top |
Shows page 1 of the playtime leaderboard |
/playtime top <page> |
Shows a specific page of the leaderboard |
โ๏ธ Technical Details
|
|
| Minecraft Version |
1.21.1 |
| Mod Loader |
NeoForge |
| Side |
Server only (not required on client) |
| Dependencies |
None |
| Data Source |
Vanilla player statistics (minecraft:play_time) |
The mod relies exclusively on vanilla statistics data โ no additional tracking system is required, and existing playtime is preserved when adding the mod to an existing world.
๐ฌ Contact & Support
For questions, suggestions, or bug reports, feel free to reach out via Discord:
Discord: MarciGamer98
This mod was originally developed for the BuddelTech modpack and works standalone on any NeoForge server.
ยฉ MarciGamer98 | Discord: MarciGamer98 | CurseForge: https://www.curseforge.com/members/marcigamer98/projects | All rights reserved.