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

To be precise - accounts are moved from accounts.xml to internal.db since 1.0.4 version, thats why you got confused I believe

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

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).

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

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...