Add items to the config file and validated it to ensure there are no errors but the loot won't spawn during the event once a barrel breaks
config file;
{
"Autostart event(disable if you want to trigger the event only manually)": true,
"Minimum time to event start(in seconds)": 900,
"Maximum time to event start(in seconds)": 10800,
"Minimum event duration(in seconds)": 300,
"Maximum event duration(in seconds)": 900,
"Minimum number of online players to trigger an event": 1,
"Pre-event message": "Barrel breaker event will start in a minute",
"Pre-event message time(in seconds)": 60,
"Event message": "The barrel breaker event has begun, go and break all the barrels!",
"End event message": "Barrel breaker event ended",
"Items list": [
{
"prefabName": "scrap",
"dropChance": 100,
"min": 2,
"max": 2,
"name": "",
"skin": 0
},
{
"prefabName": "metal.fragments",
"dropChance": 20,
"min": 1,
"max": 100,
"name": "",
"skin": 0
},
{
"prefabName": "autoturret",
"dropChance": 5,
"min": 1,
"max": 1,
"name": "",
"skin": 0
},
{
"prefabName": "black.raspberries",
"dropChance": 30,
"min": 1,
"max": 10,
"name": "",
"skin": 0
},
{
"prefabName": "jackhammer",
"dropChance": 20,
"min": 1,
"max": 1,
"name": "",
"skin": 0
},
{
"prefabName": "oretea.advanced",
"dropChance": 20,
"min": 1,
"max": 1,
"name": "",
"skin": 0
},
{
"prefabName": "pistol.m92",
"dropChance": 20,
"min": 1,
"max": 1,
"name": "",
"skin": 0
},
{
"prefabName": "santahat",
"dropChance": 20,
"min": 1,
"max": 1,
"name": "",
"skin": 0
},
{
"prefabName": "scraptea",
"dropChance": 20,
"min": 1,
"max": 1,
"name": "",
"skin": 0
},
{
"prefabName": "shotgun.spas12",
"dropChance": 5,
"min": 1,
"max": 1,
"name": "",
"skin": 0
}
]
}