Infinite Config

Discussion in 'Spigot Plugin Development' started by RavortMC, Jun 11, 2015.

  1. Hey again, how i can make a config.yml with infite Strings like:

    - world1
    - world2
    - world3
  2. worlds: [world1, world2, world3]


    world1: true
    world2: true
    world3: true
  3. Make a list of strings.

    Set the value at the key "worlds" to be this list.

    Get the list back with Configuration#getStringList ("worlds")