Multiple Players in a Config

Discussion in 'Plugin Development' started by Coopah, Aug 1, 2014.

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

    Coopah

    How would I create a string in a config (that I can check for) that contains more then one player.
    I think you use a arraylist however I'm not entirely sure.
     
  2. Offline

    TheMcScavenger

    If you want to store a List, you should store a list of UUIDs:
    Code:java
    1. getConfig().set(path, list);

    This will look like:
    Code:
    <path>:
      - <player UUID>
      - <player UUID>
     
Thread Status:
Not open for further replies.

Share This Page