summaryrefslogtreecommitdiff
path: root/games/UrbanTerror/docs/server_example.cfg
blob: 3b2a07e33db2a5d83eaa71036d626b1405448a19 (plain)
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                                                   //
//   ##     ## ########  ########     ###    ##    ##    ######## ######## ########  ########   #######  ########    //
//   ##     ## ##     ## ##     ##   ## ##   ###   ##       ##    ##       ##     ## ##     ## ##     ## ##     ##   //
//   ##     ## ##     ## ##     ##  ##   ##  ####  ##       ##    ##       ##     ## ##     ## ##     ## ##     ##   //
//   ##     ## ########  ########  ##     ## ## ## ##       ##    ######   ########  ########  ##     ## ########    //
//   ##     ## ##   ##   ##     ## ######### ##  ####       ##    ##       ##   ##   ##   ##   ##     ## ##   ##     //
//   ##     ## ##    ##  ##     ## ##     ## ##   ###       ##    ##       ##    ##  ##    ##  ##     ## ##    ##    //
//    #######  ##     ## ########  ##     ## ##    ##       ##    ######## ##     ## ##     ##  #######  ##     ##   //
//                                                                                         -----------------------   //
//                                                                                         presented by FrozenSand   //
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//-------------------------------------------------------------------------------------------------------------------//
//--| GENERAL INFORMATIONS |-----------------------------------------------------------------------------------------//
//-------------------------------------------------------------------------------------------------------------------//
//                                                                                                                   //
//   #1 - Try to keep CVAR values as short as possible otherwise you may experience "infostring length exceeded"     //
//        errors on your server which may led to startup failures                                                    //
//                                                                                                                   //
//   #2 - Everything behind double slashes // is ignored by the server                                               //
//                                                                                                                   //
//   #3 - Some CVARs can only be set during server initalization and are therefore not displayed here. You can set   // 
//        them by specifying desired values as server engine parameters before startup using: +set <cvar> <value>    //
//                                                                                                                   //
//   #4 - Altough this configuration file is designed to be verbose to the point of being self-explanatory, only     //
//        change settings if you know what you are doing! Incorrect settings might lead to server instability and    //
//        can make the gameplay impossible altogether                                                                //
//                                                                                                                   //
//   #5 - Support can be found on http://www.urbanterror.info or on #urbanterror @ quakenet                          //
//                                                                                                                   //
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


//---------------------------------------------------------
//  VISUAL IDENTIFIERS
//---------------------------------------------------------

set  sv_hostname                       "New Unnamed Server"   // Your server name here (#NOTE: not all the game browsers display color codes correctly)
set  sv_joinmessage           "Welcome to Urban Terror 4.2"   // Your join message here. It will displayed when the game is joined
set  g_motd         "Urban Terror, Presented by FrozenSand"   // Your message of the day here, it is displayed on the loading screen while connecting


//---------------------------------------------------------
//  ADDITIONAL GAME BROWSER INFORMATIONS
//---------------------------------------------------------

sets " Admin"                                            ""   // Server administrator aka designated technical contributor
sets " Clan"                                             ""   // Your clan name/tag
sets " Email"                                            ""   // Email for technical support
sets " Location"                                         ""   // Where your server is located

//---------------------------------------------------------
//  AUTHENTICATION SYSTEM SETTINGS
//---------------------------------------------------------

set  auth_enable                                        "1"   // Set this to 0 to disable the authentication system (more informations on www urbanterror info)
set  auth_notoriety                                     "0"   // Minimum notoriety level to be able to connect to your server. 0 allows everyone to join
set  auth_tags                                          "1"   // Set this to 1 to prevent clan tag thieves from joining your server
set  auth_cheaters                                      "1"   // Set this to 1 to block the officially banned cheaters from your server [coming soon]
set  auth_verbosity                                     "1"   // 0 = no authentication message to everyone when a player connects, 1 = message on the top of the screen, 2 = message in the chat box
set  auth_log                                           "1"   // Set this to 1 to draw the account information in the userinfo of each player in the server logs
set  auth_groups                                         ""   // Specify group IDs (separated by a blank) if you want to allow only a few groups to connect to the server. Empty ("") means all groups can connect
seta auth_owners                                         ""   // Specify the group ID of your clan (more informations on www urbanterror info)


//---------------------------------------------------------
//  MASTER SERVERS SETTINGS
//---------------------------------------------------------

set  sv_master1                                          ""   // This one will be set automatically by the game-engine, so just leave it blank
set  sv_master2                   "master.urbanterror.info"   // Default = master.urbanterror.info
set  sv_master3                  "master2.urbanterror.info"   // Default = master2.urbanterror.info
set  sv_master4                    "master.quake3arena.com"   // Default = master.quake3arena.com
set  sv_master5                                          ""   // In the future.....


//---------------------------------------------------------
//  SERVER LOGGING SETTINGS
//---------------------------------------------------------

set  g_log                                      "games.log"   // Server logfile name (Default = "games.log")
set  g_logsync                                          "1"   // Enables real-time (unbuffered) log writing. Necessarry for 3rd party administration software
set  g_loghits                                          "0"   // Log every single hit. Creates very big logs. Necessary for proper hit-detection if you use a 3rd party administration software
set  g_logroll                                          "0"   // If set to 1, creates a new log every now and then: <4 digit number>_<logname>.log -> Leave disabled if using log-parsing additions
set  logfile                                            "0"   // Additional logging in seperate qconsole.log file. 0 = disabled, 1 = buffered, 2 = synced, 3 = appended


//---------------------------------------------------------
//  ADMINISTRATION SETTINGS
//---------------------------------------------------------

set  rconpassword                                        ""   // Password to control the server remotely using rcon
set  g_referee                                          "0"   // Setting this to 1 will enable the refree commands
set  g_refnoban                                         "0"   // Setting this to 1 will prevent refrees from banning players from the server
set  g_refpass                                           ""   // Sets the referee password. Setting an empty password also disables referees
set  filterban                                          "1"   // Allows to ban players using the banlist.txt file


//---------------------------------------------------------
//  GENERAL SERVER SETTINGS
//---------------------------------------------------------

set  sv_sayprefix                               "console: "   // Prefix for /rcon say in-game messages. (Default = "console: ")
set  sv_tellprefix                         "console_tell: "   // Prefix for /rcon tell in-game messages. (Default = "console_tell: ")
set  sv_demonotice               "Smile! You're on camera!"   // Message to be printed when a player start in being recorded server-side (Empty means no message) 
sets sv_dlURL                            "urbanterror.info"   // Sets the address for auto-downloading. The client will try to download <sv_dlURL>/q3ut4/mapname.pk3. If your server is running ut4_coolmap and sv_dlURL is set to 'yoursite.com/maps', make sure the maps is hosted at http://www.yoursite.com/maps/q3ut4/ut4_coolmap.pk3. Leaving this set 'urbanterror.info' will make it use a map mirror with the most common maps on it
set  sv_allowDownload                                   "1"   // Allows clients to load *.pk3 files (maps) they not already have. Auto-download only works on ioUrbanTerror-clients, not quake3-clients.
set  sv_strictauth                                      "0"   // 1 = check for valid cdkey, this means ioUrbanTerror players will not be able to join
set  sv_pure                                            "1"   // Prevents players from loading modified *.pk3 files. (Default = 1)
set  sv_floodprotect	                                "1"   // Setting this to 1 prevents clients from spamming many chatlines / binded commands. (Default = 1)
set  sv_maxclients                                     "12"   // Max number of clients allowed to connect to the server. Using more than 16 is not advised. It can cause lag and most maps are not built for it. Going over 24 can cause nasty bugs
set  sv_privateclients                                  "0"   // Amount of private slots. This amount of slots will be reserved for players who enter the right privatepassword
set  sv_privatepassword                                  ""   // Password to connect to the server using a provate slot
set  sv_timeout                                       "180"   // Seconds before a 'Connection Interrupted' player is dropped. Smaller values help removing 'zombies' in time, but be careful: slow clients may not able to finish loading maps before they get dropped if this value is set too low. (Default = 180)
set  sv_maxping                                         "0"   // Sets the upper ping limit at which players are still allowed to join. 0 means no limit (Default 0). (Default = 0)
set  sv_minping                                         "0"   // Sets the lower ping limit at which players are still allowed to join. 0 means no limit (Default 0). (Default = 0)
set  sv_maxrate                                         "0"   // Sets the maximum traffic per second the server will send per client (byte/s, 0 = 25000 = max). (Default = 0)
set  sv_minrate                                         "0"   // Sets the minimum traffic per second the server will send per client (byte/s, 0 = 25000 = max). (Default = 0)


//---------------------------------------------------------
//  OTHER SERVER SETTINGS
//---------------------------------------------------------

set  g_password                                          ""   // Password for the server. Nothing = public.
set  g_armbands                                         "0"   // Determines the behaviour of the armband color. 0 = player's choice, set with cg_rgb, 1 = based on team color, 2 = assigned randomly by server
set  g_skins                                            "1"   // If set to 1 enable the use of the client side skin selection system. Using 0 means default back to Red and Blue teams
set  g_funstuff                                         "1"   // If set to 1 enable the use of funstuff on the server 
set  g_gear                                             "0"   // Bitmask that decides which weapons are allowed and which not. Check http://www.urbanterror.info/support/180-server-cvars/#1.2 to find the correct number
set  g_allowvote                                "536871039"   // Bitmask that decides which votes are allowed and which not. Check http://www.urbanterror.info/support/180-server-cvars/#1.3 to find the correct number
set  g_failedvotetime                                 "300"   // Amount of seconds before someone can call another vote after another has failed
set  g_maxGameClients                                   "0"   // Max clients that can actually join the game. Other clients are forced to spectate. (0 = All)
set  g_allowchat                                        "2"   // Determines the behaviour of the chat. 0 = no chatting at all, 1 = teamchats only, 2 = all chats
set  g_deadchat                                         "1"   // Determines if alive players can see dead players messages. 0 = living players can not see dead players chat, 1 = living players see only team-messages from dead teammembers, 2 = living players also see normal chats from dead players
set  g_inactivity                                       "0"   // Time in seconds before a non-moving player will be kicked off the server
set  g_mapcycle                              "mapcycle.txt"   // Name of mapcycle-file, located in q3ut4 directory


//---------------------------------------------------------
//  GENERAL GAMEPLAY SETTINGS
//---------------------------------------------------------

set  g_gametype                                         "0"   // 0 = FreeForAll, 1 = Last Man Standing, 3 = TeamDeathMatch, 4 = Team Survivor, 5 = Follow The Leader, 6 = Capture And Hold, 7 = Capture The Flag, 8 = Bomb Mode, 9 = Jump Training
set  g_followstrict                                     "1"   // If set to 1, dead players cannot hunt enemies
set  g_warmup                                          "15"   // Amount of seconds before game starts when changed to a new map. Gives slower computers time to load before game starts
set  g_gravity                                        "800"   // Gravity Level, higher number = lower jumps (Default = 800, popular settings for 'moon mode' : 300, 100).
set  g_knockback                                     "1000"   // Knockback from a weapon, higher number = greater knockback. (Default = 1000)
set  g_antiwarp                                         "1"   // Enable or disable antiwarp. This option smooths the movement of warping players (warping by cheat or packet loss due toa crappy connection, for instance when torrenting during playing). The warping player will experience stutters when this is enabled
set  g_antiwarptol                                     "50"   // Tolerance of the antiwarp in miliseconds. Higher = more tolerant. Low settings increase server load. (Default = 50)
set  g_shuffleNoRestart									"0"   // If set to 1 map will not be restart after shuffleteams
set  g_inactivityAction									"0"   // Specifies what to do when a player hit the inactivity time: 0 = kick, 1 = move to spectators
set  timelimit                                         "20"   // Time in minutes before map is over. (0 = never)
set  fraglimit                                         "10"   // Amount of points to be scored before map is over. (0 = never)


//---------------------------------------------------------
//  TEAM GAME SETTINGS
//---------------------------------------------------------

set  g_friendlyfire                                     "1"   // 0 = no friendlyfire, 1 = friendlyfire on, kick after too many TK's, 2 = friendlyfire on, no kicks
set  g_maxteamkills                                     "3"   // Amount of TK's before you get kicked when g_friendlyfire is 1
set  g_teamkillsforgettime                            "300"   // Amount of seconds before TK's are forgotten
set  g_teamautojoin                                     "0"   // Force players to autojoin on connect, instead of letting them spec untill they join themselves
set  g_teamforcebalance                                 "0"   // If on, you can't join a team when it has more players then the other one
set  g_maintainteam                                     "1"   // When switching maps, players will stay in their team
set  g_teamnamered                                       ""   // Name for the red team. Nothing = default team name
set  g_teamnameblue                                      ""   // Name for the blue team. Nothing = default team name
set  g_swaproles                                        "0"   // When map is over, play it again with the teams swapped (recommended for bomb mode)


//---------------------------------------------------------
//  MATCH MODE SETTINGS
//---------------------------------------------------------

set  g_matchmode                                        "0"   // Matchmode is for matchplay. Features timeouts and ready-commands. (Default = 0)
set  g_timeouts                                         "3"   // Amount of timeouts that a team can do per map. (Default = 3)
set  g_timeoutlength                                  "240"   // Amount of seconds before a timeout expires. (Default = 240)
set  g_pauselength                                      "0"   // Length of a pause. This only affect the /rcon pause command. (Default = 0 = unlimited)


//---------------------------------------------------------
//  FFA (0), TDM (3), CAH (6), CTF (7) GAMEPLAY SETTINGS
//---------------------------------------------------------

set  g_respawnprotection                                "2"   // Amount of seconds a spawning players is protected from damage
set  g_respawndelay                                     "8"   // Seconds before respawn, ignored when g_waverespawns is 1
set  g_forcerespawn                                    "20"   // Seconds before respawn is forced, even when the player did not press fire
set  g_waverespawns                                     "0"   // If set to 1 enable waverespawns, meaning everybody in a team respawns at the same time
set  g_bluewave                                        "10"   // Seconds between blue team waverespawns, ignored when g_waverespawns is 0.
set  g_redwave                                         "10"   // Seconds between red team waverespawns, ignored when g_waverespawns is 0.


//---------------------------------------------------------
//  LMS (1), TS (4), FTL (5) BOMB (8) GAMEPLAY SETTINGS
//---------------------------------------------------------

set  g_maxrounds                                        "0"   // Number of rounds before map is over. (0 = unlimited) 
set  g_roundtime                                        "0"   // Maximum minutes a round can take. (TS, LMS, BOMB, FTL)
set  g_survivorrule                                     "0"   // 0 = Teams don't get a point when time is up before everyone is dead. 1 = Team with most players left gets point
set  g_suddendeath                                      "0"   // When map is over and both teams have same amount of points, add another round


//---------------------------------------------------------
//  CAH (6), CTF (7) GAMEPLAY SETTINGS
//---------------------------------------------------------
set  capturelimit                                       "0"   // Amount of flag caps before map is over. 0 = unlimited


//---------------------------------------------------------
//  CAPTURE THE FLAG (CTF, 7) GAMEPLAY SETTINGS
//---------------------------------------------------------

set  g_flagreturntime                                  "30"   // If a flag is dropped, it will be returned at base automatically after this amount of seconds. (Default = 30)
set  g_hotpotato                                        "2"   // When both flags are taken, they will explode after this amount of minutes. (Default = 2)
set  g_ctfunsubwait                                     "5"   // When g_matchmode is set to 1, it's the time a sub has to wait before spawning when unsubbing. (Default = 5)


//---------------------------------------------------------
//  CAPTURE AND HOLD (CAH, 6) GAMEPLAY SETTINGS
//---------------------------------------------------------

set  g_cahtime                                         "60"  // Interval in seconds of awarding points for flags in Capture and Hold gamemode


//---------------------------------------------------------
//  BOMB MODE (BOMB, 8) GAMEPLAY SETTINGS
//---------------------------------------------------------

set  g_bombdefusetime                                  "10"   // Seconds it takes to defuse bomb. (Default = 10)
set  g_bombexplodetime                                 "40"   // Seconds before bomb goes off after planting. (Default = 40)
set  g_bombplanttime                                    "3"   // Seconds it takes to plant the bomb. (Default = 3)


//---------------------------------------------------------
//  JUMP TRAINING (JUMP, 9) GAMEPLAY SETTINGS
//---------------------------------------------------------

set  g_walljumps                                        "3"   // Maximum amount of walljumps a player is allowed to do (min = 3, max = 100). (Default = 3)
set  g_nodamage                                         "1"   // If set to 1 players will not experience damage from MOD_FALLING and MOD_TELEFRAG. (Default = 1)
set  g_stamina                                          "0"   // Stamina behavior: 0 = default, 1 = regain (refill when player stops), 2 = infinite stamina. (Default = 0)
set  g_allowGoto                                        "0"   // If set to 1 enable /goto and /allowgoto game commands (teleporting between players)
set  g_allowPosSaving                                   "0"   // If set to 1 allow players to use /savePos and /loadPos commands. (Default = 0)
set  g_persistentPositions                              "0"   // If set to 1 save positions will be kept upon player disconnect. (Default = 0)
set  g_jumpruns                                         "0"   // Maximum number of jump run attempts a player is allowed to make when g_matchmode is set to 1. (Default = 0 = unlimited)


//---------------------------------------------------------
//  ANTICHEAT SETTINGS
//---------------------------------------------------------
//pb_sv_enable                                                // To enable Punkbusters, remove the // at the beginning of this line (only works when starting the server as MOD of Quake 3 Arena, not ioUrbanTerror)


//---------------------------------------------------------
//  EXEC CONFIRMATION
//---------------------------------------------------------

map  ut4_casa                                                 // What map to start with?