View Single Post
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 12-20-2007 , 07:27   Re: Server Startup Configuration
Reply With Quote #7

Nothing really wrong with this plugin. It has limited usage, but does server a purpose in allowing a specific configuration to be controlled via CVAR. I could also see this being useful for a warmode.

Ie, have all your normal plugins in this file, and the cvar on. Then to turn everything off and keep it off, set the cvar to 0 and change map.

What you may want to consider is having both a "enable cfg" and "disable cfg". Then hook the "active" cvar for changes. When it changes to 0, exec the disable cfg, and when it changes to 1, exec the enabled cfg.

Then you could use it with the default warmode_on and warmode_off CFGs included with SourceMod. You could also make a cvar for the filename of each Cvars.

Just some ideas to add more range of functionality.
__________________
I'm a blast from the past!
ferret is offline