Mr. Maxilian Posted June 19, 2019 Posted June 19, 2019 Tell me, what is better: MySQL, SQLite or XML? (You need to save (and retrieve) many user settings)
sacr1ficez Posted June 19, 2019 Posted June 19, 2019 4 hours ago, Mr. Maxilian said: Tell me, what is better: MySQL, SQLite or XML? (You need to save (and retrieve) many user settings) You might check this topic, if you are about to select XML or JSON.
MTA Team 0xCiBeR Posted June 20, 2019 MTA Team Posted June 20, 2019 You could start by telling us what "many" is and how do you imagine using such settings. If its just on login, or do you plan to store data like levels, kills, etc. I wouldn't use XML for anything. Stick with SQLite or MySQL
AƖι Posted June 20, 2019 Posted June 20, 2019 11 hours ago, Mr. Maxilian said: Tell me, what is better: MySQL, SQLite or XML? (You need to save (and retrieve) many user settings) My SQL
Soapbosnia Posted June 20, 2019 Posted June 20, 2019 (edited) Depends on what you're storing. For example if you're storing player levels you could use a combination of element data and account data (Or instead use tables + mysql, get value from mysql and add it to Lua tables, then export a function to get a player's level from the table). If you're storing user credentials, then use mysql. Edited June 20, 2019 by Soapbosnia
Investor Posted June 20, 2019 Posted June 20, 2019 XML is only useful for configurations which you want to be able to change through a normal text editor, but even for that case, JSON is probably faster and easier. SQL is best for pretty much anything else.
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