Solved Best way to do this?

Discussion in 'Plugin Development' started by Switchbladed, Dec 15, 2012.

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

    Switchbladed

    Solved

    I want to make a lottery plugin, so a user can buy tickets for it with /lottery buy
    Should I store the information in a hashmap when they buy a ticket? Or should I store it in a yml file?
    Thanks in advance.
     
  2. Offline

    Tirelessly

    Store it in both a hashmap and a yml, load/save on reloads and restarts.

    For the rest of it.. Do you wanna write it or do you want us to write it for you?
     
  3. Offline

    Switchbladed

    I will write it myself.. Thanks for the help.
     
Thread Status:
Not open for further replies.

Share This Page