can someone tell me what the server.cfg is supposed to look like. I just got a server and i cant change the gamemode because the server.cfg has nothing in it but the rcon pass and name. If someone could just copy n paste theirs or something and put it up that would be much appreciated because our server is stuck on sandbox =[
What does the server.cfg have to do with the sandbox gamemode?. You can set the default gamemode through command line on startup or even use a command to change in the game through rcon.
How do i do that?
Check the wiki.
All of my stuff is in autoexec.cfg…
Should be in server.cfg.
It depends on the commands inside the config. If you put the map command in server.cfg, you’ll have a perma loop.
You can have a perma loop from a server.cfg entry? How’s that one work?
When a map loads, the server executes server.cfg.
Right, but how’s that cause a loop?
Server.cfg has the command to load the map, map loads, server.cfg executes again and the cycle repeats.
Hm, mine doesn’t. Mine’s in the batch file.
Eum i use this server.cfg, its awsome use it! :
// server name hostname "hostname" // rcon passsword rcon_password "rcon" // server cvars sv_defaultgamemode sandbox mp_friendlyfire 1 mp_footsteps 1 mp_autoteambalance 1 mp_autokick 0 mp_flashlight 0 mp_tkpunish 1 mp_forcecamera 0 sv_alltalk 0 sv_pausable 0 sv_cheats 0 sv_consistency 1 sv_allowupload 1 sv_allowdownload 1 sv_maxspeed 320 mp_limitteams 2 mp_hostagepenalty 5 sv_voiceenable 1 mp_allowspectators 1 mp_chattime 10 sv_timeout 65 // round specific cvars mp_freezetime 6 mp_roundtime 5 mp_startmoney 800 mp_c4timer 45 mp_fraglimit 0 mp_maxrounds 0 mp_winlimit 0 mp_playerid 0 mp_spawnprotectiontime 5 // bandwidth rates/settings sv_minrate 0 sv_maxrate 20000 decalfrequency 10 //Do not change these settings sv_maxupdaterate 75 sv_minupdaterate 10 // server logging log off sv_logbans 0 sv_logecho 1 sv_logfile 1 sv_log_onefile 0 // operation sv_lan 0 sv_region 255 // execute ban files exec banned_user.cfg exec banned_ip.cfg