forked from GameServerManagers/Game-Server-Configs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserver.cfg
179 lines (161 loc) · 7.31 KB
/
server.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
// Server Passwords
set rconpassword ""
set sv_privatePassword ""
set g_password ""
set sv_hostname "LinuxGSM"
// Server General Settings
seta sv_pure "0"
seta sv_maxclients "32" // Max players
seta sv_privateClients "2" // The number of reserved slots
seta sv_fps "30"
seta g_minRate "10000" // Setting this enables rate checking, informing clients that fall below the given threshold.
seta sv_maxRate "25000" // Standard maxrate is 15000
seta sv_zombietime "10" // Default setting
seta sv_timeout "120" // Default setting
seta sv_reconnectlimit "10" // Amount of times a player can re-connect with connection issues
seta sv_allowDownload "1" // Allow downloads-Please leave at 0 for optimum performance
seta sv_allowAnonymous "1" // 0 disallows the name unnamedplayer
seta sv_floodProtect "1" // Stops players flooding the server with radio msgs etc
seta sv_padPackets "0" // Set at default
seta sv_maxping "250" // Helps preventing lagging players from entering your server
seta dmflags "10" // No fall damage etc.
seta g_speed "300"
seta g_gravity "800"
set g_roundstartdelay "0"
set g_roundtimelimit "3"
set g_roundjointime "2"
set g_availableweapons "222222022220000000202"
set g_pickupsDisabled "1"
set scorelimit "10"
set timelimit "20"
//Flood protection
set sv_floodprotect "1"
set g_voiceFloodCount "5"
set g_voiceFloodPenalty "45"
// TeamKilling
seta g_friendlyfire "0" // Turns frindly fire off (0)/ on (1)
seta g_teamkillPenalty "-1" // Point penalty for teamkilling
seta g_teamkillDamageMax "0" // Amount of TK damage before ban - 0 to disable
seta g_teamkillDamageForgive "10" //
// Warmup
seta g_doWarmup "0" // Do warmup 0=no 1=yes
seta g_warmup "4" // Amount of warm-up time
// Team and spec handling
seta g_respawnInterval "5" // Respawn time for ctf & dm etc
seta g_respawnInvulnerability "2"
seta g_inactivity "120" // Move to spec after this many seconds
seta g_teamForceBalance "0" // Force players to onto team with least players/score
seta g_teamAutoJoin "0" // If 1 then new players auto join team upon conection
seta g_synchronousclients "0" // Default settings. Keep off for best gameplay
seta g_smoothClients "1" // Default setting
seta g_followEnemy "0" // If 1 then you may follow the enemy
seta g_forceFollow "1" // If 1 then you may only follow players
seta g_timeouttospec "100" // Default setting
// Master Servers - Do NOT change!
seta sv_master5 ""
seta sv_master4 "207.38.8.34"
seta sv_master3 "clanservers.net"
seta sv_master2 "69.93.209.187"
seta sv_master1 "master.sof2.ravensoft.com"
seta com_hunkMegs "256"
seta com_soundMegs "64"
seta com_zoneMegs "128"
// Log Settings - Console
seta logfile "3" // default setting
seta g_logSync "0" // Default setting
seta g_loghits "1" // Default setting
seta g_log "date" //date = store by date.
// Voting Options
seta g_allowvote "1"
seta g_failedVoteDelay "5"
seta g_callvote "4"
//seta novote_g_gametype "1"
//seta novote_map "1"
//seta novote_map_restart "1"
//seta novote_nextmap "1"
//seta novote_mapcycle "1"
//seta novote_rmgmap "1"
seta novote_g_friendlyfire "1"
seta novote_g_dowarmup "1"
//seta novote_timelimit "1"
//seta novote_scorelimit "1"
// Admin commands allowed by status. use "/rcon admcmds <cmd>" to set.
set g_admCmds "32335435354444435555454354434445444444444444444"
// Other Stuff
set g_autoUnlock "1"
set g_Armor "0" // Force armor along with goggles
set g_weapontime "5" // Weapon switch time. best to leave default
set g_teamChangeDeath "0"
set g_autoEvenTeams "8" // seconds autoeven checks. 0 = off
set g_allowTie "1" // end game on a tied score
set g_talkingGhosts "1" // inf/elim chatting when dead
set g_enableAdmins "1"
set g_globalVoiceChat "1"
set g_allowThirdPerson "0"
set g_showKillStreak "1"
set g_fastRestart "1"
set g_autoVoteTimeExtend "1"
set g_colorTeamNames "2"
set g_allowSpecVote "1"
set g_allowMinuteVote "1"
set g_headShotMessage "^1-^3=^1H^3E^1A^3D^1S^3H^1O^3T^1=^3-"
set g_allowDeathMessages "1"
set g_defaultPenaltyBoxTime "20"
set g_swapsides "0"
set g_enableHealthGains "0"
set g_maxSpawnKill "3"
set g_spawnKillPunishment "pop"
set g_EnableDoors "0" // Disabled some doors. Maps might need them, set them per map!
set g_m4scope "0" // use M4 Scope
set g_m203 "0" // grenades with m203
set g_onlyWeapons "0" // BIT-FLAG for using only set weapons
set g_ForcedItems "0" // BIT-FLAG for forced extra weapons
set g_enableCustomGrenades "1" // air-strike, etc.
set g_enableKillSpreeReward "1"
set g_killSpreeFile "settings/killspree.cfg" // can change per-map
set g_showKillStreak "2"
set g_ggRankType "2"
set g_enableVoteNextMap "0" // Auto-votes for a mapcycle at the start of a map
set g_enableVoteSkipNextMap "1" // Auto-vote called to pick the next map at the end of the match
set g_disableRPMObituary "0" // disables RPM from sending death's to clients for each kill.
set g_updatetmi "1000" //Time between teammate info sent to clients
set g_maxIPConnections "8" // Max connections per ip to help with fake player flooding
set g_weaponModFile "sc" // weapon&damage mods from files in ext_data\
// New Gametype Specific
set g_freezeTime "20"
set gt_caserunRestart "0" // For CASERUN (CR) - if the round restarts when case is scored/dropped/etc.. settings: 0/1/2
set gt_bombTimer "30" // The seconds it takes for a bomb to explode
set gt_bombDefuseTime "10" // Time needed to defuse a bomb
set gt_bombPlantTime "10" // Time needed to plant a bomb
//Chat shortcut prefix
set g_adminTalk "^_**^7ADMIN^_**^-"
set g_sadminChat "^7**^gS-ADMIN ONLY^7**^7"
set g_adminChat "^7**^1ADMIN ONLY^7**^7"
set g_refTalk "^_**^3REFEREE^_**^-"
set g_refChat "^7**^3REF ONLY^7**^7"
set g_caChat "^7**^RHEY ADMIN^7**^7"
set g_adminNotify "^3*^6*^3* "
set g_adminRule "^3*^_RULE^3*"
set g_adminInfo "^7*^iINFO^7*"
set g_adminWarning "^_*^3WARNING^_*"
//Server messages
set g_serverMsgInterval "8"
set g_enableServerMsgs "1"
set g_serverMsgDelay "10"
set g_msg1 "^,Welcome to the server. Please adjust your rate ^6(^3/rate 15000^6) ^,for ^6smoother ^,gameplay"
set g_msg2 ""
set g_msg3 ""
set g_msg4 ""
set g_msg5 ""
//server MOTD
set server_motd1 ""
set server_motd2 ""
set server_motd3 ""
set server_motd4 ""
set server_motd5 ""
set server_motd6 ""
// STATS / DATABASE STUFF
set g_enabledatabase "0" // 0=off, 1=on, 2=on + admin saved. !MUST BE OFF IF NOT USING STATS DLL OR SERVER WILL CRASH!
set g_enabletopstats "0" // x 30seconds each topstat will show. ie. 4x30 = 2mins
//mapcycle
exec mapcycle.txt // Setup and run the new cycle