Solved new ConfigurationSection()?

Discussion in 'Spigot Plugin Development' started by Blazzike, Jun 13, 2016.

  1. Hello,

    I am wondering if it's possible to create a new empty ConfigurationSection somehow.

    I don't really have anything else to add.

    Thanks in advance,
  2. getConfig().createSection("YourSection.ChildSectionOfYourSection");
  3. I apologize, I meant create a virtual section, one that can be created without a physical (kinda not physical) file.
  4. Can you explain more?
  5. Uh... Hm. You know how you can create a new ItemStack() using the Bukkit API, well I want to do that but with a ConfigurationSection:

    Code (Text):
    ConfigurationSection section = new ConfigurationSection();
  6. I'm going to mark this as solved as I have found a solution.