Some questions about YAML

Discussion in 'Plugin Development' started by XsergeiX, Sep 25, 2014.

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

    XsergeiX

    1. How to remove a value?
    For example i have this in my config:
    world:
    banneditems:
    - 35
    - 74

    how to remove "world" with "banneditems"?

    2.Is there way to get all subvalues names?
    For example i have this:
    worlds:
    world:
    banneditems:
    - 5
    - 6
    world_nether:
    banneditems:
    - 7
    - 8

    Is there method that will return worlds subvalues array(like ["world","world_nether"])?

    So that's it, waiting for answers!
     
  2. Offline

    Totom3

    XsergeiX likes this.
  3. Offline

    XsergeiX

    thank you for hint!
     
    Totom3 likes this.
Thread Status:
Not open for further replies.

Share This Page