1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Data problem DataBase or Config.yml ?

Discussion in 'Development' started by XdmingXD, Apr 15, 2017.

  1. XdmingXD

    XdmingXD Baby Zombie

    Messages:
    158
    GitHub:
    xdmingxd
    I have seen some plugin used blah.db to store data and some used NAMEOFTHEPLAYER.yml to store data
    The question is
    database or config.yml is better? like faster or use less memony
    :D
     
  2. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    I'd say a database is useful for it's purpose; a database. .yml and .json files can be used for storage too, but they're more focused on being able to be edited by hand as well, which a -for example- SQLite database does not allow. Every storage way has their own advantages and disadvantages. MySQL allows databases which can be used by more servers at the same time, which could be very useful for networks. It really depends on what you want to use it for.
     
    jasonwynn10 and Primus like this.
  3. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    HimbeersaftLP and Jack Noordhuis like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.