Multiverse issues #1


  • new idea
  • bug
Open
  • ItsMasterL created this issue Dec 11, 2021

     

    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.

  • ItsMasterL added the tags bug new idea Dec 11, 2021
  • ItsMasterL posted a comment Dec 12, 2021

    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

  • Sapentiae posted a comment Dec 13, 2021

     Thank you for your issue report. I'll try to implement your suggestion.

     

    Kind regards,

    G


    Edited Oct 18, 2022

To post a comment, please login or register a new account.