Dependencies / configuration example?
Are there other plugins needed for this to work?

What would be the correct syntax for applying a skin to item short name "pants"?

Thanks for the help in advance!
Hey!
Just updated the plugin. It's simple, read the documentation please. Set the container name to the needed, shortname to the pants' shortname and specify the needed skin
579/5000
 
 
 
Hello
the plugin seems interesting but impossible to understand the logic

Can you detail how luck works?

I put an item and I want to set the plugin so that the player has 5% of luck that item appears in the box ... but the object appears in 100% of cases.

So I thought that it was necessary to put several different objects and that the notion of luck was on the appearance of an object rather than another but in this case the crash plugin

Can you give an example of a more detailed configuration.

thank you for your work
What do you mean by luck? Lol. Take a look at a how-to under the default configuration.

Thank you for your answer, I am sorry for you to ask that but can explain to me in a few words why my object appears in 100% of cases in the box with this configuration?
I would like it to appear in 5% of cases.

Maybe it will be useful to others

Thank you

------------------
{
"Plugin Enabled": false,
"Containers": [
{
"Entity Shortname": "crate_normal_2",
"Replace Items": false,
"Add Items": true,
"Modify Items": false,
"Maximal Failures To Add An Item": 5,
"Capacity": [
{
"Capacity": 3,
"Chance": 1
}
],
"Items": [
{
"Item Shortname": "hatchet",
"Is Blueprint": false,
"Allow Stacking": true,
"Conditions": [
{
"Condition": 100.0,
"Chance": 1
}
],
"Skins": [
{
"Skin": 0,
"Chance": 1
}
],
"Amount": [
{
"Amount": 1,
"Chance": 1
}
],
"Chance": 1
}
]
}
],
"Shuffle Items": true,
"Allow Duplicate Items": false,
"Allow Duplicate Items With Different Skins": false,
"Debug": true
}

Got it. Chance is between all the items IN CONFIG, you can make some just "empty" items or one with a huge change for example, that should work. I think I'll add an empty item option or something

Merged post

Or you can try setting container capacity to 0, it'll work too. Just in N chances it won't be 0. It'd be even better than my previous answer
thank you I will test this cordially