SRCDS Steam group


Need experts for my server.cfg Files
#1
Hi all,

I would like to know if some things are wrongor not:

Code:
// server name
hostname "Max'Source Dedicated"
sv_lan 0

// rcon passsword
rcon_password "XXXXXXX"

// Server password
sv_password ""


// server cvars
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
exec mani_server.cfg
exec mani_quake_sounds.cfg
exec bot.cfg
Thx

After the best command line to start at 12 players
Reply
#2
Umm... what's the question exactly? Use the default config file and you're OK. You can control the number of maximum players on the server with "-maxplayers XX" startup parameter.
Reply
#3
i've found the server.cfg topic, I'll gonna do some tests
Reply
#4
Here's my server.cfg. You can use it if you want.

Code:
///////////////////////
//********************//
//*Main Server Config*//
//********************//
////////////////////////


hostname "" //Hostname for server.
//sv_password ""                    //Server password for entry into multiplayer games
//ip 192.168.100.100                    //Overrides IP for multihomed hosts (just backup, not needed)
//hostport 27015                    //Host game server port (just backup, not needed)
//motdfile motd.txt                                //The MOTD file to load
//maplistfile maplist.txt                //File to load maplist from
//mapcyclefile mapcycle.txt                            //File to load mapcycle from
sv_lan 0                        //Server is a lan server (no heartbeat, no authentication, no non-class C addresses, 9999.0 rate, etc.)
//sv_downloadurl "http://mysite.com/cstrike"        //Location from which clients can download missing files (don't use if you don't have webspace)
net_maxfilesize 100                     // Max size for users to download is 100MB
fps_max 600
mp_dynamicpricing 0


////////////////////
//****************//
//*sv_downloadurl*//
//****************//
////////////////////


sv_downloadurl "http://yourwebsite/css/"


//////////
//******//
//*RCon*//
//******//
//////////


rcon_password "password"                //remote console password
sv_rcon_banpenalty 5                    //Number of minutes to ban users who fail rcon authentication
sv_rcon_maxfailures 20                    //Max number of times a user can fail rcon authentication before being banned
sv_rcon_minfailures 20                    //Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned
sv_rcon_minfailuretime 20                //Number of seconds to track failed rcon authentications


////////////////////////
//********************//
//*Main Game Settings*//
//********************//
////////////////////////


mp_restartgame 1                    //If non-zero, game will restart in the specified number of seconds
mp_roundtime 5                        //How many minutes each round takes.
mp_autokick 0                        //Kick idle/team-killing players
mp_timelimit 0                        //game time per map in minutes
mp_winlimit 0                        //max number of rounds one team can win before server changes maps
mp_maxrounds 0                        //max number of rounds to play before server changes maps
mp_fraglimit 0                        //max number of kills to get before server changes maps
mp_allowspectators 1                    //toggles whether the server allows spectator mode or not
mp_buytime 1000000                    //How many minutes after round start players can buy items for.
mp_freezetime 5                        //how many seconds to keep players frozen when the round starts
decalfrequency 0                    //Amount of time in seconds a player can spray their decal
mp_friendlyfire 0                    //Allow friendly fire
mp_falldamage 1                        //Will players be damaged when they fall a certain distance
mp_footsteps 1                        //Makes clients hear footsteps of eachother
mp_flashlight 1                        //Allow the flashlight to be used
mp_forcecamera 0                    //Restricts spectator modes for dead players
mp_fadetoblack 0                    //fade a player's screen to black when he dies
mp_chattime 15                        //amount of time players can chat after the game is over
mp_startmoney 2000                    //amount of money each player gets when they join the game
mp_c4timer 40                        //how long from when the C4 is armed until it blows
mp_tkpunish 0                        //Will a TK'er be punished in the next round?  {0=no,  1=yes}
mp_hostagepenalty 0                    //Terrorist are kicked for killing too much hostages
mp_spawnprotectiontime 5                //Kick players who team-kill within this many seconds of a round restart.
mp_playerid 0                        //Controls what information player see in the status bar: 0 all names, 1 team names, 2 no names


///////////////////
//***************//
//*Team Settings*//
//***************//
///////////////////


mp_autoteambalance 1                    //Server automatically changes players to even teams
mp_defaultteam 0                    //What is the default team to join?
mp_humanteam any                    //Restricts human players to a single team {any, CT, T}
mp_limitteams 2                        //Max # of players 1 team can have over another (0 disables check)
mp_teamoverride 1                    //Allow server to regulate teams


////////////
//********//
//*System*//
//********//
////////////


sv_contact                         //Contact email for server sysop
sv_region 1                        //The region of the world to report this server in.0=US East coast, 1=US West coast, 2= South America, 3=Europe, 4=Asia, 5=Australia, 6=Middle East, 7=Africa and 255=world.
sv_cheats 0                        //Allow cheats on server
sv_pausable 0                        //Is the server pausable.
sv_filterban 1                        //Set packet filtering by IP mode
sv_forcepreload 0                    //Force server side preloading.
sv_allowdownload 1                    //Allow clients to download files
sv_allowupload 1                    //Allow clients to upload customizations files
sv_maxrate 30000                    //Max bandwidth rate allowed on server, 0 == unlimited
sv_minrate 10000                    //Min bandwidth rate allowed on server, 0 == unlimited
sv_maxupdaterate 100                    //Maximum updates per second that the server will allow (don't change this)
sv_minupdaterate 20                    //Minimum updates per second that the server will allow (don't change this)
sv_unlag 1                        //Enables player lag compensation
sv_maxunlag 1                        //Maximum lag compensation in seconds
sv_unlag_debug 0                    //Debugs lag compensation
sv_alltalk 1                        //Players can hear all other players, no team restrictions
sv_footsteps 1                        //Play footstep sound for players
sv_voiceenable 1                    //Enables voice talking ingame
//sv_voicecodec vaudio_miles                //Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension.
sv_voicecodec vaudio_speex
sv_timeout 65                        //After this many seconds without a message from a client, the client is dropped


/////////
//*****//
//*Bot*//
//*****//
/////////


bot_chatter normal
bot_defer_to_human 1
bot_difficulty 1                    // 1- Easy  2- hard  3- Impossible
bot_join_after_player 1
bot_prefix ""                        // Bots get this infront of their name (-[Im-A-Bot]- Shawn)
//bot_quota 0                            // Maximum amount of bots that join the game
//bot_quota_mode normal
bot_auto_vacate 1                    // Bots automatically leave the server to make room for players
bot_auto_follow 1                    // Bots follow human players
bot_allow_rogues 1                    // Allow bots to go their own way
bot_eco_limit 2000                    // Bots won't buy anything when cash is below this amount
bot_all_weapons    
bot_allow_grenades 1
bot_allow_machine_guns 1
bot_allow_pistols 1
bot_allow_rifles 1
bot_allow_shotguns 1
bot_allow_snipers 1
bot_allow_sub_machine_guns 1
bot_join_team any


/////////////
//*********//
//*Logging*//
//*********//
/////////////


log on                            //Creates a logfile (Enable= on Disable= off)
sv_logfile 1                        //Log server information in the log file.
sv_logsdir "C:\srcds\cstrike\logs"    //Folder in the game directory where server logs will be stored.
sv_logecho 0                        //Echo log information to the console.
sv_log_onefile 0                    //Log server information to only one file.
sv_logbans 1                        //Log server bans in the server logs.
sv_logdownloadlist 1                    //Log files to download.
sv_deltaprint 0                        //Print accumulated CalcDelta profiling data (only if sv_deltatime is on)


//////////
//******//
//*Ammo*//
//******//
//////////


//ammo_338mag_max 30                         // awp
//ammo_357sig_max 50                         // p228
//ammo_45acp_max 120                         // ump45, mac10, usp
//ammo_50AE_max 35                           // deagle
//ammo_556mm_box_max 200                     // m249
//ammo_556mm_max 120                         // galil, sg552, famas, m4a1, sg550
//ammo_57mm_max 100                          // p90, fiveseven
//ammo_762mm_max 120                         // scout, ak47, g3sg1, aug
//ammo_9mm_max 120                           // mp5navy, tmp, glock, elite
//ammo_buckshot_max 32                       // m3, xm1014
//ammo_flashbang_max 20                     // flash gernade
//ammo_hegrenade_max 20                     // gernade    
//ammo_smokegrenade_max 20                     // smoke gernade


////////////////
//************//
//*EXEC Files*//
//************//
////////////////


exec autoexec.cfg
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip


/////////////
//*********//
//*Plugins*//
//*********//
/////////////


//////////////
//**********//
//*ManiLoad*//
//**********//
//////////////


exec mani_server.cfg


echo *******************
echo *******************
echo *SERVER.CFG LOADED*
echo *******************
echo *******************


/////////////////
//*************//
//*END OF FILE*//
//*************//
/////////////////
Earn Points, get Free Rewards with your Amazon Points!
Points2Shop

Reply
#5
You can not "f*ck" up a server with the cfg file. If the server works it works. The cfg files are just as the extension kinda tells, things you can configure so the server runs like you want it to. You can't really do anything wrong in there (with one exception, the rates, if you set them too low your server will lag like shit Big Grin)
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#6
Drocona Wrote:You can not "f*ck" up a server with the cfg file. If the server works it works. The cfg files are just as the extension kinda tells, things you can configure so the server runs like you want it to. You can't really do anything wrong in there (with one exception, the rates, if you set them too low your server will lag like shit Big Grin)

yes ok, I have understand, I have kept my cfg who is ok for now
Reply
#7
hey guys, a basic question ??

I'm at the same place to my server, I just have to just to join with the lan IP of my server computer its ok. But if I want to connect from other place with internet whats Ip I must use ? in the end of my server promt I have 2 line like master server XXX.XXX.X.XXX:XXXXX x2 and it don't work lol
Reply
#8
The one that shows when you go to this website on the server:
http://www.whatismyip.com
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)