Setting up my server

Discussion for Admins of ETPro/BayonET servers.
If you don't run a server, please don't post here...

Moderators: Forum moderators, developers

Locked_On
Posts: 171
Joined: Wed Oct 22, 2003 5:30 pm

Sample Config

Post by Locked_On »

Sample Config:

//Memory settings
//set com_hunkmegs "192" //Memory allocated to game - nothing >192 is used
//set com_zonemegs "128" //
//set com_soundmegs "36" //Memory allocated to Sound - nothing >36 is used


set dedicated "2" // 1: lan 2: internet
// set net_ip "" // set to override the default IP ET uses
// set net_port "27960" // set to override the default port ET uses

// PASSWORDS & CLIENTS

set sv_maxclients "23" // number of players including private slots
set g_password "" // set to password protect the server
set sv_privateclients "3" // if set > 0, then this number of client slots will be reserved for connections
set sv_privatepassword "xxxxxx" // that have "password" set to the value of "sv_privatePassword"
set rconpassword "xxxxxx" // remote console access password
set refereePassword "xxxxxxx" // referee status password


// DL, RATE

set sv_maxRate "15000" // 10000 standard but poor for ET
set sv_dl_maxRate "15000" // increase/decerease if you have plenty/little spare bandwidth
set sv_allowDownload "1" // global toggle for both legacy download and web download
set sv_wwwDownload "0" // toggle to enable web download
//set sv_wwwBaseURL "http://www.someplace.com/" // base URL for redirection
set sv_wwwDlDisconnected "0" // tell clients to perform their downloads while disconnected from the server
set sv_wwwFallbackURL "" // URL to send to if an http/ftp fails or is refused client side
set sv_minping "1"
set sv_maxping "250"
set g_antilag "1"
seta sv_timeout "200" //amount of time before assuming a disconnected state


// MASTER SERVERS TO REPORT TO

set sv_master1 "etmaster.idsoftware.com"
set sv_master2 "master.gamespy.com:27900"
set sv_master3 "master0.gamespy.com"
set sv_master4 "clanservers.net"
set sv_master5 "eg.dynip.com"

//seta sv_master3 "wolfmaster.idsoftware.com"





// Server Info

seta sv_hostname "^1Arizona Heat 10 Map"

sets g_needpass "0" // tell's ASE etc the server is passworded
sets sv_pure "1" // so it shows up in server info (optional)
sets .Admin "Raptor"
//sets "*Unlagged" "This Server Has Lag Compensation"
sets .Email "azraptor@cox.net"
sets .Address "207.44.249.30:27960"
sets .Clan "^1Arizona Heat"
sets .Web "arizonaheat.net"
//sets ".Connection" "oc-48"
//sets .Location "Houston,TX"
//sets ".SkinPak" ""
sets .Plug "God_Bless_America"
//sets .Host "www.battle-haven.com"
//sets .Info1 ""
//sets .Info2 ""
//sets .Info3 ""
sets username "AZHEAT" //block out your computer account name


//Message Of The Day
set server_motd0 "^1W^7e^4l^1c^7o^4m^1e"
//set server_motd1 "^2[AZ]^6Locked On^7's"
set server_motd1 "^1B^HE^6N^HS^5T^HE^8R^7's"
set server_motd2 "10 Map Rotation"
set server_motd3 "^6Have Fun!"
set server_motd4 "^3Please visit us:"
set server_motd5 "^1arizonaheat.net"


//Complaints
g_complaintlimit "4" //0 will disable
g_disableComplaints "7" //added together: mines (1), airstrikes (2), and mortars (4)
set g_ipcomplaintlimit "3"


// Game Play Default Settings
seta g_enableBreath "1"
seta g_gravity "800"
seta g_knockback "1000"
seta g_speed "320"
seta g_weaponRespawn "5"
seta g_weaponTeamRespawn "20" //respawn time in seconds for team games
seta dmflags "0" //8 (no falling damage) 16 (fixed FOV) 32 (no footsteps)


// MISC SETTINGS

set g_heavyWeaponRestriction "100" //maximum percentage of heavy weapons

set team_maxMortars "-1" //max allowed mortars -1 is no limit
set team_maxFlamers "-1" //max allowed flammers
set team_maxMg42s "-1" //max allowed MG 42s
set team_maxPanzers "-1" //max allowed panzers


seta g_inactivity "300"
seta sv_screenshake "1" //the shaking of the video during explosions

set g_altStopwatchMode "0"
set g_autofireteams "1"
set g_fastres "0"
set g_friendlyFire "1"
//set g_gametype "4" // Game type should be set from map rotation script
set g_minGameClients "0"
//set g_gameClients "20"
set g_maxlives "0"
set g_alliedmaxlives "0"
set g_axismaxlives "0"
set g_teamforcebalance "1"
set g_noTeamSwitching "0"
set g_voiceChatsAllowed "6"
set g_doWarmup "0"
set g_warmup "35"
set g_spectatorInactivity "0" //Kick spec after 5 minutes
set sv_floodProtect "1"
set sv_allowDownload "1"
set sv_pure "1"
set match_latejoin "1"
set match_minplayers "0"
set match_mutespecs "0"
set match_readypercent "70"
set match_timeoutcount "0"
set match_warmupDamage "2"
set team_maxplayers "0" //can cap number of players
set team_nocontrols "0"
set pmove_fixed "0"
set pmove_msec "8"
set g_soldierchargetime "30000"
set g_engineerchargetime "20000"
set g_medicchargetime "45000"
set g_ltchargetime "40000"
set g_covertopschargetime "30000"
set g_useralliedrespawntime "20"
set g_useraxisrespawntime "20"


// LMS ONLY SETTINGS

set g_lms_teamForceBalance "1"
set g_lms_roundlimit "3"
set g_lms_matchlimit "2"
set g_lms_currentMatch "0"
set g_lms_lockTeams "0"
set g_lms_followTeamOnly "1"


// MAX LIVES ~ settings for limited life servers

set g_maxlives "0" // set this to limit lives per player
set g_alliedmaxlives "0" // set this to limit lives for allies team
set g_axismaxlives "0" // set this to limit lives for axis team


// VOTING

set g_allowVote "1"
//set g_voteflags "0"
set vote_limit "5"
set vote_percent "60"
set vote_allow_comp "0"
set vote_allow_gametype "0"
set vote_allow_kick "1"
set vote_allow_map "0"
set vote_allow_matchreset "0"
set vote_allow_mutespecs "0"
set vote_allow_nextmap "0"
set vote_allow_pub "0"
set vote_allow_referee "0"
set vote_allow_shuffleteams "1"
set vote_allow_swapteams "0"
set vote_allow_friendlyfire "0"
set vote_allow_timelimit "0"
set vote_allow_warmupdamage "0"
set vote_allow_antilag "0"
set vote_allow_balancedteams "0"
set vote_allow_muting "1"


// PUNKBUSTER

// sv_punkbuster is a readonly variable. Use +set sv_punkbuster on command line or use the command pb_sv_enable in the console
pb_sv_enable
set pb_sv_punkbuster "1"
PB_SV_AutoUpdBan 1
PB_SV_BanLoad

// reload ban list every 15 minutes
pb_sv_task 1 900 "pb_sv_banempty"
pb_sv_task 2 900 "pb_sv_banload"


// periodically check some cvar limits
// NOTE: the following 2 lines only work for PB Server v0.991 and later
pb_sv_task 60 600 "pb_sv_cvarsrch com_maxfps"
pb_sv_task 120 600 "pb_sv_bindsrch com_maxfps"


pb_sv_httpPort 27777
pb_sv_httpAddr 207.44.249.30
//pb_sv_httpKey xxx
pb_sv_httpRefresh 30 //999 disables
//pb_sv_httpMaps


//screen shots
PB_SV_AutoSs 1
PB_SV_AutoSsFrom 60
PB_SV_AutoSsTo 800




pb_sv_cvarempty
pb_sv_kicklen 1
PB_SV_PowerKickLen 10
pb_sv_autoUpdBan 1
pb_sv_CQC 1
pb_sv_EmptyName 0
pb_sv_minName 1
pb_sv_extChar 1
pb_sv_dupNameGrace 20
Pb_sv_noguidgrace 20
pb_sv_updategrace 300
pb_sv_guidrelax 0
pb_sv_scoreKick -4


// BAD NAMES

pb_sv_badname 30 TEAMMATE
pb_sv_badname 30 teamate
pb_sv_badname 30 disguised
pb_sv_badname 30 disgised
pb_sv_badname 30 desguised
pb_sv_badname 30 desgised
pb_sv_badname 30 nigga
pb_sv_badname 30 UnNamedPlayer
pb_sv_badname 30 Penis
pb_sv_badname 30 Hitler
pb_sv_badname 30 gay
pb_sv_badname 30 fag
pb_sv_badname 30 cunt
pb_sv_badname 30 fuck
pb_sv_badname 30 shit
pb_sv_badname 30 bitch
pb_sv_badname 30 fucker
pb_sv_badname 30 slut
pb_sv_badname 30 whitepower
pb_sv_badname 30 nigger
pb_sv_badname 30 jew
pb_sv_badname 300 ETPlayer
pb_sv_badname 300 wolfplayer

//Banned IPs
//set g_banIPs "##.##.##.##"



//These limits set the acceptable range for setting change as mandated by the TWL

pb_sv_cvar cl_maxpackets in 30 100
pb_sv_cvar cl_timenudge in 0 0
pb_sv_cvar rate in 5000 25000
pb_sv_cvar snaps in 20 40

pb_sv_cvar cl_freelook in 1
pb_sv_cvar cg_bobup in 0 0.005
pb_sv_cvar cg_fov in 90 120
pb_sv_cvar cg_shadows in 0 1
pb_sv_cvar cg_thirdperson in 0
pb_sv_cvar com_maxfps out 0.00001 40
pb_sv_cvar m_pitch out -0.015 0.015
pb_sv_cvar m_yaw in 0.022
pb_sv_cvar r_flares in 0 1

pb_sv_cvar r_gamma in 1 3
pb_sv_cvar r_intensity in 1 1.5
pb_sv_cvar r_mapoverbrightbits in 2 3
pb_sv_cvar r_overbrightbits in 0 1
pb_sv_cvar r_picmip in 0 3
pb_sv_cvar r_rmse in 0

pb_sv_cvar r_nv_fogdist_mode INCLUDE NV // this cvar displays a violation that doesnt exist , pub bug.
pb_sv_cvar r_primitives IN 0 2
pb_sv_cvar cg_reticleType IN 0 1
pb_sv_cvar cg_errordecay IN 100

pb_sv_cvar r_drawentities in 1
pb_sv_cvar r_lightmap in 0 1
pb_sv_cvar r_showtris in 0
pb_sv_cvar r_showmodelbounds in 0
pb_sv_cvar r_shownormals in 0
pb_sv_cvar r_wolffog in 1


// ET Pro

//set b_defaultskills 0 0 0 0 0 0 0 //skills started with (0-4) bs,eng,med,fo,light wep,hev wep,co in that order
set b_noskillupgrades 0 //levels can't be raised
set b_shove 80 //move out of the way
set b_shove_noz 0 //0=can't shove up (over wall)
set b_statsaver 1 //savesstats until new campaign
set b_intermissiontime 35
set b_privatemessages 2
set b_match_warmupjoin 1
set b_xpstopwatch 0
set b_multiview 0 //disabled, takes powerful server
set b_stickycharge 0
set b_spectatornames 2
//set b_mapscriptdirectory "mapconfigs"

//Set the amount of xp to raise level 4 sets of 4digit numbers representing levels 1 2 3 4 -1 disables
//example: "20 50 90 140" all levels reached in succession by xps stated, "20 50 -1 140" Level 3 will not be reached
//set b_levels_battlesense ""
//set b_levels_engineer ""
//set b_levels_medic ""
//set b_levels_fieldops ""
//set b_levels_lightweapons ""
//set b_levels_soldier ""
//set b_levels_covertops ""



//ET Pro Banners
b_banners 8
b_bannerlocation 2
//0 - Player chat area
//1 - Left popup area (not recommended)
//2 - Centerprint area (where, for example, the 'Arming dynamite...' message is displayed)
//3 - Console only
//4 - Banner area (the very top of the screen)
b_bannertime 59
set b_banner1 "Thank you for playing on ^1 Arizona Heat ^4207.44.249.30."
set b_banner2 "Please respect all players and have fun."
set b_banner3 "^3For tips on how to play the game, visit http://planetwolfenstein.com/4newbies."
set b_banner4 "Please visit us at ^1arizonaheat.net."
set b_banner5 "^4This is a family friendly server, please watch the language."
set b_banner6 "^3You can't win all the time, no whining."
set b_banner7 "Violaters of server rules will be kicked or banned."
set b_banner8 "If you have any problems while playing on this server, email ^3azlockedon@yahoo.com"
//set b_banner9 "We have added maps to the rotation. If you have any comments or requests, pleast post in our forums.


// LOGGING

set g_log "etpro.log" // Game logging
set g_logsync "0"
set logfile "1" // Console logging ( 1: enable 2: enable and sync )


// MAP ROTATION

//exec azheat.cfg // Campaign mode
exec campaign_benster10map.cfg
//exec objectivecycle.cfg // Objective mode
//exec lmscycle.cfg // Last Man Standing mode


// WATCHDOG

// in case the game dies with an ERR_DROP
// or any situation leading to server running with no map
//set com_watchdog 10 // defaults 60
set com_watchdog_cmd "exec campaign_benster10map.cfg" // defaults to quit
-------------------------------------
www.terminal-insanity.com
Locked_On
Posts: 171
Joined: Wed Oct 22, 2003 5:30 pm

Inside campaign_benster10map.cfg

Post by Locked_On »

Inside campaign_benster10map.cfg also placed in etmain:


set d1 "campaign benster10_campaign ; set nextcampaign vstr d2"
set d2 "campaign benster10_campaign ; set nextcampaign vstr d1"

// server doesn't recognise the campaign command when the gamecode isn't running yet.
set d_initial "set g_gametype 4 ; map battery ; set nextcampaign vstr d2"
vstr d_initial
-------------------------------------
www.terminal-insanity.com
Post Reply