This plugin is awesome and it allowed me to do exactly what I wanted, namely: starting from a pure vanilla loot table, simply add "blood" as a guaranteed drop for locked crates. I was able to achieve this with the below configuration and everything has been working smoothly for a couple weeks until today when a player was able to produce infinite blood. It seems like whenever they looted the blood from the crate another one would spawn inside. This also prevented the crate from ever emptying and disappearing. Let me know if there's anything I can change in the config to try remove this error. Thank you!
edit: I'm going to try changing "allow stacking" to false, "ignore max stack" to false, and changing "minimal amount" to 0
{
"Refill Loot On Plugin Load": true,
"Container Loot Save Command": "lootsave",
"Container Refill Command": "lootrefill",
"Load Config Command": "lootconfig",
"Containers": [
{
"Entity Shortnames": [
{
"Shortname": "chinooklockedcrate",
"Enable Regex": false,
"Exclude": false,
"API Shortname": false
}
],
"Process Corpses": true,
"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": true,
"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": 1,
"Maximal Amount": 1,
"Rate": -1.0,
"Chance": 1
}
],
"Chance": 1
}
]
},
{
"Entity Shortnames": [
{
"Shortname": "codelockedhackablecrate",
"Enable Regex": false,
"Exclude": false,
"API Shortname": false
}
],
"Process Corpses": true,
"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": true,
"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": 1,
"Maximal Amount": 1,
"Rate": -1.0,
"Chance": 1
}
],
"Chance": 1
}
]
},
{
"Entity Shortnames": [
{
"Shortname": "codelockedhackablecrate_oilrig",
"Enable Regex": false,
"Exclude": false,
"API Shortname": false
}
],
"Process Corpses": true,
"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": true,
"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": 1,
"Maximal Amount": 1,
"Rate": -1.0,
"Chance": 1
}
],
"Chance": 1
}
]
}
],
"Debug": false
}