Jump to content

Help. Poll


Recommended Posts

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

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

Posted
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

Posted (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 by Soapbosnia
Posted

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.

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