Brief Overview
This mod is, simply put, a single command designed as a "backup solution". Sometimes configs can be reset, modified or wiped and that means you have to go through them all again, one by one, resetting the values as they should be (or copying the whole folder over).
I agree that there are easy enough workarounds. But what if your staff are unable to access the server's file system? Enter RestoreConfig. This mod adds a single command (/resetoreconfig) that copies all the files from one folder (root/configrestore) to the config folder, replacing any files that have the same name - including sub-directories!
How does it work?
Easy! First of all create a folder in the root server installation directory called "configrestore" (without the quotes). You can also run the command /restoreconfig and if the folder doesnt exist, it will create one for you.
After that, put any configs you'd like to keep a backup of in there.
From then on, you can run /restoreconfig at any point to copy the backed up configs to the config folder.
Restart the server and the new configs will apply.
Warnings
This mod does work as a server-side only mod. However it will not register the command for clients. If you install it on the server only then the command can only be run from the console.
If installed on the client and server, the player who runs the command must have OP.
I strongly suggest that you edit any configs and save them in the configrestore folder. From there run the command /restoreconfig to copy them over. This prevents any mistakes and configs being overwritten.
Why tho?
I run a beta server and it crashes a lot. We have found that sometimes these crashes would result in the config files becoming incorrectly formatted (somehow). Now that we have this mod our server OPs are easily able to restore the server to it's former glory without the need to remotely access the file system.