Change loot rarity?
Hello,How do I use Rarity? An example from my config file I thought so

  "Containers Data (Key: Container-Shortname, Value: Container Settings)": {
    "crate_underwater_basic": {
      "Enabled": true,
      "Extra Items Min": 2,
      "Extra Items Max": 2,
      "Loot Multiplier": 1.0,
      "Utilize Vanilla Loot Tables on Default Loot": false,
      "Utilize Vanilla Loot Tables on Extra Loot": false,
      "Utilize Random Rarity (depending on Items ALREADY in the container)": false,
      "Rarity To Use (ONLY if 'Utilize Vanilla Loot Tables' is FALSE & 'Utilize Random Rarity' is FALSE | 0 = None, 1 = Common, 2 = Uncommon, 3 = Rare, 4 = Very Rare)": [
    "fuse": 1,
    "gears": 1,
    "glue": 1,
    "metalblade": 1,
    "metalpipe": 1,
    "propanetank": 1,
    "roadsigns": 1,
    "rope": 1,
    "sewingkit": 1,
    "sheetmetal": 1,
    "metalspring":1,
    "sticks": 1,
    "tarp": 1,
    "techparts": 1,
    "riflebody": 1,
    "semibody": 1,
    "smgbody": 1
      ]
Rarities are something provided by Rust, you would simply add the rarity level in there and items from that category will start spawning
Can you give me an example

Merged post

Because most of the plugins are the rarity part, you have added 1 2 3 4 there, won't the items come there now?
    "crate_underwater_advanced": {
      "Enabled": true,
      "Extra Items Min": 0,
      "Extra Items Max": 0,
      "Loot Multiplier": 1.0,
      "Utilize Vanilla Loot Tables on Default Loot": false,
      "Utilize Vanilla Loot Tables on Extra Loot": false,
      "Utilize Random Rarity (depending on Items ALREADY in the container)": false,
      "Rarity To Use (ONLY if 'Utilize Vanilla Loot Tables' is FALSE & 'Utilize Random Rarity' is FALSE | 0 = None, 1 = Common, 2 = Uncommon, 3 = Rare, 4 = Very Rare)": [
        1
      ]
    },

This for example will spawn items of the type "Common" in the advanced under water loot crate.

Thank you.
Sometimes nothing comes out of the barrels on my server why?