Few things need help with

Hi hope all is well trying to get kits working, after making a few edits the old kits are still showing,  i have unloaded and delted conffig and at a few times when dueling we would load in with 0 kits, looking for a fix much appreicated https://ibb.co/qxwSqXH

{
    "Advanced Options": {
        "Let Players Die Normally": false,
        "Require 1v1 Maximum Spawn Points To Be Less Than Or Equal To X": 200,
        "Require 1v1 Minimum Spawn Points To Be Equal Or Greater Than X": 2,
        "Require TDM Minimum Spawn Points To Be Equal Or Greater To The Number Of Players Joining": false,
        "Send Dead Players Back Home": true,
        "Send Defeated Players Back Home": false
    },
    "Animals": {
        "Die Instantly": false,
        "Put To Sleep": true
    },
    "Automatically Power On Devices": {
        "AutoTurrets": false,
        "FlameTurrets": false,
        "Ovens": false
    },
    "Betting": {
        "Allow Bets To Be Forfeit": true,
        "Allow Bets To Be Refunded": false,
        "Bets": [
            {
                "itemid": -2099697608,
                "max": 50000,
                "trigger": "stone"
            },
            {
                "itemid": -1581843485,
                "max": 50000,
                "trigger": "sulfur"
            },
            {
                "itemid": 69511070,
                "max": 50000,
                "trigger": "fragment"
            },
            {
                "itemid": -1938052175,
                "max": 50000,
                "trigger": "charcoal"
            },
            {
                "itemid": -265876753,
                "max": 25000,
                "trigger": "gp"
            },
            {
                "itemid": 317398316,
                "max": 1000,
                "trigger": "hqm"
            },
            {
                "itemid": 1248356124,
                "max": 10,
                "trigger": "c4"
            },
            {
                "itemid": -742865266,
                "max": 6,
                "trigger": "rocket"
            }
        ],
        "Enabled": true
    },
    "Custom Kits": {
        "Kits": {
            "Assault Rifle and Bolt Action Rifle": [
                {
                    "ammo": "ammo.rifle",
                    "amount": 1,
                    "container": "belt",
                    "mods": [
                        "weapon.mod.lasersight",
                        "weapon.mod.holosight"
                    ],
                    "shortname": "rifle.ak",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": "ammo.rifle",
                    "amount": 1,
                    "container": "belt",
                    "mods": [
                        "weapon.mod.lasersight",
                        "weapon.mod.small.scope"
                    ],
                    "shortname": "rifle.bolt",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": null,
                    "amount": 5,
                    "container": "belt",
                    "mods": null,
                    "shortname": "largemedkit",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": null,
                    "amount": 5,
                    "container": "belt",
                    "mods": null,
                    "shortname": "bandage",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": null,
                    "amount": 5,
                    "container": "belt",
                    "mods": null,
                    "shortname": "syringe.medical",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": null,
                    "amount": 5,
                    "container": "belt",
                    "mods": null,
                    "shortname": "barricade.wood.cover",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": null,
                    "amount": 5,
                    "container": "belt",
                    "mods": null,
                    "shortname": "barricade.wood",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": null,
                    "amount": 1,
                    "container": "wear",
                    "mods": null,
                    "shortname": "hoodie",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": null,
                    "amount": 1,
                    "container": "wear",
                    "mods": null,
                    "shortname": "metal.facemask",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": null,
                    "amount": 1,
                    "container": "wear",
                    "mods": null,
                    "shortname": "metal.plate.torso",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": null,
                    "amount": 1,
                    "container": "wear",
                    "mods": null,
                    "shortname": "pants",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": null,
                    "amount": 1,
                    "container": "wear",
                    "mods": null,
                    "shortname": "burlap.gloves",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": null,
                    "amount": 1,
                    "container": "wear",
                    "mods": null,
                    "shortname": "shoes.boots",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": null,
                    "amount": 200,
                    "container": "main",
                    "mods": null,
                    "shortname": "ammo.rifle",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": null,
                    "amount": 1,
                    "container": "main",
                    "mods": null,
                    "shortname": "weapon.mod.flashlight",
                    "skin": 0,
                    "slot": -1
                },
                {
                    "ammo": null,
                    "amount": 1,
                    "container": "main",
                    "mods": null,
                    "shortname": "weapon.mod.small.scope",
                    "skin": 0,
                    "slot": -1
                }
            ]
        },
        "Use Workshop Skins": true
    },
    "Deathmatch": {
        "Announce Deaths To Match": true,
        "Announce Deaths To Server": true,
        "Chat Command": "tdm",
        "Economics Money [0 = disabled]": 0,
        "Enabled": true,
        "Evil Shirt Skin": 14177,
        "Friendly Fire": true,
        "Good Shirt Skin": 101,
        "Max Team Size": 5,
        "Min Team Size": 2,
        "ServerRewards Points [0 = disabled]": 0,
        "Shirt Shortname": "tshirt"
    },
    "Deployables": {
        "Morph Barricades Into High External Stone Walls": false,
        "Morph Barricades Into High External Wooden Walls": true,
        "Allow Wooden Barricade Cover": true
    },
    "Ranked Ladder": {
        "Award Top X Players On Wipe": 3,
        "Enabled": true
    },
    "Respawn": {
        "Give Kit If Respawn Items Are Empty": "autokit",
        "Items": [
            {
                "ammo": null,
                "amount": 1,
                "container": "belt",
                "mods": null,
                "shortname": "rock",
                "skin": 0,
                "slot": -1
            },
            {
                "ammo": null,
                "amount": 1,
                "container": "belt",
                "mods": null,
                "shortname": "torch",
                "skin": 0,
                "slot": -1
            }
        ]
    },
    "Rewards": {
        "Economics Money [0 = disabled]": 0,
        "Required Money To Duel": 0,
        "ServerRewards Points [0 = disabled]": 0
    },
    "Settings": {
        "Allow Announcement": true,
        "Announce Duel Information Every X Seconds": 1800,
        "Auto Create Dueling Zone If Zone Does Not Exist": true,
        "Auto Enable Dueling If Zone(s) Exist": true,
        "Auto Wipe Dueling Zones On Map Wipe": true,
        "Blacklist Commands": false,
        "Blacklisted Chat Commands": [
            "/tp",
            "/remove",
            "/bank",
            "/shop",
            "/event",
            "/rw",
            "/home",
            "/trade"
        ],
        "Broadcast Defeat To All Players": true,
        "Building Block Extension Radius": 0,
        "Bypass Naked Check And Strip Items Anyway": false,
        "Chat SteamID": 0,
        "Create Dome Around Event Using Spheres (0 = disabled, recommended = 5)": 0,
        "Disable Requirement To Allow Duels": false,
        "Duel Command Name": "duel",
        "Immunity Time": 5,
        "Kits": [
            "kit_1"
        ],
        "Kits Least Used": [
            "kit_1"
        ],
        "Kits Least Used Chance": 0.25,
        "No Movement During Immunity": true,
        "No Stability On Structures": true,
        "Player Health After Duel [0 = disabled]": 100,
        "Prevent Players From Spawning In Zone": true,
        "Prevent Players Not Dueling From Entering The Zone": true,
        "Queue Command Name": "queue",
        "Reset Temporary Ladder Each Wipe": true,
        "Respawn Dead Players On Disconnect": true,
        "Respawn Zone Walls On Death": false,
        "Scale Damage Percent": 1,
        "Set Preferred Environment Plugin Time": false,
        "Time To Duel In Minutes Before Death": 10,
        "Use Random Skins": true,
        "Whitelist Commands": false,
        "Whitelisted Chat Commands": [
            "/report",
            "/pm",
            "/r",
            "/help"
        ]
    },
    "Spawns": {
        "Auto Remove On Zone Removal": false,
        "Draw Time": 30,
        "Remove All Distance": 50,
        "Remove Distance": 10
    },
    "Spectators": {
        "Send Home If Rematch Times Out": false
    },
    "User Interface": {
        "Auto Enable GUI For Players": false,
        "Chat Command": "dui",
        "Send Spectators Home FirstOrDefault When Clicking Requeue": false,
        "Show Close Button (X)": true,
        "Show Defeat Message UI For X Seconds": 7.5,
        "Use Cursor": false
    },
    "Zone": {
        "Avoid Creating Automatic Spawn Points In Water": true,
        "Create Least Amount Of Walls": false,
        "Create New Zone Every X Duels [0 = disabled]": 10,
        "Extra High External Wall Stacks": 2,
        "Max Zones [Min 1]": 1,
        "Maximum Incline On Hills": 40,
        "Players Per Zone [Multiple Of 2]": 10,
        "Players Visible To Admins": true,
        "Use Arena Wall Generation": true,
        "Use Wooden Walls": false,
        "Zone Radius (Min: 50, Max: 300)": 50
    }
}

I'm actually having the same problem, the old kits are staying on the GUI.

Merged post

So @youknowmarcus, I kinda found a way to fix this... edit the kits the way you want them (do not make editing mistakes like missing a comma, this script is smart and basically erases it all and puts it back to default if it detects an error). Then when they are edited the way you want.. reload the plugin and it works... BUT... if you are editing them for a SECOND time... it'll appear as a duplicate in the GUI for some reason.... so i've found the only fix is just restart the server..

i think a server restart also fixes it mine is good now and have 3 aks kit 

sorry, I forgot to respond to this. I should probably rewrite the config so you have less issues. I should be able to do that without requiring it to be wiped - I hope :p

nivex

sorry, I forgot to respond to this. I should probably rewrite the config so you have less issues. I should be able to do that without requiring it to be wiped - I hope :p

You are amazing, I didnt wanna cause you issues. I was just noticing that happens :)..