Question about bukkit config

Discussion in 'Plugin Development' started by wirher, Jun 20, 2012.

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

    wirher

    Hello,
    how can I get list of sections from root in configuration file? For example I have config like that:

    Code:
    SectionOne:
        randomList:
          -stuff
          -moarstuff
    SectionAlpha:
        something:
            thingA: true
            thingB: false
    And for this code I want to get array ( can be list or what do you want) with strings { SectionOne, SectionAlpha}. Thanks!
     
  2. Offline

    theguynextdoor

  3. Offline

    wirher

    Where were my eyes? Thank you :p
     
Thread Status:
Not open for further replies.

Share This Page