{
"Events": [
{
"EventDuration (duration the event will be active for)": 800.0,
"EventName (event name)": "Low Level",
"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)": true,
"Kits (custom kits)": ["Guard"],
"NpcName (custom name)": "Easy Guard",
"NpcCount (number of guards to spawn)": 6,
"NpcHealth (health guards spawn with)": 100.0,
"NpcRadius (max distance guards will roam)": 15.0,
"NpcAggression (max aggression distance guards will target)": 120.0,
"MarkerColor (marker color)": "#32a844",
"MarkerBorderColor (marker border color)": "#000000",
"MarkerOpacity (marker opacity)": 0.9,
"UseLoot (use custom loot table)": true,
"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": 2,
"MaxAmount": 5
},
{
"Shortname": "rifle.lr300",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "rifle.bolt",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "rifle.l96",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "lmg.m249",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "explosive.timed",
"MinAmount": 20,
"MaxAmount": 40
},
{
"Shortname": "autoturret",
"MinAmount": 1,
"MaxAmount": 2
},
{
"Shortname": "metal.fragments",
"MinAmount": 5000,
"MaxAmount": 6000
},
{
"Shortname": "lowgradefuel",
"MinAmount": 1000,
"MaxAmount": 2000
},
{
"Shortname": "stones",
"MinAmount": 5000,
"MaxAmount": 6000
},
{
"Shortname": "wood",
"MinAmount": 5000,
"MaxAmount": 6000
},
{
"Shortname": "sulfur.ore",
"MinAmount": 5000,
"MaxAmount": 6000
}]
},
{
"EventDuration (duration the event will be active for)": 800.0,
"EventName (event name)": "Medium Level",
"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)": true,
"Kits (custom kits)": ["Guard"],
"NpcName (custom name)": "Medium Guard",
"NpcCount (number of guards to spawn)": 12,
"NpcHealth (health guards spawn with)": 150.0,
"NpcRadius (max distance guards will roam)": 15.0,
"NpcAggression (max aggression distance guards will target)": 120.0,
"MarkerColor (marker color)": "#eddf45",
"MarkerBorderColor (marker border color)": "#000000",
"MarkerOpacity (marker opacity)": 0.9,
"UseLoot (use custom loot table)": true,
"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": 2,
"MaxAmount": 5
},
{
"Shortname": "rifle.lr300",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "rifle.bolt",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "rifle.l96",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "lmg.m249",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "explosive.timed",
"MinAmount": 20,
"MaxAmount": 40
},
{
"Shortname": "autoturret",
"MinAmount": 1,
"MaxAmount": 2
},
{
"Shortname": "metal.fragments",
"MinAmount": 5000,
"MaxAmount": 6000
},
{
"Shortname": "lowgradefuel",
"MinAmount": 1000,
"MaxAmount": 2000
},
{
"Shortname": "stones",
"MinAmount": 5000,
"MaxAmount": 6000
},
{
"Shortname": "wood",
"MinAmount": 5000,
"MaxAmount": 6000
},
{
"Shortname": "sulfur.ore",
"MinAmount": 5000,
"MaxAmount": 6000
}]
},
{
"EventDuration (duration the event will be active for)": 1800.0,
"EventName (event name)": "Hard Level",
"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)": true,
"Kits (custom kits)": ["Guard"],
"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)": "#3060d9",
"MarkerBorderColor (marker border color)": "#000000",
"MarkerOpacity (marker opacity)": 0.9,
"UseLoot (use custom loot table)": true,
"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": 2,
"MaxAmount": 5
},
{
"Shortname": "rifle.lr300",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "rifle.bolt",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "rifle.l96",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "lmg.m249",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "explosive.timed",
"MinAmount": 20,
"MaxAmount": 40
},
{
"Shortname": "autoturret",
"MinAmount": 1,
"MaxAmount": 2
},
{
"Shortname": "metal.fragments",
"MinAmount": 5000,
"MaxAmount": 6000
},
{
"Shortname": "lowgradefuel",
"MinAmount": 1000,
"MaxAmount": 2000
},
{
"Shortname": "stones",
"MinAmount": 5000,
"MaxAmount": 6000
},
{
"Shortname": "wood",
"MinAmount": 5000,
"MaxAmount": 6000
},
{
"Shortname": "sulfur.ore",
"MinAmount": 5000,
"MaxAmount": 6000
}]
},
{
"EventDuration (duration the event will be active for)": 1800.0,
"EventName (event name)": "Elite Level",
"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)": true,
"Kits (custom kits)": ["Guard"],
"NpcName (custom name)": "Elite Guard",
"NpcCount (number of guards to spawn)": 12,
"NpcHealth (health guards spawn with)": 350.0,
"NpcRadius (max distance guards will roam)": 50.0,
"NpcAggression (max aggression distance guards will target)": 180.0,
"MarkerColor (marker color)": "#e81728",
"MarkerBorderColor (marker border color)": "#000000",
"MarkerOpacity (marker opacity)": 0.9,
"UseLoot (use custom loot table)": true,
"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": 2,
"MaxAmount": 5
},
{
"Shortname": "rifle.lr300",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "rifle.bolt",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "rifle.l96",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "lmg.m249",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "explosive.timed",
"MinAmount": 20,
"MaxAmount": 40
},
{
"Shortname": "autoturret",
"MinAmount": 1,
"MaxAmount": 2
},
{
"Shortname": "metal.fragments",
"MinAmount": 5000,
"MaxAmount": 6000
},
{
"Shortname": "lowgradefuel",
"MinAmount": 1000,
"MaxAmount": 2000
},
{
"Shortname": "stones",
"MinAmount": 5000,
"MaxAmount": 6000
},
{
"Shortname": "wood",
"MinAmount": 5000,
"MaxAmount": 6000
},
{
"Shortname": "sulfur.ore",
"MinAmount": 5000,
"MaxAmount": 6000
}
]
}
]
}
Unable to change loot spawns from default loadout
Same for me. When i installed the plugin everything was working fine even the auto spawn. As soon as i changed the loot table nothing is working anymore. Heres my data:
{
"Events": [
{
"EventDuration (duration the event will be active for)": 900.0,
"EventName (event name)": "Low Level",
"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,
"Kits (custom kits)": [],
"NpcName (custom name)": "Low Noob Guard",
"NpcCount (number of guards to spawn)": 5,
"NpcHealth (health guards spawn with)": 100.0,
"NpcRadius (max distance guards will roam)": 15.0,
"NpcAggression (max aggression distance guards will target)": 120.0,
"MarkerColor (marker color)": "#32a844",
"MarkerBorderColor (marker border color)": "#000000",
"MarkerOpacity (marker opacity)": 0.9,
"UseLoot (use custom loot table)": true,
"MaxLootItems (max items to spawn in crate)": 6,
"CustomLoot (items to spawn in crate)": [
{
"Shortname": "pistol.semiauto",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "ammo.pistol",
"MinAmount": 32,
"MaxAmount": 32
},
{
"Shortname": "flamethrower",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "shotgun.double",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "ammo.shotgun",
"MinAmount": 16,
"MaxAmount": 16
},
{
"Shortname": "hoodie",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "pants",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "shoes.boots",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "weapon.mod.silencer",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "gunpowder",
"MinAmount": 250,
"MaxAmount": 250
},
{
"Shortname": "metal.refined",
"MinAmount": 25,
"MaxAmount": 25
},
{
"Shortname": "metal.fragments",
"MinAmount": 500,
"MaxAmount": 500
},
{
"Shortname": "hazmatsuit.spacesuit",
"MinAmount": 1,
"MaxAmount": 1
]
},
{
"EventDuration (duration the event will be active for)": 900.0,
"EventName (event name)": "Medium Level",
"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,
"Kits (custom kits)": [],
"NpcName (custom name)": "Medium Noob Guard",
"NpcCount (number of guards to spawn)": 10,
"NpcHealth (health guards spawn with)": 150.0,
"NpcRadius (max distance guards will roam)": 15.0,
"NpcAggression (max aggression distance guards will target)": 120.0,
"MarkerColor (marker color)": "#eddf45",
"MarkerBorderColor (marker border color)": "#000000",
"MarkerOpacity (marker opacity)": 0.9,
"UseLoot (use custom loot table)": false,
"MaxLootItems (max items to spawn in crate)": 6,
"CustomLoot (items to spawn in crate)": [
{
"Shortname": "pistol.m92",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "ammo.pistol",
"MinAmount": 64,
"MaxAmount": 64
},
{
"Shortname": "pistol.python",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "smg.thompson",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "weapon.mod.flashlight",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "burlap.gloves",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "roadsign.jacket",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "roadsign.kilt",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "coffeecan.helmet",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "gunpowder",
"MinAmount": 500,
"MaxAmount": 500
},
{
"Shortname": "smg.2",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "metal.refined",
"MinAmount": 50,
"MaxAmount": 50
},
{
"Shortname": "metal.fragments",
"MinAmount": 1000,
"MaxAmount": 1000
},
{
"Shortname": "roadsign.gloves",
"MinAmount": 1,
"MaxAmount": 1
]
},
{
"EventDuration (duration the event will be active for)": 1800.0,
"EventName (event name)": "Hard Level",
"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,
"Kits (custom kits)": [],
"NpcName (custom name)": "Hard Guard",
"NpcCount (number of guards to spawn)": 15,
"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)": "#3060d9",
"MarkerBorderColor (marker border color)": "#000000",
"MarkerOpacity (marker opacity)": 0.9,
"UseLoot (use custom loot table)": false,
"MaxLootItems (max items to spawn in crate)": 6,
"CustomLoot (items to spawn in crate)": [
{
"Shortname": "ammo.shotgun.fire",
"MinAmount": 32,
"MaxAmount": 32
},
{
"Shortname": "ammo.pistol",
"MinAmount": 96,
"MaxAmount": 96
},
{
"Shortname": "rifle.semiauto",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "ammo.rifle",
"MinAmount": 64,
"MaxAmount": 64
},
{
"Shortname": "weapon.mod.muzzleboost",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "weapon.mod.muzzlebrake",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "smg.mp5",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "rifle.m39",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "shotgun.spas12",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "gunpowder",
"MinAmount": 750,
"MaxAmount": 750
},
{
"Shortname": "metal.refined",
"MinAmount": 75,
"MaxAmount": 75
},
{
"Shortname": "metal.fragments",
"MinAmount": 1500,
"MaxAmount": 1500
},
{
"Shortname": "weapon.mod.lasersight",
"MinAmount": 1,
"MaxAmount": 1
]
},
{
"EventDuration (duration the event will be active for)": 1800.0,
"EventName (event name)": "Elite Level",
"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,
"Kits (custom kits)": [],
"NpcName (custom name)": "Elite Noob Guard",
"NpcCount (number of guards to spawn)": 20,
"NpcHealth (health guards spawn with)": 350.0,
"NpcRadius (max distance guards will roam)": 50.0,
"NpcAggression (max aggression distance guards will target)": 180.0,
"MarkerColor (marker color)": "#e81728",
"MarkerBorderColor (marker border color)": "#000000",
"MarkerOpacity (marker opacity)": 0.9,
"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.rifle",
"MinAmount": 128,
"MaxAmount": 128
},
{
"Shortname": "rifle.l96",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "rifle.lr300",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "lmg.m249",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "rifle.bolt",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "weapon.mod.small.scope",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "metal.facemask",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "metal.plate.torso",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "gunpowder",
"MinAmount": 1000,
"MaxAmount": 1000
},
{
"Shortname": "metal.refined",
"MinAmount": 100,
"MaxAmount": 100
},
{
"Shortname": "metal.fragments",
"MinAmount": 2000,
"MaxAmount": 2000
},
{
"Shortname": "tactical.gloves",
"MinAmount": 1,
"MaxAmount": 1
]
}
]
}
ReidfiraSame for me. When i installed the plugin everything was working fine even the auto spawn. As soon as i changed the loot table nothing is working anymore. Heres my data:
{
"Events": [
{
"EventDuration (duration the event will be active for)": 900.0,
"EventName (event name)": "Low Level",
"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,
"Kits (custom kits)": [],
"NpcName (custom name)": "Low Noob Guard",
"NpcCount (number of guards to spawn)": 5,
"NpcHealth (health guards spawn with)": 100.0,
"NpcRadius (max distance guards will roam)": 15.0,
"NpcAggression (max aggression distance guards will target)": 120.0,
"MarkerColor (marker color)": "#32a844",
"MarkerBorderColor (marker border color)": "#000000",
"MarkerOpacity (marker opacity)": 0.9,
"UseLoot (use custom loot table)": true,
"MaxLootItems (max items to spawn in crate)": 6,
"CustomLoot (items to spawn in crate)": [
{
"Shortname": "pistol.semiauto",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "ammo.pistol",
"MinAmount": 32,
"MaxAmount": 32
},
{
"Shortname": "flamethrower",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "shotgun.double",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "ammo.shotgun",
"MinAmount": 16,
"MaxAmount": 16
},
{
"Shortname": "hoodie",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "pants",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "shoes.boots",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "weapon.mod.silencer",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "gunpowder",
"MinAmount": 250,
"MaxAmount": 250
},
{
"Shortname": "metal.refined",
"MinAmount": 25,
"MaxAmount": 25
},
{
"Shortname": "metal.fragments",
"MinAmount": 500,
"MaxAmount": 500
},
{
"Shortname": "hazmatsuit.spacesuit",
"MinAmount": 1,
"MaxAmount": 1
]
},
{
"EventDuration (duration the event will be active for)": 900.0,
"EventName (event name)": "Medium Level",
"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,
"Kits (custom kits)": [],
"NpcName (custom name)": "Medium Noob Guard",
"NpcCount (number of guards to spawn)": 10,
"NpcHealth (health guards spawn with)": 150.0,
"NpcRadius (max distance guards will roam)": 15.0,
"NpcAggression (max aggression distance guards will target)": 120.0,
"MarkerColor (marker color)": "#eddf45",
"MarkerBorderColor (marker border color)": "#000000",
"MarkerOpacity (marker opacity)": 0.9,
"UseLoot (use custom loot table)": false,
"MaxLootItems (max items to spawn in crate)": 6,
"CustomLoot (items to spawn in crate)": [
{
"Shortname": "pistol.m92",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "ammo.pistol",
"MinAmount": 64,
"MaxAmount": 64
},
{
"Shortname": "pistol.python",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "smg.thompson",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "weapon.mod.flashlight",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "burlap.gloves",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "roadsign.jacket",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "roadsign.kilt",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "coffeecan.helmet",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "gunpowder",
"MinAmount": 500,
"MaxAmount": 500
},
{
"Shortname": "smg.2",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "metal.refined",
"MinAmount": 50,
"MaxAmount": 50
},
{
"Shortname": "metal.fragments",
"MinAmount": 1000,
"MaxAmount": 1000
},
{
"Shortname": "roadsign.gloves",
"MinAmount": 1,
"MaxAmount": 1
]
},
{
"EventDuration (duration the event will be active for)": 1800.0,
"EventName (event name)": "Hard Level",
"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,
"Kits (custom kits)": [],
"NpcName (custom name)": "Hard Guard",
"NpcCount (number of guards to spawn)": 15,
"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)": "#3060d9",
"MarkerBorderColor (marker border color)": "#000000",
"MarkerOpacity (marker opacity)": 0.9,
"UseLoot (use custom loot table)": false,
"MaxLootItems (max items to spawn in crate)": 6,
"CustomLoot (items to spawn in crate)": [
{
"Shortname": "ammo.shotgun.fire",
"MinAmount": 32,
"MaxAmount": 32
},
{
"Shortname": "ammo.pistol",
"MinAmount": 96,
"MaxAmount": 96
},
{
"Shortname": "rifle.semiauto",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "ammo.rifle",
"MinAmount": 64,
"MaxAmount": 64
},
{
"Shortname": "weapon.mod.muzzleboost",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "weapon.mod.muzzlebrake",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "smg.mp5",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "rifle.m39",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "shotgun.spas12",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "gunpowder",
"MinAmount": 750,
"MaxAmount": 750
},
{
"Shortname": "metal.refined",
"MinAmount": 75,
"MaxAmount": 75
},
{
"Shortname": "metal.fragments",
"MinAmount": 1500,
"MaxAmount": 1500
},
{
"Shortname": "weapon.mod.lasersight",
"MinAmount": 1,
"MaxAmount": 1
]
},
{
"EventDuration (duration the event will be active for)": 1800.0,
"EventName (event name)": "Elite Level",
"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,
"Kits (custom kits)": [],
"NpcName (custom name)": "Elite Noob Guard",
"NpcCount (number of guards to spawn)": 20,
"NpcHealth (health guards spawn with)": 350.0,
"NpcRadius (max distance guards will roam)": 50.0,
"NpcAggression (max aggression distance guards will target)": 180.0,
"MarkerColor (marker color)": "#e81728",
"MarkerBorderColor (marker border color)": "#000000",
"MarkerOpacity (marker opacity)": 0.9,
"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.rifle",
"MinAmount": 128,
"MaxAmount": 128
},
{
"Shortname": "rifle.l96",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "rifle.lr300",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "lmg.m249",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "rifle.bolt",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "weapon.mod.small.scope",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "metal.facemask",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "metal.plate.torso",
"MinAmount": 1,
"MaxAmount": 1
},
{
"Shortname": "gunpowder",
"MinAmount": 1000,
"MaxAmount": 1000
},
{
"Shortname": "metal.refined",
"MinAmount": 100,
"MaxAmount": 100
},
{
"Shortname": "metal.fragments",
"MinAmount": 2000,
"MaxAmount": 2000
},
{
"Shortname": "tactical.gloves",
"MinAmount": 1,
"MaxAmount": 1
]
}
]
}
Did you change the data table with the plugin unloaded ?, as changes will not be saved (reverts to previous config) if the plugin is running, unload the plugin (or shutdown server) edit the data file/save , then reload plugin/start server.
I observed in the example above that the customloot was set to false in two of the events and true in only one (?)
You could also equip your guards with suitable kits to match the difficulty of the event.
I too cannot figure out how to use this plugin.
I have a kit named "Elite" using Rust Kits plugin.
My data file has the line
"Kits (custom kits)": ["Elite"],
The scientists spawn with the default blue suit/mp5
Op. your loot isnt working because youre missing a close bracket } at the end of each group, before the ].
I got this to work with Kits and Custom loot tables. Working 100%, now just have to balance it.
(19:42:50) | Failed to initialize plugin 'GuardedCrate v1.4.5' (JsonReaderException: After parsing a value an unexpected character was encountered: {. Path 'Events[2]['CustomLoot (items to spawn in crate)'][5]', line 146, position 2.)
at Newtonsoft.Json.JsonTextReader.ParsePostValue () [0x00179] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.JsonTextReader.Read () [0x0005a] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () [0x00000] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x00043] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList (System.Collections.IList list, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonArrayContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x0016f] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue, System.String id) [0x001be] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0007f] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00061] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00267] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0015c] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList (System.Collections.IList list, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonArrayContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x0016f] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue, System.String id) [0x001be] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0007f] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00061] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00267] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0015c] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Oxide.Core.Configuration.DynamicConfigFile.ReadObject[T] (System.String filename) [0x00028] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x00021] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Plugins.GuardedCrate.Init () [0x00017] in <9bdee83760314d6ba9737329a0a7f6f0>:0
at Oxide.Plugins.GuardedCrate.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0029d] in <9bdee83760314d6ba9737329a0a7f6f0>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0
en Oxide.Core.Plugins.CSPlugin.OnCallHook (nombre System.String, System.Object[] args) [0x000d8] en <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
en Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] en <c2afd8354b8b4f3ca451cf5a1a111c3>:0
(19:42:50) | Plugin descargado Caja guardada v1.4.5 por Bazz3l
(19:42:50) | Versión anterior del plugin no se pudo cargar: GuardedCrate