Description
๐ What Is Playtime?
Playtime is a powerful server-side only Forge mod that tracks every player's active playtime and automatically progresses them through a fully customizable rank system. It's AFK-aware, so idle time doesn't count โ only real gameplay earns ranks.
Whether you're running a small community server or a massive network, Playtime gives you the tools to reward dedication, manage claims, and keep your server clean โ all without touching a single config file manually (though you can if you want to!).

โจ Key Features
๐๏ธ 33-Rank Progression System
Progress through 8 themed phases โ from humble Beginner to the almighty Singularity. Each rank unlocks more claim chunks, forceloaded chunks, and comes with its own unique color and icon.
| Phase | Theme | Ranks | Style |
|---|---|---|---|
| ๐ฑ Phase 1 | The Grounded | Starter โ Settler | Survival & Settlement |
| ๐ฎ Phase 2 | The Arcane | Apprentice โ Wizard | Magic & Mysticism |
| โ๏ธ Phase 3 | The Industrial | Tinker โ Steamlord | Steampunk Era |
| ๐ง Phase 4 | The Technological | Technician โ Commander | Modern Engineering |
| ๐ Phase 5 | The Ascent | Aviator โ Orbiteer | Atmosphere & Early Space |
| ๐ช Phase 6 | The Interplanetary | Spacefarer โ Starseeker | Deep Space & Colonization |
| ๐ Phase 7 | The Cosmic Manipulators | Riftshaper โ Eclipsebringer | Bending Physics |
| โญ Phase 8 | The Absolute | Ascendant โ Singularity | God-Tier |
๐ก Fully customizable! Add, remove, or edit any rank in-game or via JSON. There's no limit โ have 16 ranks or 200!
๐จ Rich Color System
Ranks aren't just names โ they're visual experiences.
- ๐ Single hex colors โ
&#FFA500for a clean, bold look - ๐ Multi-stop gradients โ
gradient:#DDA0DD-#00CED1-#FFD700for stunning rank titles - โ๏ธ Formatting โ Bold, underline, italic, and more via
ยงl,ยงn, etc. - ๐ฅ Pre-baked per-character gradients โ Full compatibility with Better-Forge-Chat
Phase finals use gradients composed of their phase's 3 preceding colors โ Phases 1โ2 are underlined, Phases 3+ are bold, and Phase 8 is all gradient + bold. ๐ฅ
๐ฅ๏ธ Custom In-Game GUI
Open the Playtime GUI to see everything at a glance:
- ๐ Your stats โ Total playtime, current rank, next rank, and time remaining
- ๐ Player list โ See all players, their ranks, and playtime with search & sorting
- ๐ Rank grid โ Visual grid of all ranks with icons, colors, and progress indicators
- ๐ท๏ธ Display Rank selector โ Pick any rank you've earned as your display title
- ๐ Player detail popups โ Click any player to see their full profile
- ๐ Rank detail popups โ Click any rank for thresholds, benefits, and descriptions
๐ท๏ธ Display Ranks
Let players show off their favorite earned rank! Once you've reached a rank, you can set it as your display rank โ it appears as an underlined, colored suffix next to your name in chat.
- Works seamlessly with LuckPerms suffixes and Better-Forge-Chat
- Gradient ranks show per-character colored text in chat
- Set via the GUI popup or
/playtime displayrank set <name> - Admins can set display ranks for any player
๐ด Smart AFK Detection
Playtime only counts when you're actually playing. The multi-signal activity detection system watches for:
- ๐ฅ Camera rotation
- ๐ถ Position movement
- ๐ Hotbar slot changes
- ๐ Sprint toggles
- โ๏ธ Interactions (block break/place, attacks, chat)
Players must produce multiple distinct signal types to be considered active โ simple AFK macros won't fool it! When AFK is detected, an action bar message appears and tracking pauses until real activity resumes.
๐ LuckPerms Integration
Seamlessly sync ranks with LuckPerms groups:
- โ Auto group sync โ Rank up โ old LP group removed, new one added
- ๐จ Prefix colors โ Reads LP group prefixes for display colors
- ๐ Bulk resync โ
/playtimeadmin rank syncfixes any mismatches - โ๏ธ Per-rank control โ Toggle
syncWithLuckPermsper rank for fine-grained control - ๐ท๏ธ Display rank suffixes โ Colored, formatted suffixes set automatically via LP API
๐ก No LuckPerms? No problem. The mod works standalone with its own integrated chat formatter and fallback colors.
๐บ๏ธ OpenPAC Claim Management
Integrate with Open Parties and Claims for automatic claim management:
- ๐ Claim limits by rank โ Higher ranks get more claims and forceloads
- ๐งน Inactivity cleanup โ Automatically wipe claims from inactive players
- โฑ๏ธ Per-rank inactivity thresholds โ Each rank has its own timeout (1 day โ never)
- ๐ก๏ธ Immunity โ Top ranks can be made immune to cleanup (
inactivityDays: -1) - ๐งช Dry run mode โ Test cleanup without actually removing anything
- ๐ง Modular inactivity actions โ Run any commands on inactivity, not just claim wipes
๐พ Data Safety & Backups
Your player data is precious. Playtime protects it:
- ๐ Rotating backups โ Hourly, daily, and weekly automatic snapshots
- ๐ธ Manual backups โ
/playtimeadmin backup nowanytime - ๐ก๏ธ Wipe-safe loading โ If
players.jsonis corrupt, the mod refuses to overwrite it - ๐พ Periodic saves โ Session data flushed every 30s, full save every 5 minutes
- ๐ UUID-keyed records โ Player identity is never lost, even if usernames change
๐ ๏ธ Full Admin Command Suite
Manage everything without leaving the game:
| Command | Description |
|---|---|
/playtimeadmin list <player> |
๐ View detailed player info |
/playtimeadmin add/remove/set <player> <time> |
โฑ๏ธ Modify player playtime |
/playtimeadmin reset <player> |
๐๏ธ Full player data reset |
/playtimeadmin rank set <player> <rank> |
๐๏ธ Force-set a player's rank |
/playtimeadmin rank sync |
๐ Bulk resync all players with LP |
/playtimeadmin rank add/remove/edit |
โ๏ธ Full rank CRUD in-game |
/playtimeadmin rank list |
๐ Interactive rank list with edit buttons |
/playtimeadmin rank gradient <id> <colors...> |
๐ Set gradient colors for a rank |
/playtimeadmin setdisplayrank <player> <rank> |
๐ท๏ธ Set display rank for any player |
/playtimeadmin cleanup [dryrun] |
๐งน Run inactivity cleanup |
/playtimeadmin backup now |
๐พ Create manual backup |
/playtimeadmin reload |
๐ Hot-reload rank config |
/playtimeadmin import <file> |
๐ฅ Import from legacy KubeJS data |
Flexible time formats: 1h30m, 2d4h, 45m, 90s, or even decimal hours like 2.5.
๐ข Rank-Up Effects
Make rank-ups feel epic:
- ๐ Server broadcast โ Everyone knows when someone ranks up
- ๐ต Custom sound โ Configurable sound effect on rank-up
- ๐ Title display โ Big on-screen title with configurable fade timings
- โก Custom commands โ Run any commands on rank-up (rewards, effects, etc.)
๐ Player Commands
| Command | What It Does |
|---|---|
/playtime |
๐ View your playtime stats, current rank, and progress |
/playtime top [page] |
๐ Server-wide playtime leaderboard |
/playtime displayrank set <name> |
๐ท๏ธ Set your display rank |
/playtime displayrank clear |
โ Clear your display rank |
/ranks [page] |
๐ Browse all ranks with thresholds and rewards |
โ๏ธ Configuration
Everything is configurable via config/playtime.toml:
- ๐ด AFK settings โ Timeout, sensitivity, signal thresholds
- ๐พ Save intervals โ How often data is flushed and written
- ๐ Backup schedule โ Enable/disable, check intervals
- ๐งน Cleanup settings โ Enable/disable, startup delay
- ๐ Integrations โ Toggle LuckPerms and OpenPAC independently
- ๐ Rank-up effects โ Sound, volume, pitch, title timings, broadcasts
- ๐ก๏ธ Permissions โ Admin command permission level
- ๐ Page sizes โ Customize
/ranksand/playtime toppagination - ๐ฌ Chat formatting โ Full control over the integrated chat formatter
Ranks are configured in <world>/playtime/ranks.json โ editable in-game or by hand.
๐ฆ Installation
- Requires Minecraft 1.20.1 with Forge 47.x
- Drop
playtime-1.0.jarinto your server'smods/folder - Start the server โ config and data directories are created automatically
- (Optional) Install LuckPerms for group syncing
- (Optional) Install Open Parties and Claims for claim management
๐ฅ๏ธ Server-side only! Clients do NOT need to install this mod. Players can connect without it.
๐ง Compatibility
| Mod | Integration |
|---|---|
| โ LuckPerms | Group sync, prefix colors, display rank suffixes |
| โ Open Parties and Claims | Claim limits, inactivity cleanup |
| โ Better Forge Chat Reforged Reworked | Hex & gradient color rendering in chat |
| โ OpacFixes | Enhanced claim wipe support |
All integrations are optional โ detected at runtime and silently disabled if not present.
๐ The Rank Progression
Here's the full 33-rank journey from first login to ultimate power:
๐ฑ Phase 1 โ The Grounded (1h โ 16h)
Starter โ Explorer โ Gatherer โ Settler (gradient underline)
๐ฎ Phase 2 โ The Arcane (24h โ 65h)
Apprentice โ Alchemist โ Sage โ Wizard (gradient underline)
โ๏ธ Phase 3 โ The Industrial (80h โ 140h)
Tinker โ Machinist โ Cogwright โ Steamlord (gradient bold)
๐ง Phase 4 โ The Technological (170h โ 275h)
Technician โ Engineer โ Architect โ Commander (gradient bold)
๐ Phase 5 โ The Ascent (320h โ 485h)
Aviator โ Astronaut โ Cosmonaut โ Orbiteer (gradient bold)
๐ช Phase 6 โ The Interplanetary (550h โ 775h)
Spacefarer โ Planetwalker โ Galaxytamer โ Starseeker (gradient bold)
๐ Phase 7 โ The Cosmic Manipulators (860h โ 1145h)
Riftshaper โ Chronoshifter โ Voidweaver โ Eclipsebringer (gradient bold)
โญ Phase 8 โ The Absolute (1180h โ 1250h)
Ascendant โ Celestial โ Hypernova โ Singularity (all gradient bold)
๐ Singularity โ 1,250 hours, 2,000 claims, 32 forceloads, never expires. The ultimate rank.
โ FAQ
Q: Do clients need to install this mod?
๐ซ No! It's entirely server-side. Clients connect normally.
Q: Can I customize the ranks?
โ Yes! Edit
ranks.jsonor use/playtimeadmin rankcommands. Add as many ranks as you want โ there's no limit.
Q: Does AFK time count?
๐ซ No. The mod uses multi-signal detection. Players must show multiple types of activity (movement + rotation, interaction + hotbar change, etc.) to be tracked.
Q: What happens if my data file gets corrupted?
๐ก๏ธ The mod refuses to overwrite corrupted data and disables writes until you fix it. Automatic backups (hourly, daily, weekly) ensure you always have a recent snapshot to restore from.
Q: Can I migrate from the old KubeJS playtime system?
โ Yes! Use
/playtimeadmin import <filepath>to import your legacy data.
Q: What if I don't use LuckPerms or OpenPAC?
๐ The mod works perfectly standalone. Integrations are detected at runtime โ if they're not installed, those features are silently skipped.
๐ License
All Rights Reserved.
Made with โค๏ธ for the Minecraft community.


