I'm working on a plugin right now that would gather cvars out of a mysql table and load them to the server. I just need a little help with it.
1. How do I initiate the function at the right time so that it overwrites any of the cvars in the config files?
If I list it as the final plugin in the plugins file and include the function in plugin_init, will that hit at the right time, or is there a better way to do it?
Note that it needs to happen before the server loads the first map, so that the settings apply to that map.
2. If the above is correct, will that work for each map load?