-
Notifications
You must be signed in to change notification settings - Fork 18
[Feature request] Detection of changes to settings file #26
Comments
Actually, that's an original feature of Extender. |
I haven't been pursuing the detection of updates lately, in fact I have disabled updates for Thursdays entirely for the moment, but I will come back to that. But what I have done to accomplish the triggering of loading the settings file is add a chat command to essentials for this "/admin loadconfig" and I'm going to trigger this through wcf when needed. Not sure of how to go about sharing this (I'll learn github later) so for the moment (and because its simple) I'll share it here. 2 files were altered: (lines were chosen to keep like with like)
EssentialsPlugin\EssentialsPlugin.csproj added at at line 93 (the rest pushed down)
1 file was created:
Tested on my own servers and is working, but I'm very green so I cant guarantee I haven't done something stupid. I think this might be better than auto detecting, this way whatever made the changes can trigger the load when needed. |
@DigTron, are you in the skype SE modders group? |
This is by no means important, I just think it would be very handy for automation. I see that your version of Extender now notices if changes are made to the server config file and then tries to reload it. I think such a feature would be very useful in essentials as it would allow scripts to.. for example, alter server messages and restart times when a Space Engineers update is detected.
Again not important, I can get by fine without it, thanks for your time.
The text was updated successfully, but these errors were encountered: