Skip to content

Multi Theft Auto: How to Become an Admin on MTA Servers

Discover how to grant administrator rights for full server control and efficient game management

20 November 20263 min read55 Views0 helpful

Don't have your own server yet? Host your Multi Theft Auto server with ZAP-Hosting from €4.49 / month.Or try 3 days from €0.81

Introduction

As an admin on your MTA server, you can manage players, control resources, and use the in-game admin panel. MTA assigns permissions through user accounts and the acl.xml file. An account becomes an admin as soon as it is listed in the Admin group in this file.

Create your account directly in the Console tab of your server in ZapX with addaccount, or in-game with /register. Then add it to acl.xml in the Files tab.

Create an account

In the console

  1. Start your server in ZapX and open the Console tab.
  2. Enter and submit this command:
Code
addaccount DeinName DeinPasswort

Replace DeinName with your preferred account name and DeinPasswort with your password. Neither can contain spaces. The server confirms this in the log with a line containing added account 'DeinName'. Make a note of your account name and password.

Warning

Anything you enter in the console will appear in the server log, including your password. If other people have access to your server, for example through service sharing, it's best to create your account in-game.

Info

Command input is new for MTA. If your server was created before this feature was available, it needs a one-time update. If the console says “Your server doesn't accept commands yet,” apply the available update: When you open your server, the Update available window appears. Click Apply update there. This briefly resets the server, but your game data will be preserved. A regular restart isn't enough. If you don't see an update, contact support.

In-game

Alternatively, you can create the account in-game. Start your server and connect to it. For instructions, see our guide Connect to the server. Open the in-game chat and create your account with this command:

Code
/register DeinName DeinPasswort

Replace DeinName with your preferred account name and DeinPasswort with a password of at least 4 characters. The server confirms in the chat that the account has been created. Make a note of your account name and password.

Info

The /register command is provided by the admin resource, which is enabled in MTA's default configuration. If you have disabled it in mtaserver.conf, /register won't be available. Create your account in the console instead.

Add your account to the Admin group

  1. Stop your server in ZapX. MTA reads acl.xml at startup and may overwrite the file while the server is running.
  2. Open the Files tab and go to the deathmatch folder.
  3. Open acl.xml and find the <group name="Admin"> section. In the default file, it looks like this:
Code
<group name="Admin">
    <acl name="Moderator" />
    <acl name="SuperModerator" />
    <acl name="Admin" />
    <acl name="RPC" />
    <object name="resource.admin" />
    <object name="resource.webadmin" />
    <object name="resource.acpanel" />
</group>
  1. Add a line with your account name inside this section:
Code
<object name="user.DeinName" />

Replace DeinName with the exact name you used with addaccount or /register. The result should look like this:

Code
<group name="Admin">
    <acl name="Moderator" />
    <acl name="SuperModerator" />
    <acl name="Admin" />
    <acl name="RPC" />
    <object name="resource.admin" />
    <object name="resource.webadmin" />
    <object name="resource.acpanel" />
    <object name="user.DeinName" />
</group>
  1. Save the file and start your server.
Warning

Only change the Admin group, and make sure every line is complete. If acl.xml contains errors, the permissions won't work.

Tip

You can also edit the file using an SFTP program. For instructions, see our guide Access via SFTP.

Log in as an admin

Connect to your server again and log in through the chat with your account:

Code
/login DeinName DeinPasswort

You now have admin permissions. Press P to open the admin panel provided by the admin resource.

Warning

MTA protects admin accounts using the serial number of your MTA client. The first computer you use to log in as an admin is automatically authorized. MTA blocks logins from other computers until you authorize them. To do this, first try logging in from the new computer, then enter this command in your server's Console:

Code
authserial DeinName

This authorizes the serial number that most recently tried to log in to this account. Use authserial DeinName list to see which serial numbers are registered for the account.

Add more admins

Follow the same steps for each additional admin: create the account in the console with addaccount, or have the player create it in-game with /register. With the server stopped, add the account name to the Admin group in acl.xml as <object name="user.AccountName" />, then start the server again. The player can then log in with /login.

Summary

In MTA, create your account in the console with addaccount or in-game with /register. With the server stopped, add it to the Admin group in acl.xml, then log in with /login. Authorize new computers in the console with authserial. If you have questions or need help, our support team is here for you every day! 🙂

Free tools

MTA (Multi Theft Auto) Tools

View all

FAQ

Frequently asked questions

Yes. With the server running, enter addaccount DeinName DeinPasswort in the Console tab. If the console says your server doesn't accept commands yet, first apply the available update using “Apply update.” Alternatively, create the account in-game with /register DeinName DeinPasswort.
In the deathmatch folder in the Files tab. Add your account as <object name="user.DeinName" /> in the <group name="Admin"> section.
MTA reads acl.xml at startup and may overwrite the file while the server is running. Stop the server before editing the file, then start it again after saving.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.