Skip to main content

Multi Theft Auto: How to become admin on a Multi Theft Auto gameserver?

Preparation

First, you need to create a user account that will later be given admin rights.

To do this, execute the following command on your server console:

addaccount USERNAME PASSWORD

Configuration

Before beginning the configuration, please stop your Multi Theft Auto (MTA) gameserver. After creating your user account, you need to add the account to the Admin group in your acl.xml file.

To do this, connect to our FTP server. You can find your FTP credentials in our GSM under the "FTP" tab. The acl.xml file is located in the FTP directory: /serverXXXXX/server/mods/deathmatch.

Edit the acl.xml file to add your user to the admin group. It should look like the following:

<acl>
<object name="resource.admin"/>
<object name="resource.webadmin"/>
<object name="resource.acpanel"/>
<object name="user.USERNAME"/>
</acl>

Replace USERNAME with your actual username. The final result should look similar to this:

<acl>
<object name="resource.admin"/>
<object name="resource.webadmin"/>
<object name="resource.acpanel"/>
<object name="user.YOUR_USERNAME"/>
</acl>

Log in as Admin In-Game

Once you've finished these steps, restart your game server and connect to it.

To log in as an admin, use the following command in-game:

login USERNAME PASSWORD

You now have administrator privileges and can manage your server.