Jump to content

[help] Accounts


Piorun

Recommended Posts

Posted

Hey everyone.

I have got a problem - when i installed MTA on my computer i want to create my server, but when i open the MTA server folder i saw there are not accounts.xml file. What happend?

Next problem is - I've got a resource where there must be an Admin, but i can't add an Admin account.

Please, help.

Posted

1) Start server from MTA Server.exe

2) Issue the command in server terminal:

addaccount <nick> <password>

3) Close server

4) Edit /server/mods/deathmatch/acl.xml and add inside Admin group

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

5) Start server again

6) Start the game and when you're in your server issue the command ingame via chatbox

/login <password>

or via F8 Console

login <password>

Replace with your ingame name and with password you want. Don't include the brackets and remember that the username and password are case-sensitive!

Posted

use ACL.

Probably he wants to replace internal login with custom - some ppl wants to have all player data (this means accounts too) in one MySQL database, or something (this was just example, not sure what Piorun wants to do).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...