Closed CruxCraft closed 2 years ago
I will have to look into having the config reload with !vdcreload or something. could definitely be useful
An update on this, I do have the ability to reload the config but having difficulty figuring out how to tie it into the console.
I have verified it works calling while the game is running using the discord bot webhook in a test version of that. So just remains getting a command or something available. Might cave and use Jotunn ..
I have verified it works calling while the game is running using the discord bot webhook in a test version of that. So just remains getting a command or something available. Might cave and use Jotunn ..
While I do already use Jotunn, my thoughts are that the feature wouldn't be worth having a that dependency...
What about just having a config that updates on its own every so often? Like I could set it to 360 minutes or something... That way you can have it update within a reasonable time without having to shut the server down...
Yeah something like that doable. Might just make it a single toggle for simplicity "Check for config updates every hour"
Config should be reloaded when it detects a change.
It would be nice if the config files could be reloaded via chat or console
example in chat: !dcreload (admin only)
OR a configurable option to detect file changes (maybe doesnt load change if bad config?)
I am going through editing messages & hate that I have to restart the server on my players if I want to see a change