Piorun Posted August 7, 2010 Posted August 7, 2010 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.
madis Posted August 7, 2010 Posted August 7, 2010 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!
50p Posted August 7, 2010 Posted August 7, 2010 Read this again: https://wiki.multitheftauto.com/wiki/Ser ... nistrators BTW, accounts are stored in internal.db file which is an SQLite file.
dzek (varez) Posted August 7, 2010 Posted August 7, 2010 To be precise - accounts are moved from accounts.xml to internal.db since 1.0.4 version, thats why you got confused I believe
Piorun Posted August 7, 2010 Author Posted August 7, 2010 Ok, i did it, but my nex question and the last at this topic is : how to disable command /login ?
dzek (varez) Posted August 8, 2010 Posted August 8, 2010 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).
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now