Mogrul Play Time

Quick rating

Community listing page, reviews here may not be monitored by the author.

Mogrul Play Time

No reviews yet

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

Mod Loaders
Minecraft

About

Description

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 - Enables/Disables the rotating sidebar timeplayed display.

/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

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