Can I store Usernames in a yml?

Discussion in 'Plugin Development' started by Themuddfamily, Jul 24, 2012.

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

    Themuddfamily

    Basically I have a plugin (CourtJustice)
    And I want to know if I can store the Jailed players in a yml and if so how? this is what I have so far...


     
  2. Offline

    pzxc

    Sure you can, just use player.getName() to get their name and store it. Then read it back later with config.getString()
     
Thread Status:
Not open for further replies.

Share This Page