-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gamerule playersSleepingPercentage always set to 101 #8
Comments
Thats how the mod works. It disables the vanilla sleeping mechanic and mimics it with its own so you have more ways to influence certain things. |
The issue here is that it is preventing any player from sleeping. It just shows player is sleeping message but does not skip or accelerate time. Only after setting playersSleepingPercentage to 100 or below sleeping occurs |
Try to do /datapack disable "file" and then /datapack enable "file" |
I tried by /function sleep:uninstall > stopping server > removing fabric sleep mod then installed datapack and ran these commands. It still doesn't allow to sleep. I think I am doing something wrong somewhere |
Maybe there's an incompatibility with a mod you use. The gamerule must be set to 101 or higher for the datapack to work |
Using the fabric mod version on a self hosted server. gamerule playersSleepingPercentage is always set to 101 on server restart.
I have to change it each time the server restarts (even if i set &percentage_to_sleep to 50)
I tried /function sleep:uninstall and then /reload, still its the same
I am using the following config
/scoreboard players set &percentage_mode sleep.config 1
/scoreboard players set &percentage_to_sleep sleep.config 50
/scoreboard players set &time_control sleep.config 1
/scoreboard players set &heal_when_sleeping sleep.config 1
if its related I use your afk announcer mod with the following config changed
/scoreboard players set &afk_invulnerable afk_announcer.config 1
The text was updated successfully, but these errors were encountered: