{
"AutoEvent (enables auto event spawns)": true,
"AutoEventDuration (time until new event spawns)": 1800.0
}
{
"Events": [
{
"EventDuration (duration the event will be active for)": 1800.0,
"AutoHack (enables auto hacking of crates when an event is finished)": true,
"AutoHackSeconds (countdown for crate to unlock in seconds)": 60.0,
"UseKits (use custom kits plugin)": false,
"KitName (custom kit name)": null,
"NpcName (custom name)": "Hard Guard",
"NpcCount (number of guards to spawn)": 10,
"NpcHealth (health guards spawn with)": 200.0,
"NpcRadius (max distance guards will roam)": 50.0,
"NpcAggression (max aggression distance guards will target)": 150.0,
"MarkerColor (marker color)": "#e81728",
"MarkerBorderColor (marker border color)": "#000000",
"MarkerOpacity (marker opacity)": 1.0,
"UseLoot (use custom loot table)": false,
"MaxLootItems (max items to spawn in crate)": 6,
"CustomLoot (items to spawn in crate)": [
{
"Shortname": "rifle.ak",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "ammo.rocket.basic",
"MinAmount": 3,
"MaxAmount": 3
},
{
"Shortname": "rifle.lr300",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "explosive.timed",
"MinAmount": 3,
"MaxAmount": 4
},
{
"Shortname": "autoturret",
"MinAmount": 1,
"MaxAmount": 2
},
{
"Shortname": "stones",
"MinAmount": 3000,
"MaxAmount": 5000
},
{
"Shortname": "sulfur.ore",
"MinAmount": 3000,
"MaxAmount": 5000
}
]
}
]
}Gives error:
GuardedCrate v1.3.8: Failed to load config file (is the config file corrupt?) (Additional text encountered after finished reading JSON content: {. Path '', line 5, position 0.)Managed to make it work by deleting the autoevent config.
However does not work the npc and loot configs. My current config is at:
{
"Events": [
{
"EventDuration (duration the event will be active for)": 1800.0,
"AutoHack (enables auto hacking of crates when an event is finished)": true,
"AutoHackSeconds (countdown for crate to unlock in seconds)": 300.0,
"UseKits (use custom kits plugin)": false,
"KitName (custom kit name)": null,
"NpcName (custom name)": "Cover Team",
"NpcCount (number of guards to spawn)": 25,
"NpcHealth (health guards spawn with)": 300.0,
"NpcRadius (max distance guards will roam)": 50.0,
"NpcAggression (max aggression distance guards will target)": 250.0,
"MarkerColor (marker color)": "#e81728",
"MarkerBorderColor (marker border color)": "#000000",
"MarkerOpacity (marker opacity)": 1.0,
"UseLoot (use custom loot table)": true,
"MaxLootItems (max items to spawn in crate)": 5,
"CustomLoot (items to spawn in crate)": [
{
"Shortname": "rifle.ak",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "ammo.rocket.basic",
"MinAmount": 1,
"MaxAmount": 3
},
{
"Shortname": "rifle.lr300",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "explosive.timed",
"MinAmount": 1,
"MaxAmount": 4
},
{
"Shortname": "autoturret",
"MinAmount": 1,
"MaxAmount": 3
},
{
"Shortname": "gunpowder",
"MinAmount": 1000,
"MaxAmount": 2500
},
{
"Shortname": "sulfur.ore",
"MinAmount": 2000,
"MaxAmount": 6000
},
{
"Shortname": "explosives",
"MinAmount": 5,
"MaxAmount": 70
},
{
"Shortname": "explosive.satchel",
"MinAmount": 2,
"MaxAmount": 10
},
{
"Shortname": "ammo.rifle.explosive",
"MinAmount": 30,
"MaxAmount": 120
}
]
}
]
}