I was trying to use custom auto kits, along with the Kits plugin. I followed the instuctions on both mod pages and i cant get the autokit to work. I wanted to have all spawns start with stone axe, and pick, and a torch. But even though the config said false where it was supposed to replace inventory items on respawn. But instead, players spawn in with nothing. Not even a rock.
Can't get autokits to work
I don't think you need the CustomAutoKits plugin if you're using the Kits plugin. When in-game making kits, at first I always forgot to use the
section. Depending on how you set your cooldowns on your kits, you can set it to give a better kit every so often.
Here's a chunk of code for the \oxide\data\Kits.json with the stone axe, stone pick, and torch:
/kit items flag to save the items I was wearing/holding to the kit. If this isn't your issue, you can just put the name of the spawn kit into the config\Kits.json"Custom AutoKits": {"0": "SpawnKit","1": "SpawnKit","2": "SpawnKit"section. Depending on how you set your cooldowns on your kits, you can set it to give a better kit every so often.
Here's a chunk of code for the \oxide\data\Kits.json with the stone axe, stone pick, and torch:
{
"Kits": {
"spawnkit": {
"name": "spawnkit",
"description": null,
"max": 0,
"cooldown": 0.0,
"authlevel": 0,
"hide": true,
"npconly": false,
"permission": null,
"image": null,
"image2": null,
"building": null,
"items": [
{
"itemid": 171931394,
"container": "weapon",
"amount": 1,
"skinid": 0,
"weapon": false,
"blueprintTarget": 0,
"mods": []
},
{
"itemid": -1583967946,
"container": "belt",
"amount": 1,
"skinid": 0,
"weapon": false,
"blueprintTarget": 0,
"mods": []
},
{
"itemid": 795236088,
"container": "belt",
"amount": 1,
"skinid": 0,
"weapon": false,
"blueprintTarget": 0,
"mods": []
}