This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I implemented this plugin, with high hopes because it seems that it is compatible with Multiverse-core, considering that there's an option in the config to make it per world. However, sleeping is disabled in both the time synced world and all other worlds. Additionally, every time the config is loaded it enables daylight cycle for all worlds.
I think an easy solution is to check if the world is listed as a time synced world in the config; then only allow sleeping if the gamerule playersSleepingPercentage is above 100 (Makes it so anyone can sleep, but night is never skipped). If possible, only enable gamerules in the worlds affected by the time sync; either by modifying gamerules within the selected world or by detecting multiverse and running it through multiverse. Through this, you could automatically put playersSleepingPercentage above 100.
Accounting for gamerules in other worlds may be tricky, but you should definitely allow sleeping if the gamerule playersSleepingPercentage is above 100 in the worlds affected, and ignore beds in worlds unaffected- it does seem to work well enough with multiverse, provided command blocks force other worlds into their gamerules otherwise
Thank you for your issue report. I'll try to implement your suggestion.
Kind regards,
G
To post a comment, please login or register a new account.