httpport

<httpport>22005</httpport>

This parameter specifies the TCP port on which the server will be accepting incoming http connections. It can be set to the same value as <serverport>. It is a required parameter if <httpserver> is set to 1.

httpmaxconnectionsperclient

<httpmaxconnectionsperclient>5</httpmaxconnectionsperclient>

This parameter limits the number of http connections each client can make. Depending on the type of http server that is used, a lower figure may reduce download timeouts. Only relevant when using an external http server.

Available range: 1 to 8.

httpdosthreshold

<httpdosthreshold>20</httpdosthreshold>

This parameter limits the number http connections that an IP can initiate over a short period of time.

Available range: 1 to 100. default value: 20

http_dos_exclude

<http_dos_exclude></http_dos_exclude>

This parameter lists the IP addresses that are to be excluded from http dos threshold limits.

e.g. 88.11.22.33,101.2.3.4

allow_gta3_img_mods

<allow_gta3_img_mods>none</allow_gta3_img_mods>

By default, the server will block the use of locally customized gta3.img player skins

This setting can be used to allow such mods. Not recommended for competitive servers.

Values: none, peds ; default value: none

client_file

<!-- <client_file name="data/carmods.dat" verify="0" /> -->

By default, the server will block the use of customized GTA:SA data files.

disableac

enablesd

<enablesd></enablesd>

Comma seperated list of enabled special detections. A special detection is a type of anti-cheat for (usually) harmless game modifications. Competitive servers may wish to enable special detections, but most servers should leave this setting blank.

minclientversion

<minclientversion></minclientversion>

Minimum client version. Clients with a lower version will not be allowed to connect. After disconnection, clients will be given an opportunity to download an update. If left blank, this setting is disabled and there are no restrictions on who can connect. Version numbers are described in getPlayerVersion and look like this: 1.1.0-9.03100.0

Note that this setting only determines if the client should be prompted to update. The actual build number they receive will be the [highest available].

ase

<ase>1</ase>

This parameter can be used to make the server report to Game-Monitor master servers, allowing it to be visible in the in-game server browser. An additional UDP port needs to be available for this to work (value from <serverport> + 123 , so on a default <serverport> value 22003 the right port will be 22126 ).

voice_quality

<voice_quality>4</voice_quality>

This parameter specifies the voice quality for voice chat. 'voice' parameter must be set to 1 for this to be effective. Higher settings use more bandwidth and increase the the overall quality of voice chat

Available range: 0 to 10. Default - 4

voice_bitrate

<!-- <voice_bitrate>24600</voice_bitrate> -->

Specifies the voice bitrate, in bps. This optional parameter overrides the previous two settings. If not set, MTA handles this automatically. Use with care.

backup_path

<backup_path>backups</backup_path>

This parameter specifies the path to use for a basic backup of some server files. Note that basic backups are only made during server startup. Default value: backups

backup_interval

<backup_interval>3</backup_interval>

This parameter specifies the number of days between each basic backup. Backups are only made during server startup, so the actual interval maybe much longer. Setting backup_interval to 0 will disable backups

Available range: 0 to 30. Default - 3

backup_copies

<backup_copies>10</backup_copies>

This parameter specifies the maximum number of backup copies to keep. Setting backup_copies to 0 will disable backups

Available range: 0 to 100. Default - 10

compact_internal_databases

<compact_internal_databases>1</compact_internal_databases>

This parameter specifies when the internal sqlite databases should be defragmented.

Specifies persistent resources which are loaded when the server starts. Persistent resources are not stopped even if all the other resources that depend on them stop; that is, the only way to stop them is by explicitly using the stop server command or stopResource scripting function. To load several resources, add more <resource> parameters.

In addition, there are several flags which control how the server deals with each resource:

src: the resource name. This is the only mandatory flag.

startup: controls whether the resource will be started with the server or not. If "1", "true" or "yes", the resource will be started. If not specified, defaults to not starting the resource.

protected: if "1", "true" or "yes", the resource will not be able to be stopped when started. Otherwise, even if not specified, it will default to the normal behaviour.

default: if given a "1", "true" or "yes" value, this resource will be the one who populates the built-in HTTP server main page, which is seen when no resource is given in the web address. It is not possible to have more than one default resource.

Deprecated settings

The following settings have been deprecated in the production version of MTA:SA and no longer work.

networkencryption

<networkencryption>1</networkencryption>

This parameter specifies whether communications between the server and client is encrypted. Encryption can help prevent network data being viewed and modified.