Hi there,
Below is the configuration we've used to add an extra item drop to codelocked hackable crates. Sometimes when the server does the daily restart, the codelocked hackable crate that's out in the open in a monument like at the trainyard, will now contain infinite refilling blood (the item that was added to it using LootPlus). The "infinite" blood happens because blood is the last item in the crate and everytime it's withdrawn from the crate it is refilled with a new amount of blood. The only way to remove the crate from the game is for an admin to come and delete it.
Config:
{
"Refill Loot On Plugin Load": true,
"Container Loot Save Command": "lootsave",
"Container Refill Command": "lootrefill",
"Load Config Command": "lootconfig",
"Containers": [
{
"Entity Shortnames": [
{
"Shortname": "codelockedhackablecrate",
"Enable Regex": false,
"Exclude": false,
"API Shortname": false
}
],
"Process Corpses": false,
"Process Loot Containers": true,
"Monument Prefabs": [
""
],
"Shuffle Items": false,
"Allow Duplicate Items": false,
"Allow Duplicate Items With Different Skins": true,
"Remove Container": false,
"Item Container Indexes": [
0
],
"Replace Items": false,
"Add Items": true,
"Modify Items": false,
"Modify Ignores Blueprint State": false,
"Fill With Default Items": false,
"Online Condition": {
"Minimal Online": -1,
"Maximal Online": -1
},
"Maximal Failures To Add An Item": 5,
"Capacity": [
{
"Capacity": 1,
"Chance": 1
}
],
"Items": [
{
"Item Shortnames": [
{
"Shortname": "blood",
"Rarity": "global",
"Category": "global",
"Enable Regex": false,
"Exclude": false
}
],
"Item Name (Empty To Ignore)": "",
"Is Blueprint": false,
"Allow Stacking": true,
"Ignore Max Stack": true,
"Ignore Max Condition": true,
"Remove Item": false,
"Replace Item With Default Loot": false,
"Conditions": [
{
"Minimal Condition": 75.0,
"Maximal Condition": 100.0,
"Max Condition Of Item": -1.0,
"Condition Rate": -1.0,
"Max Condition Rate": -1.0,
"Chance": 1
}
],
"Skins": [
{
"Skin": 0,
"Chance": 1
}
],
"Amount": [
{
"Minimal Amount": 500,
"Maximal Amount": 1000,
"Rate": 1.0,
"Chance": 1
}
],
"Chance": 1
}
]
},
{
"Entity Shortnames": [
{
"Shortname": "codelockedhackablecrate_oilrig",
"Enable Regex": false,
"Exclude": false,
"API Shortname": false
}
],
"Process Corpses": false,
"Process Loot Containers": true,
"Monument Prefabs": [
""
],
"Shuffle Items": false,
"Allow Duplicate Items": false,
"Allow Duplicate Items With Different Skins": true,
"Remove Container": false,
"Item Container Indexes": [
0
],
"Replace Items": false,
"Add Items": true,
"Modify Items": false,
"Modify Ignores Blueprint State": false,
"Fill With Default Items": false,
"Online Condition": {
"Minimal Online": -1,
"Maximal Online": -1
},
"Maximal Failures To Add An Item": 5,
"Capacity": [
{
"Capacity": 1,
"Chance": 1
}
],
"Items": [
{
"Item Shortnames": [
{
"Shortname": "blood",
"Rarity": "global",
"Category": "global",
"Enable Regex": false,
"Exclude": false
}
],
"Item Name (Empty To Ignore)": "",
"Is Blueprint": false,
"Allow Stacking": true,
"Ignore Max Stack": true,
"Ignore Max Condition": true,
"Remove Item": false,
"Replace Item With Default Loot": false,
"Conditions": [
{
"Minimal Condition": 75.0,
"Maximal Condition": 100.0,
"Max Condition Of Item": -1.0,
"Condition Rate": -1.0,
"Max Condition Rate": -1.0,
"Chance": 1
}
],
"Skins": [
{
"Skin": 0,
"Chance": 1
}
],
"Amount": [
{
"Minimal Amount": 1000,
"Maximal Amount": 2000,
"Rate": 1.0,
"Chance": 1
}
],
"Chance": 1
}
]
}
],
"Debug": false
}