Author Topic: Autoload Config  (Read 64 times)

larrybrains

  • *
  • Posts: 3
    • View Profile
Autoload Config
« 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/ but it doesn't seem to work anymore.

Does anyone have any suggestions on how I can do this?
« Last Edit: December 03, 2019, 05:49:19 pm by larrybrains »

Sir

  • *
  • Posts: 920
    • View Profile
Re: Autoload Config
« Reply #1 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.
Group Owner of :| SirPlease
Config Dev :| Zonemod 1.9.6

larrybrains

  • *
  • Posts: 3
    • View Profile
Re: Autoload Config
« Reply #2 on: December 05, 2019, 07:39:46 pm »
That works! Didn't realize you could use that command like that. Thanks!

 

A dedicated community website to competitive L4D and L4D2, ran by the community, for the community. L4DNation supports all continents of play and focuses on bringing together the community as a whole to a central hub of information.