FANDOM


This article needs to be cleaned up to a higher standard of quality.

The specific problem is: Even though this comes from FrozenSand, let's edit for (the many) typos in the file. You can help Urban Terror Wiki by improving this article if you can. Generally, this may mean re-organizing parts of the article, checking grammar & spelling, or correcting formatting.


This page includes config files for Urban Terror.

Copy the config and paste it into a text editor. Then save it with a .cfg extension in your Game path. For more information, see Installing Scripts.

File-config
For more information on CVars, see CVARS and Server CVARs.

by FrozenSand Edit

The default server config included with Urban Terror.


server_example.cfg

  1. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  2. //                                                                                                                   //
  3. //   ##     ## ########  ########     ###    ##    ##    ######## ######## ########  ########   #######  ########    //
  4. //   ##     ## ##     ## ##     ##   ## ##   ###   ##       ##    ##       ##     ## ##     ## ##     ## ##     ##   //
  5. //   ##     ## ##     ## ##     ##  ##   ##  ####  ##       ##    ##       ##     ## ##     ## ##     ## ##     ##   //
  6. //   ##     ## ########  ########  ##     ## ## ## ##       ##    ######   ########  ########  ##     ## ########    //
  7. //   ##     ## ##   ##   ##     ## ######### ##  ####       ##    ##       ##   ##   ##   ##   ##     ## ##   ##     //
  8. //   ##     ## ##    ##  ##     ## ##     ## ##   ###       ##    ##       ##    ##  ##    ##  ##     ## ##    ##    //
  9. //    #######  ##     ## ########  ##     ## ##    ##       ##    ######## ##     ## ##     ##  #######  ##     ##   //
  10. //                                                                                         -----------------------   //
  11. //                                                                                         presented by FrozenSand   //
  12. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  13. //-------------------------------------------------------------------------------------------------------------------//
  14. //--/ GENERAL INFORMATIONS /-----------------------------------------------------------------------------------------//
  15. //-------------------------------------------------------------------------------------------------------------------//
  16. //                                                                                                                   //
  17. //   #1 - Try to keep CVAR values as short as possible otherwise you may experience "infostring length exceeded"     //
  18. //        errors on your server which may led to startup failures                                                    //
  19. //                                                                                                                   //
  20. //   #2 - Everything behind double slashes // is ignored by the server                                               //
  21. //                                                                                                                   //
  22. //   #3 - Some CVARs can only be set during server initalization and are therefore not displayed here. You can set   // 
  23. //        them by specifying desired values as server engine parameters before startup using: +set <cvar> <value>    //
  24. //                                                                                                                   //
  25. //   #4 - Altough this configuration file is designed to be verbose to the point of being self-explanatory, only     //
  26. //        change settings if you know what you are doing! Incorrect settings might lead to server instability and    //
  27. //        can make the gameplay impossible altogether                                                                //
  28. //                                                                                                                   //
  29. //   #5 - Support can be found on http://www.urbanterror.info or on #urbanterror @ quakenet                          //
  30. //                                                                                                                   //
  31. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  32. //---------------------------------------------------------
  33. //  VISUAL IDENTIFIERS
  34. //---------------------------------------------------------
  35. set  sv_hostname                       "New Unnamed Server"   // Your server name here (#NOTE: not all the game browsers display color codes correctly)
  36. set  sv_joinmessage           "Welcome to Urban Terror 4.2"   // Your join message here. It will displayed when the game is joined
  37. set  g_motd         "Urban Terror, Presented by FrozenSand"   // Your message of the day here, it is displayed on the loading screen while connecting
  38. //---------------------------------------------------------
  39. //  ADDITIONAL GAME BROWSER INFORMATIONS
  40. //---------------------------------------------------------
  41. sets " Admin"                                            ""   // Server administrator aka designated technical contributor
  42. sets " Clan"                                             ""   // Your clan name/tag
  43. sets " Email"                                            ""   // Email for technical support
  44. sets " Location"                                         ""   // Where your server is located
  45. //---------------------------------------------------------
  46. //  AUTHENTICATION SYSTEM SETTINGS
  47. //---------------------------------------------------------
  48. set  auth_enable                                        "1"   // Set this to 0 to disable the authentication system (more informations on www urbanterror info)
  49. set  auth_notoriety                                     "0"   // Minimum notoriety level to be able to connect to your server. 0 allows everyone to join
  50. set  auth_tags                                          "1"   // Set this to 1 to prevent clan tag thieves from joining your server
  51. set  auth_cheaters                                      "1"   // Set this to 1 to block the officially banned cheaters from your server [coming soon]
  52. 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
  53. set  auth_log                                           "1"   // Set this to 1 to draw the account information in the userinfo of each player in the server logs
  54. 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
  55. seta auth_owners                                         ""   // Specify the group ID of your clan (more informations on www urbanterror info)
  56. //---------------------------------------------------------
  57. //  MASTER SERVERS SETTINGS
  58. //---------------------------------------------------------
  59. set  sv_master1                                          ""   // This one will be set automatically by the game-engine, so just leave it blank
  60. set  sv_master2                   "master.urbanterror.info"   // Default = master.urbanterror.info
  61. set  sv_master3                  "master2.urbanterror.info"   // Default = master2.urbanterror.info
  62. set  sv_master4                    "master.quake3arena.com"   // Default = master.quake3arena.com
  63. set  sv_master5                                          ""   // In the future.....
  64. //---------------------------------------------------------
  65. //  SERVER LOGGING SETTINGS
  66. //---------------------------------------------------------
  67. set  g_log                                      "games.log"   // Server logfile name (Default = "games.log")
  68. set  g_logsync                                          "1"   // Enables real-time (unbuffered) log writing. Necessarry for 3rd party administration software
  69. 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
  70. 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
  71. set  logfile                                            "0"   // Additional logging in seperate qconsole.log file. 0 = disabled, 1 = buffered, 2 = synced, 3 = appended
  72. //---------------------------------------------------------
  73. //  ADMINISTRATION SETTINGS
  74. //---------------------------------------------------------
  75. set  rconpassword                                        ""   // Password to control the server remotely using rcon
  76. set  g_referee                                          "0"   // Setting this to 1 will enable the refree commands
  77. set  g_refnoban                                         "0"   // Setting this to 1 will prevent refrees from banning players from the server
  78. set  g_refpass                                           ""   // Sets the referee password. Setting an empty password also disables referees
  79. set  filterban                                          "1"   // Allows to ban players using the banlist.txt file
  80. //---------------------------------------------------------
  81. //  GENERAL SERVER SETTINGS
  82. //---------------------------------------------------------
  83. set  sv_sayprefix                               "console: "   // Prefix for /rcon say in-game messages. (Default = "console: ")
  84. set  sv_tellprefix                         "console_tell: "   // Prefix for /rcon tell in-game messages. (Default = "console_tell: ")
  85. 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) 
  86. 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
  87. 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.
  88. set  sv_strictauth                                      "0"   // 1 = check for valid cdkey, this means ioUrbanTerror players will not be able to join
  89. set  sv_pure                                            "1"   // Prevents players from loading modified *.pk3 files. (Default = 1)
  90. set  sv_floodprotect	                                "1"   // Setting this to 1 prevents clients from spamming many chatlines / binded commands. (Default = 1)
  91. 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
  92. set  sv_privateclients                                  "0"   // Amount of private slots. This amount of slots will be reserved for players who enter the right privatepassword
  93. set  sv_privatepassword                                  ""   // Password to connect to the server using a provate slot
  94. 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)
  95. 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)
  96. 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)
  97. set  sv_maxrate                                         "0"   // Sets the maximum traffic per second the server will send per client (byte/s, 0 = 25000 = max). (Default = 0)
  98. set  sv_minrate                                         "0"   // Sets the minimum traffic per second the server will send per client (byte/s, 0 = 25000 = max). (Default = 0)
  99. //---------------------------------------------------------
  100. //  OTHER SERVER SETTINGS
  101. //---------------------------------------------------------
  102. set  g_password                                          ""   // Password for the server. Nothing = public.
  103. 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
  104. 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
  105. set  g_funstuff                                         "1"   // If set to 1 enable the use of funstuff on the server 
  106. 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
  107. 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
  108. set  g_failedvotetime                                 "300"   // Amount of seconds before someone can call another vote after another has failed
  109. set  g_maxGameClients                                   "0"   // Max clients that can actually join the game. Other clients are forced to spectate. (0 = All)
  110. set  g_allowchat                                        "2"   // Determines the behaviour of the chat. 0 = no chatting at all, 1 = teamchats only, 2 = all chats
  111. 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
  112. set  g_inactivity                                       "0"   // Time in seconds before a non-moving player will be kicked off the server
  113. set  g_mapcycle                              "mapcycle.txt"   // Name of mapcycle-file, located in q3ut4 directory
  114. //---------------------------------------------------------
  115. //  GENERAL GAMEPLAY SETTINGS
  116. //---------------------------------------------------------
  117. 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
  118. set  g_followstrict                                     "1"   // If set to 1, dead players cannot hunt enemies
  119. 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
  120. set  g_gravity                                        "800"   // Gravity Level, higher number = lower jumps (Default = 800, popular settings for 'moon mode' : 300, 100).
  121. set  g_knockback                                     "1000"   // Knockback from a weapon, higher number = greater knockback. (Default = 1000)
  122. 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
  123. set  g_antiwarptol                                     "50"   // Tolerance of the antiwarp in miliseconds. Higher = more tolerant. Low settings increase server load. (Default = 50)
  124. set  g_shuffleNoRestart									"0"   // If set to 1 map will not be restart after shuffleteams
  125. set  g_inactivityAction									"0"   // Specifies what to do when a player hit the inactivity time: 0 = kick, 1 = move to spectators
  126. set  timelimit                                         "20"   // Time in minutes before map is over. (0 = never)
  127. set  fraglimit                                         "10"   // Amount of points to be scored before map is over. (0 = never)
  128. //---------------------------------------------------------
  129. //  TEAM GAME SETTINGS
  130. //---------------------------------------------------------
  131. set  g_friendlyfire                                     "1"   // 0 = no friendlyfire, 1 = friendlyfire on, kick after too many TK's, 2 = friendlyfire on, no kicks
  132. set  g_maxteamkills                                     "3"   // Amount of TK's before you get kicked when g_friendlyfire is 1
  133. set  g_teamkillsforgettime                            "300"   // Amount of seconds before TK's are forgotten
  134. set  g_teamautojoin                                     "0"   // Force players to autojoin on connect, instead of letting them spec untill they join themselves
  135. set  g_teamforcebalance                                 "0"   // If on, you can't join a team when it has more players then the other one
  136. set  g_maintainteam                                     "1"   // When switching maps, players will stay in their team
  137. set  g_teamnamered                                       ""   // Name for the red team. Nothing = default team name
  138. set  g_teamnameblue                                      ""   // Name for the blue team. Nothing = default team name
  139. set  g_swaproles                                        "0"   // When map is over, play it again with the teams swapped (recommended for bomb mode)
  140. set  g_autobalance                                      "0"   // If set to a value higher than 0, the gamecode will balance current teams every X minutes. In survivor modes (BOMB, TS) the team balancing is done on every round end. (Default = 0)
  141. //---------------------------------------------------------
  142. //  MATCH MODE SETTINGS
  143. //---------------------------------------------------------
  144. set  g_matchmode                                        "0"   // Matchmode is for matchplay. Features timeouts and ready-commands. (Default = 0)
  145. set  g_timeouts                                         "3"   // Amount of timeouts that a team can do per map. (Default = 3)
  146. set  g_timeoutlength                                  "240"   // Amount of seconds before a timeout expires. (Default = 240)
  147. set  g_pauselength                                      "0"   // Length of a pause. This only affect the /rcon pause command. (Default = 0 = unlimited)
  148. //---------------------------------------------------------
  149. //  FFA (0), TDM (3), CAH (6), CTF (7) GAMEPLAY SETTINGS
  150. //---------------------------------------------------------
  151. set  g_respawnprotection                                "2"   // Amount of seconds a spawning players is protected from damage
  152. set  g_respawndelay                                     "8"   // Seconds before respawn, ignored when g_waverespawns is 1
  153. set  g_forcerespawn                                    "20"   // Seconds before respawn is forced, even when the player did not press fire
  154. set  g_waverespawns                                     "0"   // If set to 1 enable waverespawns, meaning everybody in a team respawns at the same time
  155. set  g_bluewave                                        "10"   // Seconds between blue team waverespawns, ignored when g_waverespawns is 0.
  156. set  g_redwave                                         "10"   // Seconds between red team waverespawns, ignored when g_waverespawns is 0.
  157. //---------------------------------------------------------
  158. //  LMS (1), TS (4), FTL (5) BOMB (8) GAMEPLAY SETTINGS
  159. //---------------------------------------------------------
  160. set  g_maxrounds                                        "0"   // Number of rounds before map is over. (0 = unlimited) 
  161. set  g_roundtime                                        "0"   // Maximum minutes a round can take. (TS, LMS, BOMB, FTL)
  162. 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
  163. set  g_suddendeath                                      "0"   // When map is over and both teams have same amount of points, add another round
  164. //---------------------------------------------------------
  165. //  CAH (6), CTF (7) GAMEPLAY SETTINGS
  166. //---------------------------------------------------------
  167. set  capturelimit                                       "0"   // Amount of flag caps before map is over. 0 = unlimited
  168. //---------------------------------------------------------
  169. //  CAPTURE THE FLAG (CTF, 7) GAMEPLAY SETTINGS
  170. //---------------------------------------------------------
  171. set  g_flagreturntime                                  "30"   // If a flag is dropped, it will be returned at base automatically after this amount of seconds. (Default = 30)
  172. set  g_hotpotato                                        "2"   // When both flags are taken, they will explode after this amount of minutes. (Default = 2)
  173. 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)
  174. //---------------------------------------------------------
  175. //  CAPTURE AND HOLD (CAH, 6) GAMEPLAY SETTINGS
  176. //---------------------------------------------------------
  177. set  g_cahtime                                         "60"  // Interval in seconds of awarding points for flags in Capture and Hold gamemode
  178. //---------------------------------------------------------
  179. //  BOMB MODE (BOMB, 8) GAMEPLAY SETTINGS
  180. //---------------------------------------------------------
  181. set  g_bombdefusetime                                  "10"   // Seconds it takes to defuse bomb. (Default = 10)
  182. set  g_bombexplodetime                                 "40"   // Seconds before bomb goes off after planting. (Default = 40)
  183. set  g_bombplanttime                                    "3"   // Seconds it takes to plant the bomb. (Default = 3)
  184. //---------------------------------------------------------
  185. //  JUMP TRAINING (JUMP, 9) GAMEPLAY SETTINGS
  186. //---------------------------------------------------------
  187. set  g_walljumps                                        "3"   // Maximum amount of walljumps a player is allowed to do (min = 3, max = 100). (Default = 3)
  188. set  g_nodamage                                         "1"   // If set to 1 players will not experience damage from MOD_FALLING and MOD_TELEFRAG. (Default = 1)
  189. set  g_stamina                                          "0"   // Stamina behavior: 0 = default, 1 = regain (refill when player stops), 2 = infinite stamina. (Default = 0)
  190. set  g_allowGoto                                        "0"   // If set to 1 enable /goto and /allowgoto game commands (teleporting between players)
  191. set  g_allowPosSaving                                   "0"   // If set to 1 allow players to use /savePos and /loadPos commands. (Default = 0)
  192. set  g_persistentPositions                              "0"   // If set to 1 save positions will be kept upon player disconnect. (Default = 0)
  193. 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)
  194. set  g_novest                                           "1"   // If set to 1 removes the kevlar from all the players and gives a medkit instead if not already equipped. (Default = 1)
  195. //---------------------------------------------------------
  196. //  ANTICHEAT SETTINGS
  197. //---------------------------------------------------------
  198. //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)
  199. //---------------------------------------------------------
  200. //  EXEC CONFIRMATION
  201. //---------------------------------------------------------
  202. map  ut4_casa                                                 // What map to start with?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.