← Назад к ресурсам

Mogrul Playtime

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

Modrinth management utility

Описание

# 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](https://cdn.modrinth.com/data/cached_images/37a2ea6aead0b30949b3ae984178d1538048fff9.gif) ## 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 ** : 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 ```