Silent Server Config: Difference between revisions

From MyGamingTalk
(Created page with "= Example silEnT Mod Server Config = // silEnT mod - Sample server.cfg file // If you need help contact us on forums. http://mygamingtalk.com/ // Generic server cvars // //...")
 
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Example silEnT Mod Server Config =
= silEnT Mod Example Server Config =


<pre>
// silEnT mod - Sample server.cfg file
// silEnT mod - Sample server.cfg file
// If you need help contact us on forums. http://mygamingtalk.com/
// If you need help contact us on forums. http://mygamingtalk.com/


//
// Generic server cvars //
// Generic server cvars //


Line 18: Line 20:
set server_motd5 ""
set server_motd5 ""


set sv_maxclients ""
set sv_maxclients "20" // Number of players including private slots
set g_password ""
set g_password "" // Password required to connect (g_needpass must be 1)
set sv_privateclients 0
set g_needpass 0 // Require password to join server
set sv_privatepassword ""
set sv_privateclients 0 // Number of private slots
set sv_privatepassword "" // Password to access private slots
set sv_fullmsg "Server is full."
set sv_fullmsg "Server is full."


Line 27: Line 30:
set refereePassword ""
set refereePassword ""


set sv_maxRate 45000
set sv_maxRate 50000
set sv_dl_maxRate 42000
set sv_dl_maxRate 50000
set sv_allowDownload 1
set sv_allowDownload 1
set sv_wwwDownload 1
//
set sv_wwwDlDisconnected 1
// Uncomment below once you have the www downloads set
set sv_wwwBaseURL ""
//set sv_wwwDownload 1
set sv_wwwFallbackURL ""
//set sv_wwwDlDisconnected 1
//set sv_wwwBaseURL "" // This is the URL where players are directed while running the game
//set sv_wwwFallbackURL "" // This is the URL where players are directed to download using external internet browser


set sv_pure 1
set sv_pure 1
Line 39: Line 44:
set sv_maxping 0
set sv_maxping 0


// silEnT mod supported cvars
// Uncomment the sv_master settings when you're ready for the server to go public
set sv_master1 ""
//set sv_master1 "etmaster.idsoftware.com"
//set sv_master2 "master0.etmaster.net
 
// generic logging
set g_log "server.log"
set logfile 2


set g_antilag 1
//****************************************************************************************************
set g_antiwarp 1
// silEnT mod supported cvars //
set g_maxWarp 4
//
set g_skipCorrection 1
// This configuration is built to only change values from their defaults
set g_heavyWeaponRestriction 100
// or to make a point about the setting.
set g_altStopwatchMode 0
 
set g_autofireteams 1
//**************************************************
set g_complaintlimit 6
// silEnT AntiCheat
set g_ipcomplaintlimit 3
//**************************************************
set g_fastres 0
set g_friendlyFire 1
set g_disableComplaints 0
set g_minGameClients 0
set g_maxlives 0
set g_alliedmaxlives 0
set g_axismaxlives 0
set g_teamforcebalance 0
set g_noTeamSwitching 0
set g_doWarmup 0
set g_warmup 60
set match_latejoin "1"
set match_minplayers 4
set match_mutespecs 0
set match_readypercent 100
set match_warmupDamage 1
set team_maxplayers 0
set g_speed 320
set g_gravity 800
set g_knockback 1000
set g_inactivity 0
set g_spectatorInactivity 0
set g_maxConnsPerIP 4
set shoutcastPassword ""
set g_spoofOptions 3
set g_maxNameChanges 3
set g_watermark ""
set g_watermarkFadeAfter 0
set g_watermarkFadeTime 0
set g_inactivityOptions 3
set g_ettvFlags 3


// Votes
set g_silentac 2
set g_voting 0
set g_clientbinaries 6
set vote_limit 5
set vote_percent 50
set g_noVoteTime 0
set vote_allow_comp 1
set vote_allow_gametype 1
set vote_allow_kick 1
set vote_allow_map 1
set vote_allow_matchreset 1
set vote_allow_mutespecs 1
set vote_allow_nextmap 1
set vote_allow_pub 1
set vote_allow_referee 0
set vote_allow_shuffleteamsxp 1
set vote_allow_swapteams 1
set vote_allow_friendlyfire 1
set vote_allow_timelimit 0
set vote_allow_warmupdamage 1
set vote_allow_antilag 1
set vote_allow_balancedteams 1
set vote_allow_muting 1
set vote_allow_surrender 1
set vote_allow_nextcampaign 1
set vote_allow_restartcampaign 1
set vote_allow_poll 1
set vote_allow_maprestart 1
set vote_allow_shufflenorestart 1
set vote_allow_cointoss 1


// Logs
//**************************************************
set g_log "server.log"
// Announcements and Messages
set g_cheatLog "cheat.log"
//**************************************************
set logfile 2
set g_logOptions 0
set g_logAdmin "admin.log"


// XP Save configuration
set g_privateMessages 1
set g_XPSave 21
set g_spreeOptions 2291
// Only stored XP
set g_multikilltime 2000
set g_XPSaveMaxAge_xp "30d"
set g_dropMsg "Protest this kick at example.com"
// Stored XP and all rating values
set g_landmineNotifyType 1
set g_XPSaveMaxAge "30d"
set g_banners "banners.cfg"
set g_damageXP "1"
set g_damageXPLevel "50"
set g_maxXP "90000"
set g_xpdecay "0"
set g_xpdecayrate "0"
set g_xpdecayfloor "1"
//set g_punkbuster 1


//**************************************************
// User Database, Shrubbot and Bans
//**************************************************


// Shrubbot and Database
set g_dbDirectory "database"
set g_dbDirectory "database"
set g_dbUserMaxAge "90d"
set g_dbUserMaxAge "90d"
set g_minConnectLevel 0
set g_dbMaxAliases 20
// see documentation about tyranny enabled commands and flags
 
set g_tyranny 1
set g_tyranny 1 // see shrubbot documentation about tyranny enabled commands and flags
set g_greetingPos 0
 
set g_warningOptions 0
set g_warningOptions 0
set g_maxWarnings 3
set g_warningDecay 24
set g_warningDecay 24
set g_maxWarnings 3
set g_autoTempBan 0
set g_autoTempBanTime 1800


set g_shuffle_rating 3
set g_autoTempBan 6


//
//**************************************************
// Censoring
// XP Save
set g_censor ""
//**************************************************
set g_censorNames ""
set g_censorNeil 0
set g_censorNeilNames 0
set g_censorPenalty 0
set g_censorMuteTime 60
set g_censorXP 5


//
set g_XPSave 9
// Intermission
set g_intermissionTime 45
set g_intermissionReadyPercent 100


//
// Enable disable preferred style
// Skill points needed for level
set skill_soldier "20 50 90 140"
set skill_medic "20 50 90 140"
set skill_engineer "20 50 90 140"
set skill_fieldops "20 50 90 140"
set skill_covertops "20 50 90 140"
set skill_battlesense "20 50 90 140"
set skill_lightweapons "20 50 90 140"


set g_serverInfo 1
// Campaign like XP save for 6 maps with mapvoting gametype
set g_killRating 1
set g_resetXPMapCount 6
set g_playerRating 1
set g_XPSaveMaxAge "90d" // keep KR and PRW saved for longer time
set g_playerRating_mapPad 50
set g_playerRating_minplayers 8
set g_stats 0


// XP is reset after 30 days
//set g_XPSaveMaxAge_xp "30d" // for the XP
//set g_XPSaveMaxAge "90d" // keep KR and PRW saved for longer time


// Custom configs
// Never reset XP (it's not really an option, but a huge value (30 months) will do instead)
set g_mapScriptDirectory "mapscripts"
// Do note that g_dbUserMaxAge should be set to "-1" to disable player record deletions
set g_campaignFile ""
//set g_g_XPSaveMaxAge_xp "30o"
set g_mapConfigs "mapconfigs"
//set g_XPSaveMaxAge "30o"
set g_banners "banners.cfg"


//**************************************************
// Player Statistics, Rating and Team Balance
//**************************************************


// Miscellanous
set g_playerRating 0 // Enable only if the players on your server remain consistently the same
set g_skills 0
set g_teamDamageRestriction 0
set g_minHits 6
set g_weapons 0
set g_mg42 0
set g_goomba 0
set g_goombaFlags 0
set g_spinCorpse 0
set g_teamChangeKills 1
set g_poison 0
set g_poisonFlags 7
set g_slashKill 0
set g_spectator 0
set g_medics 0
set g_medicHealthRegen 0
set g_coverts 0
set g_truePing 0
set g_dropObj 0
set g_hitsounds 1
set g_playDead 0
set g_shove 0
set g_shoveNoZ 0
set g_dragCorpse 0
set g_classChange 0
set g_forceLimboHealth 1
set g_privateMessages 0
set g_packDistance 0
set g_dropHealth 0
set g_dropAmmo 0
set g_tossDistance 0
set g_fear 2000
set g_obituary 1
set g_throwableKnives 1
set g_maxKnives 5
set g_knifeChargeTime 800
set g_constructibleXPSharing 0
set g_asblock 0
set g_panzersVulnerable 0
set g_panzersSpeed 2500
set g_panzersGravity 0
set g_realHead 1
set g_dyno 0
set g_canisterKick 0
set g_spreeOptions 0
set g_multikillTime 1000
set g_medicSelfhealTime 0
set g_maxPanzerSuicides -1
set g_panzerPackDistance 0
set g_maxSelfkills -1
set g_voteResultsMinLevel -1
set g_minCommandWaitTime 0
set g_noSkillUpgrades 0
set g_flushItems 1
set g_headshot 0
set g_instagibDamage 400
set g_staminaRecharge 1.0
set g_mineid 0
set g_landmineNotifyType 1


//
//**************************************************
// Weapon damages and radius settings
// Class and Weapon Restrictions
set g_dmgKnife 10
//**************************************************
set g_dmgSten 14
set g_dmgFG42 15
set g_dmgPistol 18
set g_dmgSMG 18
set g_dmgPPSh 19
set g_dmgMG42 18
set g_dmgMG 20
set g_dmgFG42Scope 30
set g_dmgInfRifle 34
set g_dmgSniper 50
set g_dmgFlamer 5
set g_dmgGrenade 250
set g_dmgGrenadeRadius 250
set g_dmgGLauncher 250
set g_dmgGLauncherRadius 250
set g_dmgLandmine 250
set g_dmgLandmineRadius 250
set g_dmgSatchel 250
set g_dmgSatchelRadius 250
set g_dmgPanzer 400
set g_dmgPanzerRadius 300
set g_dmgMortar 400
set g_dmgMortarRadius 400
set g_dmgDynamite 400
set g_dmgDynamiteRadius 400
set g_dmgAir 400
set g_dmgAirRadius 400
set g_dmgArty 400
set g_dmgArtyRadius 400
set g_dmg 0
set g_dmgHeadShotMin 50
set g_dmgHeadShotRatio 2.0
set g_dmgTMine 260
set g_knifeThrowDamage 50


//
// avoiding spam fest
// Team restrictions
set team_maxMedics -1
set team_maxEngineers -1
set team_maxFieldOps -1
set team_maxCovertOps -1
set g_maxTeamLandmines 10
set g_maxTeamTripmines 3
set team_maxPanzers 1
set team_maxPanzers 1
set team_maxMortars 1
set team_maxMortars 1
set team_maxFlamers 1
set team_maxFlamers 1
set team_maxMG42s 1
set team_maxGrenLaunchers 2
set team_maxGrenLaunchers 2


//
//**************************************************
// Friendly fire
// Player Inactivity
set g_reflectFriendlyFire 0
//**************************************************
set g_reflectFFWeapons 31
 
set g_friendlyFireOpts 0
set g_inactivity 120 // 2 minutes of inactivity before moving to spectators
set g_spectatorInactivity 120 // 2 minutes of inactivity as a spectator before taking actions
set g_inactivityOptions 9 // Don't drop shoutcasters, inactivity kicks in for shrubbot admins as well
 
//**************************************************
// Gametypes - Map Voting
//**************************************************
 
set g_mapVoteFlags 5
set g_maxMapsVotedFor 19
set g_minMapAge 6
 
//**************************************************
// Mapconfigs and Mapscripts
//**************************************************
 
set g_mapConfigs "mapconfigs"
set g_mapScriptDirectory "mapscripts"
 
//**************************************************
// Voting
//**************************************************
 
set g_voting 12
 
// disable certain votes, allow some
set vote_allow_comp 0
set vote_allow_gametype 0
set vote_allow_kick 0
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_shuffleteamsxp 0
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 0
set vote_allow_surrender 0
set vote_allow_nextcampaign 0
set vote_allow_restartcampaign 0
set vote_allow_poll 1
set vote_allow_maprestart 0
set vote_allow_shufflenorestart 1
set vote_allow_cointoss 0
// disable vote blocking from polls
set vote_block_poll -1
 
//**************************************************
// Weapons, Classes and Skills
//**************************************************
 
set g_poison 1
set g_medics 320
set g_throwableKnives 1
set g_knifeChargeTime 1000
set g_constructibleXPSharing 1
set g_asblock 3
set g_dyno 5
set g_canisterKick 1
set g_weapons 37166
set g_classWeapons 10
 
//**************************************************
// Friendly Fire
//**************************************************
 
set g_friendlyFire 1
set g_friendlyFireOpts 12  // beginner friendly mines
 
//**************************************************
// Hitboxes, Physics & Anti Lag Settings
//**************************************************
 
set g_fixedphysics 1
set g_fixedphysicsfps 125
 
//**************************************************
// Hitsounds
//**************************************************


//
// often admins want to default to ETPro hitsounds, uncomment below for that
// Flood protection
//set g_defaultHitSounds 2
set g_floodprotect 1
set g_floodthreshold 6
set g_floodWait 1000
set g_voiceChatsAllowed 4


//
//**************************************************
// Map voting
// Intermission
set g_mapVoteFlags 13
//**************************************************
set g_maxMapsVotedFor 30
set g_minMapAge 5
set g_resetXPMapCount 0


//
set g_intermissionTime 45
// Omni-bots
set g_intermissionReadyPercent 100
set omnibot_enable 0
set omnibot_path ""
set g_bot_maxXP -1
set g_bot_minPlayers -1
set omnibot_flags 0


//
//**************************************************
// Fun wars
// Miscellaneous
//set g_sniperwar 0
//**************************************************
//set g_panzerwar 0
//set g_riflewar 0


//
set g_dropHealth 2
set g_dropAmmo 2
set g_misc 1024
set g_ammoCabinetTime 5000 // the default is a bit slow
set g_healthCabinetTime 5000 // the default is a bit slow
set g_spectator 4
set g_dropObj 3
set g_disableComplaints 16
// Country flags, You need to have GeoIP database installed to use this.
// Country flags, You need to have GeoIP database installed to use this.
set g_countryFlags 1
set g_countryFlags 0
// original spawn invulnerability
//set g_spawnInvul 3
//set g_spawnInvulFair 0
// longer and more fair, so admins can ignore spawn killing events
set g_spawnInvul 5
set spawnInvulFair 1
 
//**************************************************
// Logs
//**************************************************
 
set g_logOptions 16640
set g_logAdmin "admin.log"
set g_cheatLog "cheat.log"
 
//**************************************************
// Omni-Bots
//**************************************************
 
set omnibot_enable 1
//set omnibot_path ""  // set this path manually if the auto-search does not find the Omni-bot files
set g_bot_maxXP -1
set omnibot_flags 262148


//
//**************************************************
// ETPub experimental, not advised to use
// Lua
set g_fixedphysics 0
//**************************************************
set g_fixedphysicsfps 125


//
// Lua API
set lua_modules ""
set lua_modules ""
set lua_allowedModules ""
set lua_allowedModules ""


exec objectivecycle.cfg
exec mapvotecycle.cfg
set com_watchdog 60
set com_watchdog 60
set com_watchdog_cmd "exec objectivecycle.cfg"
set com_watchdog_cmd "exec mapvotecycle.cfg"
</pre>

Latest revision as of 16:07, 11 November 2014

silEnT Mod Example Server Config

// silEnT mod - Sample server.cfg file
// If you need help contact us on forums. http://mygamingtalk.com/

//
// Generic server cvars //

//set dedicated 2
//set net_ip "localhost"
//set net_port 27960

set sv_hostname "ETHost"
set server_motd0 " ^NsilEnT ^7MOTD "
set server_motd1 ""
set server_motd2 ""
set server_motd3 ""
set server_motd4 ""
set server_motd5 ""

set sv_maxclients "20"			// Number of players including private slots
set g_password ""			// Password required to connect (g_needpass must be 1)
set g_needpass 0			// Require password to join server
set sv_privateclients 0			// Number of private slots
set sv_privatepassword ""		// Password to access private slots
set sv_fullmsg "Server is full."

set rconpassword ""
set refereePassword ""

set sv_maxRate 50000
set sv_dl_maxRate 50000
set sv_allowDownload 1
//
// Uncomment below once you have the www downloads set
//set sv_wwwDownload 1
//set sv_wwwDlDisconnected 1
//set sv_wwwBaseURL ""			// This is the URL where players are directed while running the game
//set sv_wwwFallbackURL ""		// This is the URL where players are directed to download using external internet browser

set sv_pure 1
set sv_minping 0
set sv_maxping 0

// Uncomment the sv_master settings when you're ready for the server to go public
set sv_master1 ""
//set sv_master1 "etmaster.idsoftware.com"
//set sv_master2 "master0.etmaster.net

// generic logging
set g_log "server.log"
set logfile 2

//****************************************************************************************************
// silEnT mod supported cvars //
//
// This configuration is built to only change values from their defaults
// or to make a point about the setting.

//**************************************************
// silEnT AntiCheat
//**************************************************

set g_silentac 2
set g_clientbinaries 6

//**************************************************
// Announcements and Messages
//**************************************************

set g_privateMessages 1
set g_spreeOptions 2291
set g_multikilltime 2000
set g_dropMsg "Protest this kick at example.com"
set g_landmineNotifyType 1
set g_banners "banners.cfg"

//**************************************************
// User Database, Shrubbot and Bans
//**************************************************

set g_dbDirectory "database"
set g_dbUserMaxAge "90d"
set g_dbMaxAliases 20

set g_tyranny 1 // see shrubbot documentation about tyranny enabled commands and flags

set g_warningOptions 0
set g_maxWarnings 3
set g_warningDecay 24

set g_autoTempBan 6

//**************************************************
// XP Save
//**************************************************

set g_XPSave 9

// Enable disable preferred style

// Campaign like XP save for 6 maps with mapvoting gametype
set g_resetXPMapCount 6
set g_XPSaveMaxAge "90d"	// keep KR and PRW saved for longer time

// XP is reset after 30 days
//set g_XPSaveMaxAge_xp "30d"	// for the XP
//set g_XPSaveMaxAge "90d"	// keep KR and PRW saved for longer time

// Never reset XP (it's not really an option, but a huge value (30 months) will do instead)
// Do note that g_dbUserMaxAge should be set to "-1" to disable player record deletions
//set g_g_XPSaveMaxAge_xp "30o"
//set g_XPSaveMaxAge "30o"

//**************************************************
// Player Statistics, Rating and Team Balance
//**************************************************

set g_playerRating 0	// Enable only if the players on your server remain consistently the same

//**************************************************
// Class and Weapon Restrictions
//**************************************************

// avoiding spam fest
set team_maxPanzers 1
set team_maxMortars 1
set team_maxFlamers 1
set team_maxGrenLaunchers 2

//**************************************************
// Player Inactivity
//**************************************************

set g_inactivity 120 		// 2 minutes of inactivity before moving to spectators
set g_spectatorInactivity 120	// 2 minutes of inactivity as a spectator before taking actions
set g_inactivityOptions 9	// Don't drop shoutcasters, inactivity kicks in for shrubbot admins as well

//**************************************************
// Gametypes - Map Voting
//**************************************************

set g_mapVoteFlags 5
set g_maxMapsVotedFor 19
set g_minMapAge 6

//**************************************************
// Mapconfigs and Mapscripts
//**************************************************

set g_mapConfigs "mapconfigs"
set g_mapScriptDirectory "mapscripts"

//**************************************************
// Voting
//**************************************************

set g_voting 12

// disable certain votes, allow some
set vote_allow_comp 0
set vote_allow_gametype 0
set vote_allow_kick 0
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_shuffleteamsxp 0
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 0
set vote_allow_surrender 0
set vote_allow_nextcampaign 0
set vote_allow_restartcampaign 0
set vote_allow_poll 1
set vote_allow_maprestart 0
set vote_allow_shufflenorestart 1
set vote_allow_cointoss 0
// disable vote blocking from polls
set vote_block_poll -1

//**************************************************
// Weapons, Classes and Skills
//**************************************************

set g_poison 1
set g_medics 320
set g_throwableKnives 1
set g_knifeChargeTime 1000
set g_constructibleXPSharing 1
set g_asblock 3
set g_dyno 5
set g_canisterKick 1
set g_weapons 37166
set g_classWeapons 10

//**************************************************
// Friendly Fire
//**************************************************

set g_friendlyFire 1
set g_friendlyFireOpts 12  // beginner friendly mines

//**************************************************
// Hitboxes, Physics & Anti Lag Settings
//**************************************************

set g_fixedphysics 1
set g_fixedphysicsfps 125

//**************************************************
// Hitsounds
//**************************************************

// often admins want to default to ETPro hitsounds, uncomment below for that
//set g_defaultHitSounds 2

//**************************************************
// Intermission
//**************************************************

set g_intermissionTime 45
set g_intermissionReadyPercent 100

//**************************************************
// Miscellaneous
//**************************************************

set g_dropHealth 2
set g_dropAmmo 2
set g_misc 1024
set g_ammoCabinetTime 5000	// the default is a bit slow
set g_healthCabinetTime 5000	// the default is a bit slow
set g_spectator 4
set g_dropObj 3
set g_disableComplaints 16
// Country flags, You need to have GeoIP database installed to use this.
set g_countryFlags 0
// original spawn invulnerability
//set g_spawnInvul 3
//set g_spawnInvulFair 0
// longer and more fair, so admins can ignore spawn killing events
set g_spawnInvul 5
set spawnInvulFair 1

//**************************************************
// Logs
//**************************************************

set g_logOptions 16640
set g_logAdmin "admin.log"
set g_cheatLog "cheat.log"

//**************************************************
// Omni-Bots
//**************************************************

set omnibot_enable 1
//set omnibot_path ""  // set this path manually if the auto-search does not find the Omni-bot files
set g_bot_maxXP -1
set omnibot_flags 262148

//**************************************************
// Lua
//**************************************************

set lua_modules ""
set lua_allowedModules ""

exec mapvotecycle.cfg
set com_watchdog 60
set com_watchdog_cmd "exec mapvotecycle.cfg"