Mogrul Playtime
ModLicenseRef-CC-BY-NC-ND-4.0-

Mogrul Playtime

A simple time-tracking server-side mod to create a scoreboard objective of player's minutes, hours and days played.

80
Downloads
0
Followers
7 months ago
Updated
📦
3
Versions

📖About Mogrul Playtime

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!

Rotating display

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