Description
Hypnos is a server-side mod for Fabric. Mod is still loaded client-side so you can use while opening your server with "Open to LAN"
When a player goes into bed, it will check if an amount of player are sleeping. If enough players are sleeping, night will be skipped.
Its requirement is Fabric-Api
Config
Values
playerPercentage
is the percentage of player that need to sleepnotEnoughPlayerMessage
is the message displayed when a player enter his bed but not enough players are sleepingnightSkipMessage
is the message used when skipping nightenableWakeUp
enable or disable broadcasting ofwakeUpMessage
wakeUpMessage
is the message displayed when a player leaves his bedignoreSleepDuringDay
enabling it will ignore when player enter a bed during day (true per default)
Message arguments
In messages, you can use different variables
{player}
: player entering his bed{sleeping}
: amount of players sleeping{required}
: number of required player sleeping to skip night
Each message can have only specific arguments
-
notEnoughPlayerMessage
:{player}
,{sleeping}
,{required}
nightSkipMessage
:{sleeping}
,{required}
wakeUpMessage
:{player}
,{sleeping}
,{required}
You can also use minecraft color tags as seen here