Raised This Month: $32 Target: $400
 8% 

Run config on map


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
water1
New Member
Join Date: Feb 2020
Old 02-25-2020 , 05:23   Run config on map
Reply With Quote #1

I want my server.cfg to load everytime a new map is loaded in. How'd I do this in sourcemod/my server. I'm hosting @ g-portal.com
water1 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-25-2020 , 21:07   Re: Run config on map
Reply With Quote #2

In games in which AMX Mod X will run (Counter-Strike 1.6, Day of Defeat 1.3, etc), there is a server configuration to execute a file on every map load. The cvar is "mapchangecfgfile". To make this work, you would simply set it to "server.cfg":

mapchangecfgfile "server.cfg"

I'm not sure if this same cvar exists for Source games. Try to see if the setting exists. If you have further questions about a Source server, you should post in the Source server section of the forum.

If you need to request a plugin for SourceMod, you should post in the SourceMod section of the forum.
__________________

Last edited by fysiks; 02-25-2020 at 21:11.
fysiks is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode