![PlayTimeGroup [LuckPerms]](https://cdn.modrinth.com/data/AFzLoLK9/0600c70a2af7b222218c549903d13b74f6522931_96.webp)
ModsJava
PlayTimeGroup [LuckPerms]
Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.
⬇ Download on ModrinthFunctionality
The plugin tracks players' playtime and automatically assigns them roles via the LuckPerms permissions system based on accumulated time. Roles are configured in the configuration file.
Key features:
- Playtime tracking: The plugin stores players' login/logout times and summarizes the total time in the
playtime.ymlfile. - Automatic role assignment: The playtime of online players is checked every 5 minutes and the corresponding roles are assigned.
- Role check upon login: When a player logs in, their playtime is immediately checked and roles are assigned.
/playtimecommand: Allows players to view their playtime or (with theplaytimeroles.adminpermission) the playtime of other players.
Commands:
/playtime- Show your playtime/playtime <player>- Show the playtime of the specified player (requiresplaytimeroles.admin)
Permissions:
playtimeroles.playtime- Access to the/playtimecommandplaytimeroles.admin- View other players' playtimes
Configuration
config.yml
This file contains role settings. Each role has a name and a required time in the format:
h- hoursm- minutess- seconds
Example configuration:
roles:
- role: "novice"
time: "1m"
- role: "experienced"
time: "10h"
- role: "veteran"
time: "50h"
How the plugin works
- When enabled: Loads the configuration, initializes the 'playtime.yml' file to store playtime data, and registers events and the command.
- Player tracking: Stores the login time upon login, and calculates and stores the session time upon logout. 3. Role Checking: Periodically (every 5 minutes) and upon login, it checks the total playtime of each player and assigns roles via the LuckPerms API.
- Data Saving: Playtime is saved in
playtime.ymlin milliseconds by player UUID.
The plugin requires LuckPerms to be installed to work with roles and works on Paper/Spigot servers with API 1.21.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21, 1.21.1, 1.21.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
File checked by MCModsHub
- Ships as playtime-roles-1.0.0.jar — drop this file into the mods folder
- Download size: 9 KB
- Download link checked 22 Nov 2026 — working
These come from our own check of the pack file, not from the source page.