apavarino / Deadchest

Minecraft Plugin - Keep your inventory in a chest when you die !
https://dev.bukkit.org/projects/dead-chest
GNU General Public License v3.0
18 stars 17 forks source link

config override on server restart #16

Closed darkBoft closed 3 years ago

darkBoft commented 3 years ago

Context

Describe the bug After starting the server to generate config file and manipulating config.yml, every restart of minecraft server will override manipulated config files.

In the start log is logged something like "config change detected, generate new config file" (sorry, cannot access the server log right now)

After restarting minecraft server, my conifg.yml will be renamed to conifg.old.yml and the default config will be "re-generated" with default values.

Only solution to this is change the config on server and /dc reload them.

apavarino commented 3 years ago

Hi @darkBoft,

The plugin do this behavior when it detect a missing parameter (after an update for example with new feature parameter for example). If you have all parameter set, the plugin stop to generate defaut config and renaming your config.old.yml.

Is this behaviour your are reporting ?

Are maybe there is an issue with that and even you have all parameters that trigger the new config generation ?

darkBoft commented 3 years ago

Hi @apavarino

strange on my end, I was wondering the whole time why my configuration was not set but since a week the config is steady and set.

image

As you can see, reboot on 25. August was the first time, the config was not changed, regarding to the logfile.

Maybe I was not able to figure it out correctly that the config has not changed.

Thanks for the explanation,

Best Regards, Björn