Server cfg question

Talk about anything related with the servers

Moderator: Core Staff

Post Reply
beerxcarlos
CJ Newbie
CJ Newbie
Posts: 63
Joined: February 28th, 2009, 12:33 pm

Server cfg question

Post by beerxcarlos » July 28th, 2010, 8:44 pm

Does it matter where you put the following commands
set cj_adminguids
set cj_voteratio 0.6
set cj_votelockout 60
set cj_voteduration 20
Also where do you change map lenth

Would anyone in the know, beable to put the above in where they need to go in cfg can they just be put at bottom, any help appreciated. Top notch this site, thanks in advance.

Btw yes its me pedsdude the guy you spent 2 minutes finding out a problem that many had spent hrs on all hail peds god

//******************************************************************************
// Call of Duty 4 Server Configuration File



//******************************************************************************
// Color Codes
//******************************************************************************
// Colors for text. Do not clear the comment in front of the color codes.
// Useful for your server name, motd msg's - Information and ref use only
//
// ^1 = Red
// ^2 = Green
// ^3 = Yellow
// ^4 = Blue
// ^5 = Cyan
// ^6 = pink/Magenta
// ^7 = White
// ^0 = Black

//******************************************************************************
// Public Information
//******************************************************************************
sets sv_hostname "^2Kings^3Cod^1Jumper"
sets _Admin "XGServers"
sets _Email ""
sets _Website "www.xgservers.co.uk"
sets _Location "UK"
sets _Irc ""
set scr_motd ""

//******************************************************************************
// Common Server Settings
//******************************************************************************
// Log Settings
set g_logsync "2" // 0=no log, 1=buffered, 2=continuous, 3=append
set logfile "1" // 0 = NO log, 1 = log file enabled
set g_log "games_mp.log" // Name of log file, default is games_mp.log
set sv_log_damage "1"

// Master servers
set sv_master1 "cod2master.activision.com"
set sv_master2 "cod2authorize.activision.com"
set sv_master3 "cod2master.infinityward.com"
set sv_master3 "cod2update.activision.com"
set sv_master4 "master.gamespy.com:28960"
set sv_master5 "master0.gamespy.com"
set sv_master6 "master1.gamespy.com"
set sv_master7 "clanservers.net"
set sv_gamespy "1"

// Password Settings
set rcon_password "" // RCON must supply pw to use
set sv_privatePassword "" // Private slots, non-public slots

// The following can be used to lock out the server so that only those
// players that have been provide the password can connect. Good for
// matches, practices, etc.
set g_password ""

// Player slots setup
set sv_privateclients "" // Number of private player slots, maxclients - privateclients = public slots

// Ping
set sv_minPing "0" // MIN player ping on CONNECT, any lower and player isnt allowed to connect
set sv_maxping "180" // MAX player ping on CONNECT, any higher and player isnt allowed to connect

// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
// See included Quick Setup Guide for instructions.
set sv_allowdownload "1"
set sv_wwwDownload "1"
//set sv_wwwBaseURL "http://www.your_website.com/base_folder"
set sv_wwwBaseURL "http://www.clanfiles.co.uk/downloads/577"
set sv_wwwDlDisconnected "0"

// Rate
set sv_maxRate "5000"

// Drop inactive players
set sv_timeout "300"
set sv_zombietime "1"
set g_inactivity "0"
set g_inactivityspectator "0"

// AntiFlooding Settings
set sv_floodProtect "1"
set sv_reconnectlimit "3"

// Anti Cheat Settings
set sv_disableClientConsole "0"
set cl_autocmd "0"
set sv_cheats "0"
set sv_pure "1"
set g_banIPs ""
set g_no_script_spam "1"
set sv_punkbuster "1"

// Temporary Ban duration, in seconds
set sv_kickBanTime "3600"

// Voting
set g_allowVote "1"
set scr_allow_vote "1"
set g_allowvotetempbanuser "1"
set g_allowvotetempbanclient "1"
set g_allowvotekick "1"
set g_allowvoteclientkick "1"
set g_allowvotegametype "1"
set g_allowvotetypemap "1"
set g_allowvotemap "1"
set g_allowvotemaprotate "1"
set g_allowvotemaprestart "0"
set g_allowVoteDrawFriend "1"
set g_allowVoteFriendlyFire "0"
set g_allowVoteKillCam "0"

// In-game voice communication system
set sv_voice "0"
set sv_voiceQuality "1"
set voice_deadChat "0"
set voice_global "0"
set voice_localEcho "0"
set winvoice_mic_mute "1"

//******************************************************************************
// Misc
//******************************************************************************
set sv_allowAnonymous "0"
set g_antilag "0"
set g_compassShowEnemies "0"

//******************************************************************************
// gameplay
//******************************************************************************
set scr_game_allowkillcam 0
set scr_game_onlyheadshots 0
set scr_game_deathpointloss 0
set scr_game_suicidepointloss 0
set scr_team_teamkillpointloss 1
set scr_game_spectatetype 2
set scr_game_forceuav 0
set scr_game_hardpoints 1
set scr_oldschool 1

//******************************************************************************
// GAME TYPE SETTINGS
//******************************************************************************
// DEATHMATCH
//******************************************************************************
set scr_dm_scorelimit 2000
set scr_dm_timelimit 25
set scr_dm_roundlimit 1
set scr_dm_numlives 0
set scr_dm_playerrespawndelay 0
set scr_dm_waverespawndelay 0

//******************************************************************************
// DOMINATION
//******************************************************************************
set scr_dom_scorelimit 200
set scr_dom_timelimit 25
set scr_dom_roundlimit 1
set scr_dom_numlives 0
set scr_dom_playerrespawndelay 0
set scr_dom_waverespawndelay 0

//******************************************************************************
// TEAM DEATHMATCH
//******************************************************************************
set scr_war_scorelimit 5000
set scr_war_timelimit 20
set scr_war_roundlimit 1
set scr_war_numlives 0
set scr_war_playerrespawndelay 0
set scr_war_waverespawndelay 0

//******************************************************************************
// SABOTAGE
//******************************************************************************
set scr_sab_scorelimit 1
set scr_sab_timelimit 20
set scr_sab_roundlimit 0
set scr_sab_roundswitch 1
set scr_sab_numlives 0
set scr_sab_bombtimer 30
set scr_sab_planttime 2.5
set scr_sab_defusetime 5
set scr_sab_hotpotato 0
set scr_sab_playerrespawndelay 7.5
set scr_sab_waverespawndelay 0

//******************************************************************************
// SEARCH AND DESTROY CLASSIC
//******************************************************************************
set scr_sd_scorelimit 10
set scr_sd_timelimit 2.5
set scr_sd_roundlimit 0
set scr_sd_roundswitch 3 // rounds between switching teams
set scr_sd_numlives 1 // elimination
set scr_sd_bombtimer 45
set scr_sd_planttime 5
set scr_sd_defusetime 5
set scr_sd_multibomb 0
set scr_sd_playerrespawndelay 0
set scr_sd_waverespawndelay 0

//******************************************************************************
// CAPTURE THE FLAG -- NOT INCLUDED IN COD4
//******************************************************************************
//set scr_ctf_scorelimit 10
//set scr_ctf_timelimit 5
//set scr_ctf_roundlimit 2
//set scr_ctf_roundswitch 1
//set scr_ctf_numlives 0
//set scr_ctf_playerrespawndelay 0
//set scr_ctf_waverespawndelay 15

//******************************************************************************
// KING OF THE HILL
//******************************************************************************
set scr_koth_scorelimit 700
set scr_koth_timelimit 15
set scr_koth_roundlimit 1
set scr_koth_roundswitch 1
set scr_koth_numlives 0
set scr_koth_playerrespawndelay 0
set scr_koth_waverespawndelay 0
set koth_autodestroytime 60
set koth_spawntime 0
set koth_kothmode 0
set koth_capturetime 20
set koth_destroytime 10
set koth_delayPlayer 0
set koth_spawnDelay 60

//******************************************************************************
// First gametype to load
// "dm" - free for all deathmatch
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
// "war" - team deathmatch
//******************************************************************************
//MAP ROTATION SETTINGS - Uncomment the map line for the gametype you wish to play.
//
//******************************************************************************
// DM -- FREE FOR ALL DEATHMATCH
//******************************************************************************
set sv_mapRotation "gametype dm map mp_adventur_jump gametype dm map mp_creek gametype dm map mp_carentan gametype dm map mp_broadcast gametype dm map mp_crash_snow gametype dm map mp_backlot gametype dm map mp_bloc gametype dm map mp_bog gametype dm map mp_cargoship gametype dm map mp_citystreets gametype dm map mp_convoy gametype dm map mp_countdown gametype dm map mp_crash gametype dm map mp_crossfire gametype dm map mp_farm gametype dm map mp_overgrown gametype dm map mp_pipeline gametype dm map mp_shipment gametype dm map mp_showdown gametype dm map mp_strike gametype dm map mp_vacant"

//******************************************************************************
// DOM -- DOMINATION
//******************************************************************************
//set sv_mapRotation "gametype dom map mp_killhouse gametype dom map mp_creek gametype dom map mp_carentan gametype dom map mp_broadcast gametype dom map mp_crash_snow gametype dom map mp_backlot gametype dom map mp_bloc gametype dom map mp_bog gametype dom map mp_cargoship gametype dom map mp_citystreets gametype dom map mp_convoy gametype dom map mp_countdown gametype dom map mp_crash gametype dom map mp_crossfire gametype dom map mp_farm gametype dom map mp_overgrown gametype dom map mp_pipeline gametype dom map mp_shipment gametype dom map mp_showdown gametype dom map mp_strike gametype dom map mp_vacant"

//******************************************************************************
// KOTH -- HEADQUARTERS
//******************************************************************************
//set sv_mapRotation "gametype koth map mp_killhouse gametype koth map mp_creek gametype koth map mp_carentan gametype koth map mp_broadcast gametype koth map mp_crash_snow gametype koth map mp_backlot gametype koth map mp_bloc gametype koth map mp_bog gametype koth map mp_cargoship gametype koth map mp_citystreets gametype koth map mp_convoy gametype koth map mp_countdown gametype koth map mp_crash gametype koth map mp_crossfire gametype koth map mp_farm gametype koth map mp_overgrown gametype koth map mp_pipeline gametype koth map mp_shipment gametype koth map mp_showdown gametype koth map mp_strike gametype koth map mp_vacant"

//******************************************************************************
// SAB -- SABOTAGE
//******************************************************************************
//set sv_mapRotation "gametype sab map mp_killhouse gametype sab map mp_creek gametype sab map mp_carentan gametype sab map mp_broadcast gametype sab map mp_crash_snow gametype sab map mp_backlot gametype sab map mp_bloc gametype sab map mp_bog gametype sab map mp_cargoship gametype sab map mp_citystreets gametype sab map mp_convoy gametype sab map mp_countdown gametype sab map mp_crash gametype sab map mp_crossfire gametype sab map mp_farm gametype sab map mp_overgrown gametype sab map mp_pipeline gametype sab map mp_shipment gametype sab map mp_showdown gametype sab map mp_strike gametype sab map mp_vacant"

//******************************************************************************
// SD -- SEARCH & DESTROY
//******************************************************************************
//set sv_mapRotation "gametype sd map mp_killhouse gametype sd map mp_creek gametype sd map mp_carentan gametype sd map mp_broadcast gametype sd map mp_crash_snow gametype sd map mp_backlot gametype sd map mp_bloc gametype sd map mp_bog gametype sd map mp_cargoship gametype sd map mp_citystreets gametype sd map mp_convoy gametype sd map mp_countdown gametype sd map mp_crash gametype sd map mp_crossfire gametype sd map mp_farm gametype sd map mp_overgrown gametype sd map mp_pipeline gametype sd map mp_shipment gametype sd map mp_showdown gametype sd map mp_strike gametype sd map mp_vacant"

//******************************************************************************
// WAR -- TEAM DEATH MATCH
//******************************************************************************
//set sv_mapRotation "gametype war map mp_creek gametype war map mp_carentan gametype war map mp_broadcast gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_citystreets gametype war map mp_convoy gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_farm gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant"


exec pbsv.cfg
exec playercontrol.cfg
exec weaponcontrol.cfg

set sv_mapRotation "gametype cj map mp_inferno_paradiso gametype cj map mp_teliport_v2 gametype cj map mp_sonic gametype cj map mp_rocket gametype cj map mp_portal gametype cj map mp_peds_propel gametype cj map mp_mountainbase gametype cj map mp_lost_world gametype cj map mp_jumpzor gametype cj map mp_jumpsensation gametype cj map mp_jump_team gametype cj map mp_impossible gametype cj map mp_future gametype cj map mp_crazy_jump gametype cj map mp_easy_jump gametype cj map mp_cleopatra gametype cj map mp_bouncer_training gametype cj map mp_adventur_jump gametype cj map mp_the_secret gametype cj map mp_winter_codjump gametype cj map mp_codjump gametype cj map mp_up_high gametype cj map mp_adventur_jump gametype cj map mp_vectra"

Pedsdude
Site Admin
Site Admin
Posts: 15909
Joined: October 15th, 2004, 7:18 pm
Location: UK

Re: Server cfg question

Post by Pedsdude » July 28th, 2010, 9:18 pm

beerxcarlos wrote:all hail peds god
:lol:

It shouldn't matter where you place it, although I tend to put it at the bottom of the config.

From #1:
//******************************************************************************
// WAR -- TEAM DEATH MATCH
//******************************************************************************
//set sv_mapRotation "gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_bog gametype war map mp_cargoship gametype war map mp_citystreets gametype war map mp_convoy gametype war map mp_countdown gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_farm gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_shipment gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant"
//set sv_mapRotation "gametype cj map mp_backlot gametype cj map mp_bloc gametype cj map mp_bog gametype cj map mp_cargoship gametype cj map mp_citystreets gametype cj map mp_convoy gametype cj map mp_countdown gametype cj map mp_crash gametype cj map mp_crossfire gametype cj map mp_farm gametype cj map mp_overgrown gametype cj map mp_pipeline gametype cj map mp_shipment gametype cj map mp_showdown gametype cj map mp_strike gametype cj map mp_vacant gametype cj map mp_climbing gametyp dm map mp_oldschool gametype cj map mp_jump_camp gametype cj map mp_jumperpro_125 gametype cj map mp_gap_training"


//CODJUMPER MOD

set cj_logo "1"
set cj_sponsor "1"
set cj_allowvote "0"
set cj_votedelay 300
set cj_disablerpg "0"
set cj_timelimit "25"

set cj_msg_rotate_1 "^1CoD^7Jumper^8.com ^1- ^7For all your CoDJumping needs!"
set cj_msg_rotate_2 "^1S^7erver ^2sponsored^7 by ^5www^7.^5lowpings^7.^5net^7"
set cj_msg_rotate_3 "^7Xfire group: ^2www.xfire.com/clans/codjumper"
set cj_msg_rotate_4 "^1codjumperv3 ^7mod test in progress!"

set cj_msg_delay 10
set cj_deleteents 0
set cj_showdamage_trigger 1
set cj_welcome "1::CoD^8Jumper^7.com ^1NEW ^7BETA ^1Mod::2::^3Improved ^7Voting Menu^1!::1::^7Check your quickchat menu"
set cj_voteduration "30"
set cj_votelockout "30"
set cj_voteratio "0.6"
set cj_autoadmin "1"
set cj_adminguids ""

set sv_mapRotation "gametype cj map mp_vectra gametype cj map mp_teliport_v2 gametype cj map mp_sonic gametype cj map mp_dungeon_p gametype cj map mp_jumpzor gametype cj map mp_portal gametype cj map mp_pgb_jump gametype cj map mp_ib_glass_v3 gametype cj map mp_trial_2_p gametype cj map mp_winter_codjump gametype cj map mp_gp_jump gametype cj map mp_mountainbase gametype cj map mp_yo gametype cj map mp_peds_propel gametype cj map mp_cleopatra gametype cj map mp_jumperpro_125 gametype cj map mp_spacestation gametype cj map mp_rocket gametype cj map mp_codjumper_training gametype cj map mp_jm_sewer gametype cj map mp_skipper gametype cj map mp_badboys gametype cj map mp_ib_hq gametype cj map mp_jump_camp gametype cj map mp_all_in gametype cj map mp_crazy_jump"
Image
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests