Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Server Playtime Manager

Server Playtime Manager

A mod to help manage daily playtime on a server to prevent burnout.

133
0
Management

Compatibility

Minecraft: Java Edition

1.21.1

Platforms

Fabric

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

KrazyMiner001
KrazyMiner001 Member

Details

Licensed CC0-1.0
Published 4 months ago
Updated 4 months ago
DescriptionChangelogVersions

Server Playtime Manager

A mod to manage daily playtime on a server to help avoid people advancing far beyond others and to avoid burnout.

Config

timezone

Specifies which timezone to define midnight from. If players are split accross multiple timezones UTC should be fine as it will still be a 24 hour period.

maxTime

The maximum time in ticks a player can play on the server alone for. At normal tickrates a tick is 50ms.

nonTrackingPeriods

Times when everyone can play together without playtime being tracked.

Example Config

{
  timezone: "Z", // Z means UTC
  maxTime: "72000", // 72000 ticks - 1 hour
  nonTrackingPeriods [
    {
      startTime: "06:00+01:00", // Time is specified as time with offset in accordance with ISO 8601
      endTime: "08:00+01:00"
    } // Creates a non tracking period between 6am UTC+1 and 8am UTC+1
  ]
}

Commands

The mod has some commands to help with settings and managing playtime

playerplaytime query - Must be run by a player. Returns that player's playtime today in seconds (assuming 50 mspt). Doesn't require any permission level.

playerplaytime query [Player] - Returns specified player's playtime today in seconds. Requires permission level 2.

playerplaytime set [Player] [Time] - Sets the specified player's playtime today to the time specified (in ticks). Requires permission level 3.

playerplaytime config reload - Reloads the config file if any changes have been made. Requires permission level 2.

playerplaytime set maxTime [Time] - Sets the maxTime in the config to the number specified. Requires permission level 2.

playerplaytime get maxTime - Returns the maxTime from the config. Requires permission level 2.

Modrinth is open source.

main@81b0922

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.