Server Browser Rules

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
[[{{{image}}}|link=|]] Note: Developers are currently working on creating a new Server Browser Interface. Check these issues on GitHib: Add banner, server description and tags #2104 Revamp server browser #998 Language filter/search #759

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 main UDP Port (default 22003).

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
tags Comma separated list of tags that describe your server See Allowed Tags freeroam, drifting
website_url Website URL of your server Valid URL starting with https:// https://multitheftauto.com
social_url_1 Social media URL #1 Valid URL starting with https:// https://discord.com/invite/mtasa
social_url_2 Social media URL #2 Valid URL starting with https:// https://www.youtube.com/user/MTAQA
social_url_3 Social media URL #3 Valid URL starting with https:// https://www.facebook.com/multitheftauto

Allowed Languages

WIP

Tag Language Flag
en English ๐Ÿ‡บ๐Ÿ‡ธ
pt-pt European Portuguese ๐Ÿ‡ต๐Ÿ‡น
pt-br Brazilian Portuguese ๐Ÿ‡ง๐Ÿ‡ท
es Spanish ๐Ÿ‡ช๐Ÿ‡ธ
fr French ๐Ÿ‡ซ๐Ÿ‡ท
de German ๐Ÿ‡ฉ๐Ÿ‡ช
it Italian ๐Ÿ‡ฎ๐Ÿ‡น
ru Russian ๐Ÿ‡ท๐Ÿ‡บ
zh Chinese (Simplified) ๐Ÿ‡จ๐Ÿ‡ณ
zh-tw Chinese (Traditional, Taiwan) ๐Ÿ‡น๐Ÿ‡ผ
ja Japanese ๐Ÿ‡ฏ๐Ÿ‡ต
ko Korean ๐Ÿ‡ฐ๐Ÿ‡ท
ar Arabic ๐Ÿ‡ธ๐Ÿ‡ฆ
hi Hindi ๐Ÿ‡ฎ๐Ÿ‡ณ
bn Bengali ๐Ÿ‡ง๐Ÿ‡ฉ
tr Turkish ๐Ÿ‡น๐Ÿ‡ท
nl Dutch ๐Ÿ‡ณ๐Ÿ‡ฑ
sv Swedish ๐Ÿ‡ธ๐Ÿ‡ช
no Norwegian ๐Ÿ‡ณ๐Ÿ‡ด
da Danish ๐Ÿ‡ฉ๐Ÿ‡ฐ
fi Finnish ๐Ÿ‡ซ๐Ÿ‡ฎ
pl Polish ๐Ÿ‡ต๐Ÿ‡ฑ
cs Czech ๐Ÿ‡จ๐Ÿ‡ฟ
hu Hungarian ๐Ÿ‡ญ๐Ÿ‡บ
ro Romanian ๐Ÿ‡ท๐Ÿ‡ด
el Greek ๐Ÿ‡ฌ๐Ÿ‡ท
he Hebrew ๐Ÿ‡ฎ๐Ÿ‡ฑ
vi Vietnamese ๐Ÿ‡ป๐Ÿ‡ณ
th Thai ๐Ÿ‡น๐Ÿ‡ญ
id Indonesian ๐Ÿ‡ฎ๐Ÿ‡ฉ


Allowed Tags

WIP

Useful Information