Solved Remove Item from Configsection

Discussion in 'Spigot Plugin Development' started by RayoxHD, May 23, 2016.

  1. Hello SpigotMC Community,

    Can someone help me and tell how i would remove the '1' and the Sub text without deleting the rest ?

    Code (Text):
  2. Get the list
    Modify it (example, removing an object from it)
    And re-save it under "Filter"
  3. MiniDigger


    what are you trying to do? is that a yaml config?
  4. config.set("Filter.1", null);
  5. Oh right... I'm talking about the wrong kind of list.
  6. Does this also remove the 1 ?
  7. i'm trying to remove the arg given from a command and remove it from the config
  8. It was the answer to your question, so yes.
    • Useful Useful x 1
  9. Thanks