When server launched and after map change.
SourceMod
load all plugins automatically from
Code:
...addons/sourcemod/plugins/
and from sub -folders example
...addons/sourcemod/plugins/my_new_folder/
Except one.
Plugins what are in
disabled folder
Code:
...addons/sourcemod/plugins/disabled/
and sub -folders from there
Those
plugins not run until you manually load them.
Using command
sm plugins load disabled/plugin_name.smx
- So try in
map config add that
sm plugins load disabled/plugin_name.smx
- And add also in
...cfg/server.cfg command
sm plugins unload disabled/plugin_name.smx
If I don't remember wrong when certain map appears, server execute first
server.cfg = where is unload command
after then
map config (
...maps/cfg/map_name.cfg) = where you load plugin.
*edit
Then of course, map change to other where is no "plugin load command" in
map config and
server.cfg unload plugins.
*edit
Some (old) plugins maybe crash server when unload or load back.
So try "benchmark" that plugins before you start using it about this way.
*secondedit
I tried also build this kind, plugin change depend time of the week
But almost succeed
[Hint & Tip] Schedule server cfg & plugins (unfinished)