SHOW:
|
|
- or go back to the newest paste.
| 1 | <config> | |
| 2 | ||
| 3 | <!-- This parameter specifies the name the server will be visible as in the ingame server browser | |
| 4 | and on Game-Monitor. It is a required parameter. --> | |
| 5 | <servername>~Stealth Server~</servername> | |
| 6 | ||
| 7 | <!-- ONLY USE THIS PARAMETER IF YOU ARE SURE OF WHAT YOU ARE DOING - it is generally only | |
| 8 | needed for professional servers and should be left blank otherwise. | |
| 9 | This parameter specifies the IP to use for servers that have multiple IP addresses. If left | |
| 10 | blank, it will default to server's standard local IP address. --> | |
| 11 | <!-- SERVERIP SHOULD BE LEFT BLANK UNLESS YOU ARE SURE OF WHAT YOU ARE DOING --> | |
| 12 | <serverip>10.0.0.4</serverip> | |
| 13 | <!-- WARNING: SETTING serverip AND THEN ASKING FOR SUPPORT CAN CAUSE DEATH OR INJURY --> | |
| 14 | ||
| 15 | <!-- This parameter specifies the UDP port on which the server will be accepting incoming player | |
| 16 | connections; default value: 22003. It is a required parameter. --> | |
| 17 | <serverport>22003</serverport> | |
| 18 | ||
| 19 | <!-- This parameter specifies the number of maximum player slots available on the server; default | |
| 20 | value: 32. It is a required parameter. --> | |
| 21 | <maxplayers>32</maxplayers> | |
| 22 | ||
| 23 | <!-- This parameter specifies whether the builtin http server is enabled. | |
| 24 | The builtin http server is used for webadmin and (if httpdownloadurl is empty) resource downloads. | |
| 25 | Values: 0 - disabled , 1 - enabled ; default value: 1. Optional parameter. --> | |
| 26 | <httpserver>1</httpserver> | |
| 27 | ||
| 28 | <!-- This parameter specifies the TCP port on which the server will be accepting incoming http | |
| 29 | connections. It can be set to the same value as <serverport>. It is a required parameter | |
| 30 | if <httpserver> is set to 1. --> | |
| 31 | <httpport>22005</httpport> | |
| 32 | ||
| 33 | <!-- If set, this parameter specifies the external URL from which clients will be able to download | |
| 34 | needed resources ingame. If not set (or the external URL files are incorrect), resource downloads | |
| 35 | are switched to the internal http server. --> | |
| 36 | <httpdownloadurl></httpdownloadurl> | |
| 37 | ||
| 38 | <!-- This parameter is deprecated. Please use httpmaxconnectionsperclient instead--> | |
| 39 | <httpconnectionsperclient></httpconnectionsperclient> | |
| 40 | ||
| 41 | <!-- This parameter limits the number of http connections each client can make. Depending on the type | |
| 42 | of http server that is used, a lower figure may reduce download timeouts. | |
| 43 | Available range: 1 to 8. --> | |
| 44 | <httpmaxconnectionsperclient>5</httpmaxconnectionsperclient> | |
| 45 | ||
| 46 | <!-- This parameter limits the number http connections that an IP can initiate over a short period of time. | |
| 47 | Available range: 1 to 100. default value: 20 --> | |
| 48 | <httpdosthreshold>20</httpdosthreshold> | |
| 49 | ||
| 50 | <!-- This parameter lists the IP addresses that are to be excluded from http dos threshold limits. | |
| 51 | e.g. 88.11.22.33,101.2.3.4 --> | |
| 52 | <http_dos_exclude></http_dos_exclude> | |
| 53 | ||
| 54 | <!-- By default, the server will block the use of customized GTA:SA data files. --> | |
| 55 | <!-- To allow specific client files, add one or more of the following: --> | |
| 56 | <!-- <client_file name="data/carmods.dat" verify="0"/> --> | |
| 57 | ||
| 58 | <!-- Comma separated list of disabled anti-cheats. | |
| 59 | For details see http://wiki.multitheftauto.com/wiki/Anti-cheat_guide | |
| 60 | e.g. To disable anti-cheat #2 and #3, use: 2,3 --> | |
| 61 | <disableac></disableac> | |
| 62 | ||
| 63 | <!-- Comma separated list of enabled special detections. | |
| 64 | A special detection is a type of anti-cheat for (usually) harmless game modifications. | |
| 65 | Competitive servers may wish to enable special detections, but most servers should leave this setting blank. | |
| 66 | For details see http://wiki.multitheftauto.com/wiki/Anti-cheat_guide | |
| 67 | e.g. To enable special detection #12 use: 12 --> | |
| 68 | <enablesd></enablesd> | |
| 69 | ||
| 70 | <!-- This parameter specifies whether communications between the server and client is encrypted. | |
| 71 | Encryption can help prevent network data being viewed and modified. | |
| 72 | Values: 0 - disabled , 1 - enabled ; default value: 1. Optional parameter. --> | |
| 73 | <networkencryption>1</networkencryption> | |
| 74 | ||
| 75 | <!-- Minimum client version. Clients with a lower version will not be allowed to connect. After | |
| 76 | disconnection, clients will be given an opportunity to download an update. | |
| 77 | If left blank, this setting is disabled and there are no restrictions on who can connect. | |
| 78 | Version numbers are described here: http://wiki.multitheftauto.com/wiki/GetPlayerVersion | |
| 79 | and look like this: 1.1.0-9.03100.0 | |
| 80 | Note that this setting only determines if the client should be prompted to update. The actual | |
| 81 | build number they receive will be the highest available. See: http://nightly.mtasa.com/ver --> | |
| 82 | <minclientversion>1.4.0-9.06882</minclientversion> | |
| 83 | ||
| 84 | <!-- This parameter specifies if/when the <minclientversion> setting is automatically updated. | |
| 85 | Keeping <minclientversion> updated can help reduce cheating. | |
| 86 | Note: The instant setting (2) is only recommened for competitive servers. | |
| 87 | Values: 0 - disabled, 1 - enabled (delayed by a few days), 2 - enabled (instant) ; default value: 1. --> | |
| 88 | <minclientversion_auto_update>1</minclientversion_auto_update> | |
| 89 | ||
| 90 | <!-- Recommended client version. When connecting, if clients have a lower version, they will be given | |
| 91 | the option to download an update. If left blank, this setting is disabled. | |
| 92 | Note that this setting only determines if the client should be prompted to update. The actual | |
| 93 | build number they receive will be the highest available. See: http://nightly.mtasa.com/ver --> | |
| 94 | <recommendedclientversion></recommendedclientversion> | |
| 95 | ||
| 96 | <!-- This parameter can be used to make the server report to Game-Monitor master servers, allowing it to | |
| 97 | be visible in the ingame server browser. An additional UDP port needs to be available for this to | |
| 98 | work (value from <serverport> + 123 , so on a default <serverport> value 22003 the right port | |
| 99 | will be 22126 ). Available values: 0 - disabled , 1 - enabled. Optional parameter, defaults to 0. --> | |
| 100 | <ase>1</ase> | |
| 101 | ||
| 102 | <!-- This parameter allows you to disable LAN broadcasting. --> | |
| 103 | <donotbroadcastlan>0</donotbroadcastlan> | |
| 104 | ||
| 105 | <!-- If set, players will have to provide a password specified below, before they can connect to the | |
| 106 | server. If left blank, server doesn't require a password from them. --> | |
| 107 | <password></password> | |
| 108 | ||
| 109 | <!-- This parameter reduces the server's bandwidth usage by using various optimizations. | |
| 110 | Values: none, medium or maximum ; default value: medium --> | |
| 111 | <bandwidth_reduction>medium</bandwidth_reduction> | |
| 112 | ||
| 113 | <!-- The following ???_sync_interval parameters determine the time in milliseconds between certain | |
| 114 | network packets being sent. More information on how each settings works is available here: | |
| 115 | http://wiki.multitheftauto.com/wiki/Server_mtaserver.conf --> | |
| 116 | <!-- Player sync interval. Default: 100 --> | |
| 117 | <player_sync_interval>100</player_sync_interval> | |
| 118 | <!-- Lightweight (player) sync interval. Used when players are far apart. Default: 1500 --> | |
| 119 | <lightweight_sync_interval>1500</lightweight_sync_interval> | |
| 120 | <!-- Camera sync interval. Default: 500 --> | |
| 121 | <camera_sync_interval>500</camera_sync_interval> | |
| 122 | <!-- Ped sync interval. Default: 400 --> | |
| 123 | <ped_sync_interval>400</ped_sync_interval> | |
| 124 | <!-- Unoccupied_vehicle sync interval. Default: 400 --> | |
| 125 | <unoccupied_vehicle_sync_interval>400</unoccupied_vehicle_sync_interval> | |
| 126 | <!-- Keysync mouse rotation sync interval. For limiting key sync packets due to mouse movement. Default: 100 --> | |
| 127 | <keysync_mouse_sync_interval>100</keysync_mouse_sync_interval> | |
| 128 | <!-- Keysync analog movement sync interval. For limiting key sync packets due to joystick movement. Default: 100 --> | |
| 129 | <keysync_analog_sync_interval>100</keysync_analog_sync_interval> | |
| 130 | ||
| 131 | <!-- This parameter can improve the reliability of shots when using certain weapons. However, it uses more bandwidth. | |
| 132 | Values: 0 - disabled , 1 - enabled ; default value: 1. --> | |
| 133 | <bullet_sync>1</bullet_sync> | |
| 134 | ||
| 135 | <!-- This parameter sets the amount of extrapolation that clients will apply to remote vehicles. This can reduce | |
| 136 | some of the latency induced location disparency by predicting where the remote vehicles will probably be. | |
| 137 | Depending on the gamemode, an incorrect prediction may have a negative effect. Therefore this setting | |
| 138 | should be considered experimental. | |
| 139 | Available range: 0 to 100. Default - 0 --> | |
| 140 | <vehext_percent>0</vehext_percent> | |
| 141 | ||
| 142 | <!-- This parameter places a limit on how much time (in milliseconds) the vehicle extrapolation will attempt to | |
| 143 | compensate for. | |
| 144 | Only relevant if <vehext_percent> is greater than zero. | |
| 145 | Available range: 50 to 500. Default - 150 --> | |
| 146 | <vehext_ping_limit>150</vehext_ping_limit> | |
| 147 | ||
| 148 | <!-- This parameter can reduce the delay of player actions appearing on remote clients by 2 frames (approx 50ms). | |
| 149 | Due to the impact this may have on shot lag compensation, it should be considered experimental. | |
| 150 | Values: 0 - disabled , 1 - enabled ; default value: 0. --> | |
| 151 | <latency_reduction>0</latency_reduction> | |
| 152 | ||
| 153 | <!-- Specifies the location and file name of this servers unique private key. | |
| 154 | This is used to prevent private files saved on the client from being read by other servers. | |
| 155 | More infomation about client private files can be found here: http://wiki.multitheftauto.com/wiki/Filepath | |
| 156 | Keep a backup of this file in a safe place. Default value: server-id.keys--> | |
| 157 | <idfile>server-id.keys</idfile> | |
| 158 | ||
| 159 | <!-- Specifies the location and name of the main server log file. If left blank, server won't be saving this file. --> | |
| 160 | <logfile>logs/server.log</logfile> | |
| 161 | ||
| 162 | <!-- As well as the main log file, login successes and failures are logged here for easy reviewing of security issues. | |
| 163 | If left blank, this file is not used --> | |
| 164 | <authfile>logs/server_auth.log</authfile> | |
| 165 | ||
| 166 | <!-- Specifies the location and name of the file used to log database queries. | |
| 167 | The server command 'debugdb' sets the amount of logging. --> | |
| 168 | <dbfile>logs/db.log</dbfile> | |
| 169 | ||
| 170 | <!-- Specifies the location and name of the file used to log loadstring function calls. | |
| 171 | If left blank or not set, no logging is done. --> | |
| 172 | <!-- <loadstringfile>logs/loadstring.log</loadstringfile> --> | |
| 173 | ||
| 174 | <!-- This parameter specifies the location and name of the Access Control List settings file. If left | |
| 175 | blank, server will use acl.xml file, located in the same folder as this configuration file. --> | |
| 176 | <acl>acl.xml</acl> | |
| 177 | ||
| 178 | <!-- Specifies the location and name of the debugscript log file. If left blank, server won't be saving this file. --> | |
| 179 | <scriptdebuglogfile>logs/scripts.log</scriptdebuglogfile> | |
| 180 | ||
| 181 | <!-- Specifies the level of the debugscript log file. Available values: 0, 1, 2, 3. When not set, defaults to 0. --> | |
| 182 | <scriptdebugloglevel>0</scriptdebugloglevel> | |
| 183 | ||
| 184 | <!-- Specifies the level of the html debug. Available values: 0, 1, 2, 3. When not set, defaults to 0. --> | |
| 185 | <htmldebuglevel>0</htmldebuglevel> | |
| 186 | ||
| 187 | <!-- Specifies the frame rate limit that will be applied to connecting clients. | |
| 188 | Available range: 25 to 100. Default: 36. --> | |
| 189 | <fpslimit>100</fpslimit> | |
| 190 | ||
| 191 | <!-- Specifies whether or not players should automatically be logged in based on their IP adresses --> | |
| 192 | <autologin>1</autologin> | |
| 193 | ||
| 194 | <!-- This parameter specifies whether or not to enable player voice chat in-game | |
| 195 | Values: 0 - disabled , 1 - enabled --> | |
| 196 | <voice>0</voice> | |
| 197 | ||
| 198 | <!-- This parameter specifies the sample rate for voice chat. 'voice' parameter must be set to 1 for this to be effective. | |
| 199 | Higher settings use more bandwidth and increase the sampling quality of voice chat | |
| 200 | Values: 0 - Narrowband (8kHz), 1 - Wideband (16kHz), 2 - Ultrawideband (32kHz). Default - 1 --> | |
| 201 | <voice_samplerate>1</voice_samplerate> | |
| 202 | ||
| 203 | <!-- This parameter specifies the voice quality for voice chat. 'voice' parameter must be set to 1 for this to be effective. | |
| 204 | Higher settings use more bandwidth and increase the the overall quality of voice chat | |
| 205 | Available range: 0 to 10. Default - 4 --> | |
| 206 | <voice_quality>4</voice_quality> | |
| 207 | ||
| 208 | <!-- Specifies the voice bitrate, in bps. This optional parameter overrides the previous two settings. | |
| 209 | If not set, MTA handles this automatically. Use with care. --> | |
| 210 | <!-- <voice_bitrate>24600</voice_bitrate> --> | |
| 211 | ||
| 212 | <!-- This parameter specifies the path to use for a basic backup of some server files. | |
| 213 | Note that basic backups are only made during server startup. Default value: backups --> | |
| 214 | <backup_path>backups</backup_path> | |
| 215 | ||
| 216 | <!-- This parameter specifies the number of days between each basic backup. | |
| 217 | Backups are only made during server startup, so the actual interval may be much longer. | |
| 218 | Setting backup_interval to 0 will disable backups | |
| 219 | Available range: 0 to 30. Default - 3 --> | |
| 220 | <backup_interval>3</backup_interval> | |
| 221 | ||
| 222 | <!-- This parameter specifies the maximum number of backup copies to keep. | |
| 223 | Setting backup_copies to 0 will disable backups | |
| 224 | Available range: 0 to 100. Default - 5 --> | |
| 225 | <backup_copies>5</backup_copies> | |
| 226 | ||
| 227 | <!-- This parameter specifies when the internal sqlite databases should be defragmented. | |
| 228 | http://www.sqlite.org/lang_vacuum.html | |
| 229 | Values: 0 - Never, 1 - On server start only after basic backup, 2 - On server start always. Default - 1 --> | |
| 230 | <compact_internal_databases>1</compact_internal_databases> | |
| 231 | ||
| 232 | <!-- Specifies the module(s) which are loaded with the server. To load several modules, add more <module> | |
| 233 | parameter(s). Optional parameter. --> | |
| 234 | <!-- <module src="sample_win32.dll"/> --> | |
| 235 | <!-- <module src="sample_linux.so"/> --> | |
| 236 | ||
| 237 | <!-- Specifies resources that are loaded when the server starts and/or which are protected from being stopped. | |
| 238 | To specify several resources, add more <resource> parameter(s). --> | |
| 239 | ||
| 240 | <resource src="admin" startup="1" protected="0" /> | |
| 241 | <resource src="defaultstats" startup="1" protected="0" /> | |
| 242 | <resource src="helpmanager" startup="1" protected="0" /> | |
| 243 | <resource src="joinquit" startup="1" protected="0" /> | |
| 244 | <resource src="mapcycler" startup="1" protected="0" /> | |
| 245 | <resource src="mapmanager" startup="1" protected="0" /> | |
| 246 | <resource src="parachute" startup="1" protected="0" /> | |
| 247 | <resource src="performancebrowser" startup="1" protected="0" /> | |
| 248 | <resource src="resourcebrowser" startup="1" protected="1" default="true" /> | |
| 249 | <resource src="resourcemanager" startup="1" protected="1" /> | |
| 250 | <resource src="scoreboard" startup="1" protected="0" /> | |
| 251 | <resource src="spawnmanager" startup="1" protected="0" /> | |
| 252 | <resource src="voice" startup="1" protected="0" /> | |
| 253 | <resource src="votemanager" startup="1" protected="0" /> | |
| 254 | <resource src="webadmin" startup="1" protected="0" /> | |
| 255 | <resource src="headshot" startup="1" protected="0" /> | |
| 256 | <resource src="reload" startup="1" protected="0" /> | |
| 257 | <resource src="dxlogin" startup="1" protected="0" /> | |
| 258 | <resource src="ssound" startup="1" protected="0" /> | |
| 259 | ||
| 260 | ||
| 261 | <!-- play is the default freeroam gamemode. Remove the following line to prevent it from starting. --> | |
| 262 | <resource src="stealth" startup="1" protected="0" /> | |
| 263 | ||
| 264 | </config> |