A plugin that assigns roles to players based on their playing time using LuckPerms.
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.
playtime.yml file./playtime command: Allows players to view their playtime or (with the playtimeroles.admin permission) the playtime of other players./playtime - Show your playtime/playtime <player> - Show the playtime of the specified player (requires playtimeroles.admin)playtimeroles.playtime - Access to the /playtime commandplaytimeroles.admin - View other players' playtimesThis file contains role settings. Each role has a name and a required time in the format:
h - hoursm - minutess - secondsExample configuration:
roles:
- role: "novice"
time: "1m"
- role: "experienced"
time: "10h"
- role: "veteran"
time: "50h"
playtime.yml in 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.