SRCDS Steam group


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unoffical srcds server.cfg thread
#1
Hello everyone, for the past few hours I have been writing my own server.cfg for srcds (its unofficial unless srcds adopts it). I should have the full release going by tomorrow evening but this is just the basics to what I accomplished within a few hours.

I know its missing a lot at the moment but its just a start.

Current release : 0.2 (beta) 9/4/2010

UPDATE I need input. Should I keep working on this or what exactly? Its a bit more detailed than it was before. Give me some feedback if you can. Smile


Code:
/////////////////////////////////////////////////////////
///Unoffical srcds.com server.cfg file //////////////////
///Version 0.2 | 9/4/2010 ///////////////////////////////
/// Written by Jesse Hank ///////////////////////////////
/////////////////////////////////////////////////////////

///////////////////////
///Universal Commands//
///////////////////////

//The name of the server that appears in your server browser
hostname "Just another team fortress server!"

//remote connect password. (don't make it as easy as 123 or abc.
rcon_password "123abc"

//connect password (leave blank for a public server, fill in a password for a private server)
sv_password ""

//enables game to be multiplayer or only on a local area network (Default = 0)
sv_lan "0"

///////////////////////////////////////
//Round conditions with map changing //
///////////////////////////////////////

//map time limit (default = 0)
mp_timelimit "0"

//max score one team can reach before map changes (default = 0)
mp_winlimit = "0"

//max rounds before a map change (default = 0)
mp_maxrounds = "0"




/////////////////////////////
//Download/Upload Commands///
////////////////////////////

//Location where maps can be downloaded from
sv_downloadurl "http://testsite.com/maps"

//Allows the client to download files (default = 1)
sv_allowdownload "1"

//allow clients to upload customization files (default = 1)
sv_allowupload "1"

//max allowed file for uploading (default = 16
net_maxfilesize "16"



/////////////////
//pure settings//
////////////////

//sv_pure allows players to use or not use their custom skins for weapons (can be an exploit for cheating)
//when sv_pure = 0, then all skins are allowed, when sv_pure = 1 skins are allowed if they are in the pure_server_whitelist.txt.
//when sv_pure = 2, then force all default steam files. (default = 0)
sv_pure "0"


////////////////////////////
//Chatting/voice commands///
////////////////////////////

//enables microphone use (default = 1)
voice_enable "1"

//0 allows only team talk, 1 allows both teams to chat over mic (default = 0)
sv_alltalk "0"

//teammates can always chat with eachother while alive or dead, (tf2 only) (default = 0, but recommended to be 1)
tf_teamtalk "0"

////////////////////////////
///Other multiplayer cvars//
////////////////////////////

//0 = disables cheats (default). 1 = enables cheats.
sv_cheats "0"

//sets the gravity of the server (default = 800)
sv_gravity "800"

//sets the respawn time (in seconds) (default 10)
mp_respawnwavetime "10"

///////////////////////////////
//logging server information //
///////////////////////////////

//1 enables logging, 0 (default) disables logging.
sv_logfile "0"

//1 logges to one file, 0 (default) logs to default files
sv_log_onefile "0"

//sets the dir where logs are written too (default = logs)
sv_logsdir "logs"

//1 (default) echos the log information to console. 0 doesn't echo to console
sv_logecho "0"


///////////////////////
//Min and Max rates ///
///////////////////////

//sets the minimum default command rate (default 0, unlimited = 0)
sv_mincmdrate "0"

//sets the rate of which the client will request from the server. (default 3500)
sv_minrate "3500"

//Minium updates per second that the server will alow. (default = 10)
sv_minupdaterate "10"

//Sets the maximum value for cl_cmdrate. (Default = 40)
sv_maxcmdrate "40"

//maximum bandwidth rate allowed on the server (default = 0, unlimited = 0)
sv_maxrate "0"

//Max updates per second that the server will allow (default = 60)
sv_maxcmdrate "60"


////////////////////////////////////////
//Team Balance + Autobalance commands //
////////////////////////////////////////

//teams are unblanced when one team has this many more players than the other team (default 1, 0 disables)
mp_team_unbalance_limit "1"

//1 (default) allows team balance. 0 turns it off
mp_autoteambalance "1"


//////////////
//source TV //
//////////////

//1 enables, 0 disables source TV (default 0)
tv_enable "0"

//auto record all sourceTV demos (default 0)
tf_autorecord "0"

//broadcast delay in seconds (default 30)
tv_delay "30"

//max amount of clients that can connect to sourceTV (default 128) (max 255)
tv_maxclients "128"

//set the title for sourceTV specator UI (the name it appears in game) (default "SourceTV")
tv_title "SourceTV"

//source tv hostname (the name it appears in server browser) (default SourceTV)
tv_name "SourceTV"

//the connection password for the sourceTV server
tv_password ""

//no chat for sourceTV specators (default 0)
tf_nochat "0"



/////////////////////////////
//Team fortress 2 commands //
/////////////////////////////
//NOTE* If your game isn't tf2 then these commands won't work

//allows players to use +use while playing (default 0)
tf_allow_player_use "0"

//rewards the first player to kill in arena crits (default 1)
tf_area_first_blood "1"

//teams will be scrambled if one teams reaches this streak (default 3)
tf_arena_max_streak = "3"

//overrides the time (seconds) it takes for the capture point to become enabled in arena (default = -1, it use's the level designer time)
tf_arena_override_cap_enable_time "-1"

//length of arena round time in arena (default 0)
tf_arena_round_time "0"

//enables the spectator queue system for arena (default 1)
tf_arena_use_queue "1"

//enables birthday mode with party hats and whatnot (default 0)
tf_birthday "0"

//Length of team crit time for CTF capture (default 10, disable 0)
tf_ctf_bonus_time "10"

//disable the random damage with weapons (default 0)
tf_damage_disablespread "0"

//amount of capture in a CTF game before one team wins, (default 3, disable 0)
tf_flag_caps_per_round "3"

//enables weapon criticals (default 1) (does not stop CTF crits and specific weapon crits)
tf_weapon_criticals "1"

//disables bullet spread for bullet weapons (default 0)
tf_use_fixed_weaponspreads "0"


Attached Files
.cfg   server.cfg (Size: 5.95 KB / Downloads: 35)
Reply
#2
Bump for any answers or input? and why can I attach files and not have them showup. >_>
Reply
#3
Some one needs to approve it.... And they are slow...
Reply
#4
Alright, thanks.
Reply
#5
I gues you haven´t gotten a response because of this thread: http://forums.srcds.com/viewtopic/8433&highlight=config+generator
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#6
Already approved it once.. please report the orginally post whenever a new attrachment are added. Makes it alot easier for us to approve / disapprove them. Smile
Reply
#7
(09-06-2010, 05:37 PM)realchamp Wrote:  Already approved it once.. please report the orginally post whenever a new attrachment are added. Makes it alot easier for us to approve / disapprove them. Smile

+1
~ trewq
Reply
#8
Alrighty, I'm just going to add it into the code until it comes out with a final release. Would it be better if I just tried to make this solely for team fortress 2 rather than every main source game?
Reply
#9
(09-07-2010, 02:17 AM)hankinator Wrote:  Alrighty, I'm just going to add it into the code until it comes out with a final release. Would it be better if I just tried to make this solely for team fortress 2 rather than every main source game?

Would be quite annoying and possibly fustrating for some people to see unknown commands, if you choose to have each games specific cvar.
I would rather prefer a server.cfg made for just it's own game.
Reply
#10
Fair enough, I just work on a team fortress 2 one.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)