MyWorlds
MyWorlds copied to clipboard
Hunger keeps getting reset to true
(from spigot forums)
https://www.spigotmc.org/threads/myworlds.233689/#post-2461931
https://www.spigotmc.org/threads/myworlds.233689/#post-2464095
It was because I was changing the config without doing /world config load.
Oh right, I never updated this issue ticket. I do agree with his comment that it isnt ver intuitive when things dont change when changing config. In c# Ive used File system listeners in the past to detect changes in files and auto-reload them. Something similar would be nice for java, but instead for when the contents change without being saved by the plugin.
Is that a common behavior with other plugins? I have not encountered one that automatically reads config updates. For me, intuitive is to change settings, and then type a command in-game, to reload config.
I do know some plugins re-open the config file every single time it has to know a certain option. Whether that is desirable I dont know...dont think so.