
This is a server side mod to limit playtime. So no one can "no-life" the game.
This is a fabric server side mod to limit daily playtime on a minecraft server.
So no one can "no-life" the game.
Each player has some playtime available, while playing your available playtime is counted down.
When it reaches 0 you get kicked from the server.
Every day a configurable amount of playtime is granted to all players.
When playtime is not used up it stacks up to a configurable limit.
Remaining playtime is indicated with a bar at the top of the screen.
Total playtime is also tracked and displayed in the player (tab) list.
This mod is fully server side, so no client mod required!
Make sure you have the Fabric API,
then just add the nonolife-X.X.X.jar file to your server's mod folder and off you go.
To configure the mod to your liking create a file json in your servers config folder.
The file should be called nonolife.json
Example file content (with default values):
{
"dailyPlaytime": 3600,
"initialPlaytime": 3600,
"maximumPlaytime": 14400,
"addPlaytimeAtHour": 4,
"showTotalPlaytime": true
}
If you want to use a default value you do not have to provide the configuration key. If you want to use all defaults you can just not create the file at all.
/playtime hide hides the remaining playtime indicator bar/playtime show shows the remaining playtime indicator bar