Factions config "worldsignore" help

Discussion in 'Bukkit Help' started by Arrxzon, Oct 2, 2013.

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

    Arrxzon

    attempting to block factions in all worlds except the factions world isn't working for me
    i set up the config like so
    Code:
      "worldsNoClaiming": ["worldspawn", "skyworld", "SkyWarsArenaWorld", "SG8", "Kitpvp",],
      "worldsNoPowerLoss": ["worldspawn", "skyworld", "SkyWarsArenaWorld","SG8", "Kitpvp",],
      "worldsIgnorePvP": ["worldspawn", "skyworld", "SkyWarsArenaWorld", "SG8", "Kitpvp",],
    Then i upload it back to the server
    it throws this error at me http://pastebin.com/VThqmiVP
    and automatically sets the config to this
    Code:
      "worldsIgnorePvP": [
        "worldspawn",
        "skyworld",
        "SkyWarsArenaWorld",
        "SG8",
        "Kitpvp",
        null
      ],
    yea it removed worldsnoclaiming and worldsnopowerloss from the config completely

    Thanks
    - Arrxzon
     
  2. Offline

    numlaar

    You need to remove the last comma from each line inside the brackets, see how it says "null" thats because it is expecting an additional value to be passed in but since nothing is there, it is inserting a null.

    The second half I am not 100% sure on, but I think you need to remove the comma's after the brackets except for the last line. But again, I would need to see a larger snippet. I am sure on the first part though.
     
  3. Offline

    Arrxzon

    numlaar
    thanks that fixed all of it, just removing the last comma inside the brackets
     
  4. Offline

    numlaar

    Awesome.

    Glad I could be of help! :) thanks
     
    Arrxzon likes this.
Thread Status:
Not open for further replies.

Share This Page