How to become admin on a servertux multi theft auto gameserver?

In diesem Forum können nur Servertux-Teammitglieder Beiträge erstellen.
Auf dieses Thema können nur Servertux-Teammitglieder antworten.
MrMarco
Servertux

56 Beiträge

4983 TuxTokens

18.09.22 16:23 - vor 6 Monaten

Preparation

First off all you have to create a user account, which will later be given the admin rights.

To do this you have to execute the followed command, on your server console:

    addaccount <USERNAME> <PASSWORD>

Configuration

Before you begin, please stop your multi theft auto gameserver.
After that you have created your user account, the account must be added to the Admingroup in your "acl.xml"

For this you must connect to our ftp server. You can find your ftp datas in our gsm, under the tab "ftp".
This file (acl.xml) is located in our ftp under: /serverXXXXX/server/mods/deathmatch

    <group name="Admin">    

    <acl name="Moderator"></acl>    

    <acl name="SuperModerator"></acl>    

    <acl name="Admin"></acl>    

    <acl name="RPC"></acl>    

    <object name="resource.admin"></object>    

    <object name="resource.webadmin"></object>    

    <object name="resource.acpanel"></object>

    </group>

There you must add now this:

    <object name="user.USERNAME"></object>

Instead of the username you type in your own username there. Now the result of this should look like this:

    <group name="Admin">    

    <acl name="Moderator"></acl>    

    <acl name="SuperModerator"></acl>   

     <acl name="Admin"></acl>    

    <acl name="RPC"></acl>    

    <object name="resource.admin"></object>    

    <object name="resource.webadmin"></object>    

    <object name="resource.acpanel"></object>    

    <object name="user.USERNAME"></object>

    </group>

Log in as admin ingame

When you finish that all, you can now start your gameserver again and can connect to your server.

Afterwards you can log in with the following command:

    login USERNAME PASSWORD

Now you have administrator privileges and you can manage your server.