How to store information?

Discussion in 'Plugin Development' started by Scaream, Mar 10, 2013.

Thread Status:
Not open for further replies.
  1. Offline


    Hey guys! I'm making a economy-like plugin and I would like to know how to store information, like for example, the money of peoples bank accounts, how can I store this info and where can it be stored?

  2. Offline


    when they join the server and their new or there config doesn't exist
    create it and set the path with the 2 variables
    1. File config;
    then set the config = new File("plugins/PLUGINNAME/users/" + name + ".yml");
    2. FileConfiguration data;
    set data = YamlConfiguration.loadConfiguration(config);
    then set the data in the config as so
    data.set("to.path", value");
    }catch(Exception e){}
  3. Offline


    Learn basic java.
  4. Offline


    Actually storing information isn't really basic java.
  5. Offline


    sionzee not to be rude but why say that? he asked a question on how to store to YAML files not someone to tell him "Learn basic java"
    Now you posted on here yourself because you didn't know how to do something right?
    exactly what this person is doing
  6. Offline


    Last I checked this was the forum for helping people with plugins, not for yelling at those who need help.
  7. Offline


    I don't think he was yelling at all. It is in fact basic Bukkit knowledge, and reading one or two wiki pages could have answered his question.
  8. Offline


    microgeek It might be basic Bukkit knowledge for you because you already learned it but is it for the rest of the community? like xXCryptoFreakXx said this is a forum for people who need help or do not have the resources you have/had or even know about the resources. That's why there is a forums here to help people and to give them the resources they need
  9. Offline


    It would help if one of the wiki pages regarding this topic was not written in Russian.
  10. Offline


  11. Offline


Thread Status:
Not open for further replies.

Share This Page