Hi all,
Just before I get into this update, I'd be interested in your opinion on adding a sleep status indicator into SleepFixer as described
here. Please let me know on the
GitHub issue or on the
Discord server (
#other-lokka30-plugins chat) if you have an opinion on adding this in (or not).
---
This update adds a toggle that allows you to disable SleepFixer's 'one player sleep' feature.
Some server owners wanted to mix the plugin's 'disable Phantom insomnia' and 'clear weather' on-sleep features with Minecraft's sleeping percentage game-rule to have control over the percentage of players required to sleep, instead of just one player sleep (which SleepFixer does by default).
This is now possible through the following configuration option:
Code (YAML):
# Toggle whether you want One Player Sleep to be enabled.
# ***MOST SERVER OWNERS WILL WANT TO LEAVE THIS ENABLED***
# If you prefer to fallback on Minecraft's inbuilt gamerule to handle sleep percentages and instead just use
# SleepFixer's 'on-sleep' functionality below as extras, you can disable this. Only touch if you know what
# you're doing. :)
one-player-sleep
: true
Most of you will want to keep this
true (enabled), but if you want percentage control over the player count required to skip the night, you'll want to disable this (set to
false) and set the Minecraft gamerule value you prefer on each of your worlds.
Feel free to paste this in to your settings.yml file if you would like to control the feature.
Existing configuration files will continue to work normally without any changes necessary.
Cheers