Pause when nobody is online on server
Lurmey opened this issue ยท 4 comments
Is there a way to set Weather2 to pause it's storm timers when nobody is online on the server? Currently, my server is often left for hours without players online, so the instant a player comes online they get thrown an F4 tornado within minutes and it's really annoying. Will it pause if I turn doDayLightCycle off when nobody is online?
Also, is there a mod that'll automatically regrow the trees that the tornadoes ravage? Doing constant tree surgeon work is a bit of a pain in a dark oak forest...
Dynamic Trees will regrow leaves that have been blown away and branches that have been cut off, but I don't know if it'll regrow a trunk that's no longer connected to its roots. In other words, because tornadoes grab blocks randomly, your tree might be floating above the ground like it's something perfectly normal for a tree to do. And I don't think a tree like this has any chance of healing. ;)
You might nag the author to fix it ;)
Ah yeah id like to avoid grabbing its roots if it doesn't grab the rest, I'll have to look into that.
Setting doDayLightCycle to false wont stop it from insta spawning, but I agree it causing a spawn right away due to players being offline for so long is not great, I might rework some of the code so it only 'counts down' if that player is online, or for global rate mode, if anyone is online.
I want to implement my own feature that regrows leaves overtime, stripped forests is a bigger problem now that F3-F5 tornadoes are a lot more common. I have a semi halfassed solution to that coming, when new release drops you can set Storm_Tornado_grabbedBlocksRepairOverTime to true in Tornado.cfg, but it applies to all grabbed blocks, not just leaves, FYI this can technically duplicate blocks since it repairs the block but also flings a copy of it into the air, you can fix that by setting Storm_Tornado_maxFlyingEntityBlocks to -1 in Tornado.cfg