Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
Platforms
Links
Tags
Creators
Details
Licensed MIT
Published last year
Play Time Limit
Some of my friends have no life, no job, and spend way too much time playing Minecraft. To solve this, I created a Spigot plugin to limit player time per day. It's configurable and easy to set up. To configure the plugin, modify the YAML file in plugins/PlayTimeLimit.
Default configuration:
kick-time: 240 # 4 Hours in minutes
kick-message: "You have exceeded your allotted 4 hours on this server today. Try again tomorrow."
kick-broadcast: "{player} has exceeded their allotted 4 hours on this server today."
kick-ignore-users: ["00000000-0000-0000-0000-000000000000"] # Get this from an actual user
timezone: "Etc/UTC"
Commands
/leaderboard: see all the time played by users in the last day/get-time [all|today]: see your time played for this session or all time

