For a more RP immersion, your inventory is the backpack.
I had created this plugin for my roleplay server. This project having been abandoned due to lack of time, and not wanting to invest any more on rust, I propose it to you if some people want a more "role play" approach of backpacks.
Your inventory is automatically locked. You only have 6 spaces left in your quick inventory. - 4 backpacks are available to unlock an additional 6 spaces. (default bag (+6), third party bag 1 (+12), third party bag 2 (+18), third party bag 3 (full inventory access)) - The bag must be imperatively equipped on you. - When you unpack your bag, or opt for a smaller one, the exedent will be thrown on the floor. Same thing when you loot a body. If you pick up the bag first, the objects will be thrown on the ground. - The plugin automatically recognizes the backpack with its skin id.
Your need CNewItemManager if you want give backpack to player.
If you want to make the item craftable, or make it spawn in crates. With alpha loot, beetloot etc...
DEFAULT BACKPACK BASE ITEM : attire.hide.poncho SKIN : 2279263758
BACKPACK TIER 1 BASE ITEM : attire.hide.poncho SKIN : 2279264643
BACKPACK TIERS 2 BASE ITEM : attire.hide.poncho SKIN : 2279265273
BACKPACK TIERS 3 BASE ITEM : attire.hide.poncho SKIN : 2279265679