Piorun Posted August 7, 2010 Share 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. Link to comment
madis Posted August 7, 2010 Share 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! Link to comment
50p Posted August 7, 2010 Share 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. Link to comment
dzek (varez) Posted August 7, 2010 Share 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 Link to comment
Piorun Posted August 7, 2010 Author Share Posted August 7, 2010 Ok, i did it, but my nex question and the last at this topic is : how to disable command /login ? Link to comment
dzek (varez) Posted August 8, 2010 Share 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). Link to comment
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