Available inventory slots depending on clothing worn

Supported Games
GameServerKingsGameServerKings

This plugin helps move clothing away from a combat item, and into a QOL item. It is nice to have extra inventory slots, but your not going to lose a fight if you wore a hoodie vs. no shirt. However in Rust, clothing has protection values. That will be configurable with an upcoming plugin.

Side Effects

  • Heli is more dangerous as you have to choose between wearing two pieces of armour and only have your hotbar OR wearing clothing to keep inventory size but being vunerable due to lack of armor.
  • Players can surrender! Tell a player to take off all his clothes and he will drop everything he can't hold, so you can take player's items without needing to kill them (though they still have hotbar slots).

Configuration

{
  "Available inventory slots (Belt)": 6,
  "Clothing settings (item shortname) and (available inventory slots)": {
    "hazmatsuit": {
      "Available inventory slots (Main)": 12
    },
    "hazmatsuit.arcticsuit": {
      "Available inventory slots (Main)": 12
    },
    "hazmatsuit.spacesuit": {
      "Available inventory slots (Main)": 12
    },
    "hazmatsuit.lumberjack": {
      "Available inventory slots (Main)": 12
    },
    "mask.balaclava": {
      "Available inventory slots (Main)": 1
    },
    "diving.tank": {
      "Available inventory slots (Main)": 5
    },
    "mask.bandana": {
      "Available inventory slots (Main)": 1
    },
    "shoes.boots": {
      "Available inventory slots (Main)": 4
    },
    "scientistsuit_heavy": {
      "Available inventory slots (Main)": 24
    },
    "roadsign.jacket": {
      "Available inventory slots (Main)": 1
    },
    "tshirt.long": {
      "Available inventory slots (Main)": 1
    },
    "hat.beenie": {
      "Available inventory slots (Main)": 1
    },
    "diving.wetsuit": {
      "Available inventory slots (Main)": 4
    },
    "wood.armor.pants": {
      "Available inventory slots (Main)": 1
    },
    "wood.armor.jacket": {
      "Available inventory slots (Main)": 1
    },
    "wood.armor.helmet": {
      "Available inventory slots (Main)": 1
    },
    "metal.facemask": {
      "Available inventory slots (Main)": 1
    },
    "metal.facemask.hockey": {
      "Available inventory slots (Main)": 1
    },
    "attire.hide.vest": {
      "Available inventory slots (Main)": 1
    },
    "jacket.snow": {
      "Available inventory slots (Main)": 16
    },
    "hat.cap": {
      "Available inventory slots (Main)": 1
    },
    "roadsign.kilt": {
      "Available inventory slots (Main)": 1
    },
    "burlap.gloves": {
      "Available inventory slots (Main)": 1
    },
    "jumpsuit.suit": {
      "Available inventory slots (Main)": 8
    },
    "attire.ninja.suit": {
      "Available inventory slots (Main)": 6
    },
    "hazmatsuit_scientist_arctic": {
      "Available inventory slots (Main)": 24
    },
    "hazmatsuit.nomadsuit": {
      "Available inventory slots (Main)": 12
    },
    "attire.bunny.onesie": {
      "Available inventory slots (Main)": 8
    },
    "halloween.mummysuit": {
      "Available inventory slots (Main)": 5
    },
    "ghostsheet": {
      "Available inventory slots (Main)": 1
    },
    "hazmatsuit_scientist": {
      "Available inventory slots (Main)": 24
    },
    "hazmatsuit_scientist_peacekeeper": {
      "Available inventory slots (Main)": 24
    },
    "halloween.surgeonsuit": {
      "Available inventory slots (Main)": 5
    },
    "scarecrow.suit": {
      "Available inventory slots (Main)": 5
    },
    "barrelcostume": {
      "Available inventory slots (Main)": 24
    },
    "attire.egg.suit": {
      "Available inventory slots (Main)": 4
    },
    "bone.armor.suit": {
      "Available inventory slots (Main)": 4
    },
    "deer.skull.mask": {
      "Available inventory slots (Main)": 1
    },
    "attire.bunnyears": {
      "Available inventory slots (Main)": 1
    },
    "jacket": {
      "Available inventory slots (Main)": 8
    },
    "diving.fins": {
      "Available inventory slots (Main)": 1
    },
    "shirt.tanktop": {
      "Available inventory slots (Main)": 1
    },
    "hat.oxmask": {
      "Available inventory slots (Main)": 1
    },
    "hat.dragonmask": {
      "Available inventory slots (Main)": 1
    },
    "hat.ratmask": {
      "Available inventory slots (Main)": 1
    },
    "hat.tigermask": {
      "Available inventory slots (Main)": 1
    },
    "metal.plate.torso": {
      "Available inventory slots (Main)": 1
    },
    "attire.hide.helterneck": {
      "Available inventory slots (Main)": 1
    },
    "twitch.headset": {
      "Available inventory slots (Main)": 1
    },
    "burlap.shoes": {
      "Available inventory slots (Main)": 1
    },
    "attire.banditguard": {
      "Available inventory slots (Main)": 24
    },
    "attire.reindeer.headband": {
      "Available inventory slots (Main)": 1
    },
    "nightvisiongoggles": {
      "Available inventory slots (Main)": 1
    },
    "hat.boonie": {
      "Available inventory slots (Main)": 1
    },
    "roadsign.gloves": {
      "Available inventory slots (Main)": 1
    },
    "burlap.gloves.new": {
      "Available inventory slots (Main)": 1
    },
    "burlap.headwrap": {
      "Available inventory slots (Main)": 1
    },
    "scarecrowhead": {
      "Available inventory slots (Main)": 1
    },
    "diving.mask": {
      "Available inventory slots (Main)": 1
    },
    "attire.hide.poncho": {
      "Available inventory slots (Main)": 1
    },
    "partyhat": {
      "Available inventory slots (Main)": 1
    },
    "hat.gas.mask": {
      "Available inventory slots (Main)": 1
    },
    "shirt.collared": {
      "Available inventory slots (Main)": 4
    },
    "burlap.shirt": {
      "Available inventory slots (Main)": 1
    },
    "attire.hide.boots": {
      "Available inventory slots (Main)": 3
    },
    "boots.frog": {
      "Available inventory slots (Main)": 2
    },
    "gloweyes": {
      "Available inventory slots (Main)": 1
    },
    "pumpkin": {
      "Available inventory slots (Main)": 1
    },
    "jumpsuit.suit.blue": {
      "Available inventory slots (Main)": 8
    },
    "sunglasses": {
      "Available inventory slots (Main)": 1
    },
    "tactical.gloves": {
      "Available inventory slots (Main)": 1
    },
    "lumberjack hoodie": {
      "Available inventory slots (Main)": 12
    },
    "hoodie": {
      "Available inventory slots (Main)": 12
    },
    "heavy.plate.pants": {
      "Available inventory slots (Main)": 1
    },
    "heavy.plate.jacket": {
      "Available inventory slots (Main)": 1
    },
    "heavy.plate.helmet": {
      "Available inventory slots (Main)": 1
    },
    "twitchsunglasses": {
      "Available inventory slots (Main)": 1
    },
    "hat.miner": {
      "Available inventory slots (Main)": 1
    },
    "tshirt": {
      "Available inventory slots (Main)": 1
    },
    "hat.wolf": {
      "Available inventory slots (Main)": 1
    },
    "hat.bunnyhat": {
      "Available inventory slots (Main)": 1
    },
    "santahat": {
      "Available inventory slots (Main)": 1
    },
    "clatter.helmet": {
      "Available inventory slots (Main)": 1
    },
    "riot.helmet": {
      "Available inventory slots (Main)": 1
    },
    "bucket.helmet": {
      "Available inventory slots (Main)": 1
    },
    "coffeecan.helmet": {
      "Available inventory slots (Main)": 1
    },
    "attire.snowman.helmet": {
      "Available inventory slots (Main)": 1
    },
    "hat.candle": {
      "Available inventory slots (Main)": 1
    },
    "attire.nesthat": {
      "Available inventory slots (Main)": 1
    },
    "pants.shorts": {
      "Available inventory slots (Main)": 2
    },
    "pants": {
      "Available inventory slots (Main)": 4
    },
    "burlap.trousers": {
      "Available inventory slots (Main)": 1
    },
    "attire.hide.pants": {
      "Available inventory slots (Main)": 2
    },
    "attire.hide.skirt": {
      "Available inventory slots (Main)": 1
    },
    "cratecostume": {
      "Available inventory slots (Main)": 24
    }
  }
}

Credits

  • JakeRich, the original author of this plugin
This plugin is unlicensed and the original author reserves all rights to it.

The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.

Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.