[QBCore/ESX/Qbox] [FREE] a free bag/backpack - keep-bags

keep-bags is a script designed to enhance the inventory management experience for players. With a range of key features.

Preview

Key Features

  • Expanded Inventory Capacity: Players can carry more materials and items within their inventory, allowing for greater flexibility and resource management.

  • Props: The script provides realistic visuals by displaying bag props on the player’s back or hands, indicating that they are equipped with a bag.

  • Blacklisted Items: A flexible option allows you to specify blacklisted items, ensuring that certain items cannot be stored in the bag. This feature helps maintain balance and prevents abuse.

  • Smooth Animation: Opening and closing animations provide an immersive and visually appealing experience when accessing the backpack. These animations enhance realism and immersion within the game.

  • Locking System: Bags can be equipped with a locking system, offering an additional layer of security for valuable items.

  • Prevents Exploits: The script actively prevents the “bag in bag” exploit, ensuring fair gameplay and maintaining the integrity of the inventory system.

Changes:

  • ESX and OX support is now available. Enjoy! :scream:
  • Significant changes to the config’s structure
  • Fixed the whitelist and blacklist
  • Automatically hide props on the right hand when holding a weapon
  • and more

Download

22 Likes

does this work in public servers like purple and the other ones?

plans to make it for esx?

1 Like

it should work on most qb servers.
i coded it for the latest version of QBcore.

maybe in the future but i don’t have experience with esx.
what I remember is that it didn’t have a default inventory like qbcore does!

Esx definitely does have a default inventory with a weight system :face_with_peeking_eye:

ah ok, i made my esx server 8 months ago there is a high chance that I didn’t fully installed it!
ox_inventory is the most used inventory right?

Yes its made compatible with esx :smiley:

1 Like

The reason it isn’t the same on ESX is the unique metadata stored in the backpack item, from what I know someone has made one for ESX, maybe Linden or the mentioned Ox-Inventory (probably same script) but you’ll need this in order to open the backpack and use it as a stash

2 Likes

Please make it for Ox inventory for ox

3 Likes

Hey thanks for sharing!
Q: How can I add a black duffelbag in this scrip?

1 Like

find its cloth and texture numbers and then do it like this

     ['backpack2'] = {
          slots = 6,
          size = 100000,
          weight = 10000,
          weight_multiplier = 0.5,
          --------- change code bellow ---------
          cloth = {
                ["bag"] = { item = 85, texture = 12 }
          }
     },
2 Likes

anyway to make the police job able to search the breifcase?

yes, they can use a briefcaselockpicker to search briefcases.

how? lol

add briefcaselockpicker to your inventory and have backpack that you want to unlock before any other backpack and then use the lockpick

Hi. How to set bags visible when is not in the hotbar?

Thank you in advance

add all of your inventory space to

Config.Hotbar = {
     1, 2, 3, 4, 5,6,7,..., 41
}
1 Like

Why isn’t mine a backpack but it’s a dufflebag? How’d I change it to a backpack instead like the video?

image

A backpack should be either a clothing item or a prop.
To use the prop option you can do something like this (check if that model is available in your version of the game)

['backpack1'] = {
          slots = 5,
          size = 100000,
          weight = 10000,
          weight_multiplier = 0.8, -- less value means items has less weight in backpack
          prop =  prop = props.backpack
},