CustomLoot does not seem to take into account config. Trying to get started, so picked up oil_barrel as an example...
Edit oxide\config\CustomLoot.json:
"oil_barrel": {
"enabled": true,
"lootTable": "oil_barrel",
"maxItems": 6,
"minItems": 6,
"gunsWithAmmo": false,
"noGuns": false,
"MaxBps": 3,
"MinWeaponCondition": 50,
"MaxWeaponCondition": 50,
"ClearContainerFirst": true
},
Tried also "ClearContainerFirst": false (I would expect that I would have normal loot + what is in CustomLoot in this case)...
Moreover edit oxide\data\CustomLoot\oil_barrel.json (which was auto created)
"AlwaysSpawnList": [
"jackhammer"
],
+ Removed from BlackList
To check if I'll get a jackhammer...
in server console: oxide.reload CustomLoot
Unloaded plugin CustomLoot v1.0.4 by Steenamaroo
Loaded plugin CustomLoot v1.0.4 by Steenamaroo
Calling 'OnServerInitialized' on 'CustomLoot v1.0.4' took 348ms
[CustomLoot] Finished populating all containers.
In game, break an oil_barrel (red one with usually crude+oil)... I get the default spawn (crude+oil).
Tried spawning a new oil_barrel too.
I'm probably doing something stupid somewhere...
Thanks in advance for your help...