L4DNation

Competitive => Confogl & Miscellaneous => Topic started by: larrybrains on December 03, 2019, 05:47:45 pm

Title: Autoload Config
Post by: larrybrains on December 03, 2019, 05:47:45 pm
I am looking for a way to autoload a Confogl config when the server is started or a group joins from lobby.

I run a realism L4D2 server and I have pieced together a config that my community uses pretty much daily named "larrymod". The server is basically running SirPlease's competitive rework and the config is put together using the same file structure as something like zonemod or promod and most of the plugins/settings come from these configs with a few small changes.

I can run the config without issue by doing a !match vote or forcing it with !fm larrymod once everyone joins the server, but that requires a restart for every new game and since larrymod is basically the only config we use, it would be nice if it was just running when the server starts or when a game is started.

I tried the confogl_autoloader.smx plugin, with the file and instructions given here:: https://www.l4dnation.com/confogl-an...oader-problem/ (https://www.l4dnation.com/confogl-and-other-configs/autoloader-problem/) but it doesn't seem to work anymore.

Does anyone have any suggestions on how I can do this?
Title: Re: Autoload Config
Post by: Sir on December 05, 2019, 06:02:37 pm
Just adding "sm_forcematch larrymod" to your server.cfg should work just fine, as it has no effect when a config is already loaded.
Title: Re: Autoload Config
Post by: larrybrains on December 05, 2019, 07:39:46 pm
That works! Didn't realize you could use that command like that. Thanks!