
11-06-2003, 05:30 PM
My server.cfg file looks like this:
/Set the cvars in this file for your server!
// Public Info
exec "public.cfg"
// General Settings
seta sv_fps "20"
seta sv_timeout "120" //amount of time before assuming a disconnected state
seta sv_precache "1"
seta sv_fps "20" //max frame rate to clients - increasing will raise pings
seta sv_maxRate "20000"
seta sv_maxclients "16"
seta g_maxGameClients "0"
seta sv_privateClients "6"
seta sv_allowDownload "0"
seta sv_reconnectlimit "3"
seta sv_zombietime "1"
seta g_inactivity "180"
seta g_forcerespawn "30"
seta g_syncronousclients "0"
seta sv_chatter "1"
// Server Network Settings
set sv_flood_waitdelay "10" //not too sure on this, possibly time before flooder is allowed to type again (default)
set sv_flood_persecond "4" //messages per second to be considered a flood ?? (default)
set sv_flood_msgs "4" // ?? (default)
net_noipx "1" //Disallows IPX connections, TCP only (network protocol)
// Logs
seta g_log "game.log"
seta logfile "1"
seta g_logsync "0"
// Extras
seta sv_maxPing 180
seta sv_minPing “0”
seta sv_floodProtect "1"
// Server Passwords
seta rconPassword "mypassword"
seta g_password ""
seta sv_privatePassword "password"
// Game Type Settings - ATTN-May be overwritten by MOH config file below
// Set the type of game: 1=Deathmatch 2= Team match 3 = Roundbased 4 = Obj
seta g_gametype 4
seta timelimit 20
seta fraglimit 10
// seta capturelimit 6
seta sv_gamespy 1 // Show our server in gamespy
// Game Play Default Settings
//seta g_gravity 800
//seta g_knockback 1000
//seta g_quadfactor 3
//seta g_speed 320
//seta g_weaponRespawn 5
//seta g_weaponTeamRespawn "30" //respawn time in seconds for team games
//seta dmflags "0" // 8 (no falling damage) 16 (fixed FOV) 32 (no footsteps)
// Match Settings
//seta g_doWarmup 1
//seta g_warmup 20
// Team Preferences
seta g_teamAutoJoin 0
seta g_teamForceBalance 1
// seta g_friendlyFire 1
seta g_teamdamage 1 // FF on or Off 1 = on
// Voting
seta g_allowVote 0
// Start the Maprotatin/Game
// seta sv_maplist "obj/obj_team1 obj/obj_team2 obj/obj_team3 obj/obj_team4"
// map obj/obj_team1
// Exec MOHAA specific game setup
// Can exec any of the 4 configs team/round/object/ffa
exec obj.cfg
// writeconfig q3config.cfg // doesnt seem to be necessary in moh?
// wait
// Banned Players
seta g_filterBan "1"
exec "banned.cfg"
Is there something wrong ?
|