Sprache

Hypnos

Hypnos

Modrinth

Simple sleep vote mod

425 Downloads 6 Follower aktualisiert 62mo ago
neueste v0.1.2 Modrinth
Fabric 1.16.3 – 1.16.3 Utility

Hypnos

Minecraft mod using fabric api

Config

Values

  • playerPercentage is the percentage of player that need to sleep
  • notEnoughPlayerMessage is the message displayed when a player enter his bed but not enough players are sleeping
  • nightSkipMessage is the message used when skipping night
  • enableWakeUp enable or disable broadcasting of wakeUpMessage
  • wakeUpMessage is the message displayed when a player leaves his bed
  • ignoreSleepDuringDay 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

Default config

{
  "playerPercentage": 50,
  "notEnoughPlayerMessage": "§9{player} entered bed, not enought to skip night [{sleeping}/{required}]§r",
  "nightSkipMessage": "§9Enough players are sleeping, skipping night§r",
  "wakeUpMessage": "§9{player} leaved bed§r",
  "enableWakeUp": false,
  "ignoreSleepDuringDay": true
}

Versionen

Release
0.1.2
fabric · 1.16.3 · 62mo ago
Hypnos could interfer with mods allowing outside allowed times. Added a new value in config to ignore players sleeping during day. This new value…
269
Release
0.1.1
fabric · 1.16.3 · 63mo ago
159

Kommentare 0

Noch keine Kommentare. Sei der Erste, der seine Meinung teilt.

Herunterladen Hypnos

Dateien werden direkt von der Originalquelle bereitgestellt. Modgrid hostet oder verändert sie nicht.