MyWorlds icon indicating copy to clipboard operation
MyWorlds copied to clipboard

Hunger keeps getting reset to true

Open bergerkiller opened this issue 7 years ago • 4 comments

(from spigot forums)

https://www.spigotmc.org/threads/myworlds.233689/#post-2461931

bergerkiller avatar Jun 08 '17 08:06 bergerkiller

https://www.spigotmc.org/threads/myworlds.233689/#post-2464095

It was because I was changing the config without doing /world config load.

bc-hill avatar Feb 02 '18 09:02 bc-hill

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.

bergerkiller avatar Feb 02 '18 12:02 bergerkiller

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.

bc-hill avatar Feb 02 '18 14:02 bc-hill

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.

bergerkiller avatar Feb 02 '18 15:02 bergerkiller