Compatibility
Minecraft: Java Edition
1.21.1
Platforms
Supported environments
Dedicated servers only
Tags
Creators
Details
Licensed CC BY NC ND 4.0
Published 9 months ago
Mogrul Play Time
A small server-side utility mod to create an objective and automtically track play time in minutes, hours and days. There's also data stored in /world/stats - the mod automatically loads this data when a player first joins, so you don't have to worry about manually setting everyone's data, it's all done for you!

Objective Names
- mogrulplaytime_minutes "Minutes Played" : Minutes the player has played.
- mogrulplaytime_hours "Hours Played" : Hours the player has played.
- mogrulplaytime_days "Days Played" : Days the player has played.
Commands
OP Commands
- /playtime toggle_display_rotation : Toggles the rotating display on/off.
- /playtime set_display_rotation_interval <interval> : Sets the display rotation interval in seconds.
Config
[PlayTime]
#World directory name to load old tickTime stats.
worldName = "world"
#Interval in minutes to update play time in minutes.
#Range: > 0
sqlUpdateInterval = 5
#Whether the sidebar display should periodically rotate time played displays.
displayRotationEnabled = true
#Interval for the display to rotate to a new objective every x seconds.
#Range: > 1
displayRotationSecondsInterval = 3


