Server Browser Rules
Information
"Server Browser Rules" are key-value string pairs defined server-side.
These values are automatically transmitted/announced/broadcasted by your MTA Server using the ASE (All-Seeing Eye) protocol, when queried on the ASE UDP Port (server port + 123), which is 22126 by default.
These rules are included in your server's ASE response in addition to the server name, port, game type, map name, MTA version, password-protected, player count, max players and list of online players.
This data is to be received and parsed by MTA Clients (in the Server Browser) to display the list of online MTA servers with custom information for each server.
Setting & Getting
These rules can be set in your MTA Server's configuration file (Server_mtaserver.conf) using the following XML format:
<rule name="NAME_HERE" value="VALUE_HERE"/>
They can also be defined and obtained using these two server-side functions:
Expected Values
The maximum amount of characters allowed in a rule value is 200.
The Server Browser looks for the following information (optional) provided by servers:
Key | Explanation | Accepted values | Example |
---|---|---|---|
description | Human-readable brief description of your server | Text | Custom cars and maps! Join various minigames from racing to drifting |
languages | Comma separated list of languages that your server supports | See Allowed Languages | en, ru, ar |
tags | Comma separated list of tags that describe your server | See Allowed Tags | freeroam, minigames, race, pvp, drifting |
website_url | Website URL of your server | Valid URL starting with https:// | https://example-website.com |
social_url_1 | Social media URL #1 | Valid URL starting with https:// | https://discord.com/invite/example |
social_url_2 | Social media URL #2 | Valid URL starting with https:// | https://youtube.com/@exampleChannel |
social_url_3 | Social media URL #3 | Valid URL starting with https:// | https://facebook.com/examplePage |
Full Example
Below is an example configuration that you can include in mtaserver.conf:
<rule name="description" value="Custom cars and maps! Join various minigames from racing to drifting" /> <rule name="languages" value="en, ru, ar" /> <rule name="tags" value="freeroam, minigames, race, pvp, drifting" /> <rule name="website_url" value="https://example-website.com" /> <rule name="social_url_1" value="https://discord.com/invite/example" /> <rule name="social_url_2" value="https://youtube.com/@exampleChannel" /> <rule name="social_url_3" value="https://facebook.com/examplePage" />
Allowed Tags
Tags must contain lowercase letters and have a length of at least 2 characters and maximum of 20 characters.
Allowed Languages
This list should not be missing any languages from Multi Theft Auto Crowdin
Total number of languages supported: 55
Tag | Language | Flag |
---|---|---|
ar | Arabic | ๐ธ๐ฆ |
az | Azerbaijani | ๐ฆ๐ฟ |
bg | Bulgarian | ๐ง๐ฌ |
bn | Bengali | ๐ง๐ฉ |
bs | Bosnian | ๐ง๐ฆ |
cs | Czech | ๐จ๐ฟ |
da | Danish | ๐ฉ๐ฐ |
de | German | ๐ฉ๐ช |
el | Greek | ๐ฌ๐ท |
en | English | ๐บ๐ธ |
es | Spanish | ๐ช๐ธ |
et | Estonian | ๐ช๐ช |
fa | Persian | ๐ฎ๐ท |
fi | Finnish | ๐ซ๐ฎ |
fil | Filipino | ๐ต๐ญ |
fr | French | ๐ซ๐ท |
gu | Gujarati | ๐ฎ๐ณ |
he | Hebrew | ๐ฎ๐ฑ |
hi | Hindi | ๐ฎ๐ณ |
hr | Croatian | ๐ญ๐ท |
hu | Hungarian | ๐ญ๐บ |
id | Indonesian | ๐ฎ๐ฉ |
it | Italian | ๐ฎ๐น |
ja | Japanese | ๐ฏ๐ต |
ka | Georgian | ๐ฌ๐ช |
kn | Kannada | ๐ฎ๐ณ |
ko | Korean | ๐ฐ๐ท |
lt | Lithuanian | ๐ฑ๐น |
lv | Latvian | ๐ฑ๐ป |
mk | Macedonian | ๐ฒ๐ฐ |
ml | Malayalam | ๐ฎ๐ณ |
mr | Marathi | ๐ฎ๐ณ |
ms | Malay | ๐ฒ๐พ |
nb | Norwegian Bokmรฅl | ๐ณ๐ด |
nl | Dutch | ๐ณ๐ฑ |
no | Norwegian | ๐ณ๐ด |
pl | Polish | ๐ต๐ฑ |
pt-br | Brazilian Portuguese | ๐ง๐ท |
pt-pt | European Portuguese | ๐ต๐น |
ro | Romanian | ๐ท๐ด |
ru | Russian | ๐ท๐บ |
sk | Slovak | ๐ธ๐ฐ |
sl | Slovenian | ๐ธ๐ฎ |
sr | Serbian | ๐ท๐ธ |
sv | Swedish | ๐ธ๐ช |
sw | Swahili | ๐ฐ๐ช |
ta | Tamil | ๐ฎ๐ณ |
te | Telugu | ๐ฎ๐ณ |
th | Thai | ๐น๐ญ |
tr | Turkish | ๐น๐ท |
uk | Ukrainian | ๐บ๐ฆ |
ur | Urdu | ๐ต๐ฐ |
vi | Vietnamese | ๐ป๐ณ |
zh | Chinese (Simplified) | ๐จ๐ณ |
zh-tw | Chinese (Traditional, Taiwan) | ๐น๐ผ |