yml multiple levels

Discussion in 'Plugin Development' started by matejdro, Mar 11, 2011.

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

    matejdro

    I'm currently using org.bukkit.util.config.Configuration to read configuration from yml.

    I saw some plugins have multiple levels yml, like this:

    Code:
    level1:
          level2:
               level3:
    How can i do that?
     
  2. Offline

    clash

    When getting or setting values, use "level1.level2.level3".
     
  3. Offline

    matejdro

    Wait, that simple? Thanks :)
     
Thread Status:
Not open for further replies.

Share This Page