Store user data to MySql?

Discussion in 'Archived: Plugin Requests' started by Sintwar, Oct 24, 2013.

  1. Offline


    I need a plugin that stores all of a players data on server exit, and restores it on server entrance.

    Data that would be needed would be pretty much everything unique to a player including inventory, ender chest contents, health, level, hunger, potion effects and coords.

    I have seen a few plugins that store inventory only, but I need something that keeps track of everything as I will have multiple servers with an identical, static adventure map, and I want users to be able to change servers and pick up where they left off.

    This would make scalability much easier since I could just add and remove servers to scale without needing to worry about merging (and possibly replacing) player data.

    I have been scouring the web trying to find something like this. It seems like it would be so simple, but I can't seem to find a plugin to do it.
  2. Offline


    Sintwar Most things would be fine to add to the database, but the ender chest and normal chest contents could be the issue, as they are not unique to the person. You would have to couple it with something like LocketteAPI, so you could identify which chest belongs to what user.

    But User inventory, items with/without enchantments (pretty much anything on the user could be added to the database.).

    How did you think about this happening? On logout it logs to the database? On a scheduler so every 15 minutes or so it logs to the Database?
  3. Offline


    I started attempting to make something like this a while ago, but I still need to fix it up a lot before I put it out there.

Share This Page