How to make a class plugin?

Discussion in 'Plugin Development' started by AstramG, Sep 30, 2012.

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

    AstramG

    I want to know how to make it so that players have classes, however, I don't know how to make it so that when a player chooses a class they stay that class, and it will never go away. Basically, I need to know how to make a hashmap for it, which I have no idea how to do. I don't know what <player, long> means in the hashmap either. Someone please help D:
     
  2. Offline

    gregthegeek

    If you want them to stay in that class forever, you will need to save the information to a file or to a database.
     
  3. Offline

    AstramG

    How would I do that?
     
  4. Offline

    hawkfalcon

Thread Status:
Not open for further replies.

Share This Page