![图片[1]-[FREE][ESX/QBCore] Stash Durability for ox_inventory – Storage-Based Item Decay - FiveM插件网-FiveM插件网](https://forum-cfx-re.akamaized.net/original/5X/3/7/c/2/37c26284e8944afd56fda4e39c50b3d17275c65b.png)
Stash Durability for ox_inventory – Storage-Based Item Decay
TheStash Durabilityscript provides advanced management of item durability, degradation, improvement, and charging within different types of stashes. It allows server owners to create custom storage locations where they can control the degradation or improvement of items over time. This script extends the OX Inventory by allowing durability behavior to vary depending on the stash location.
Additionally, the script supports managing durability for storages that are created and managed by other scripts, which were not originally defined within this script, but where you still want to handle item durability.
It is a requirement that the script creating the stash registers the stash before the ‘stash Durability’ script starts.
Key Features
Works with OX Inventory: Leverages the existing OX Inventory system’s ability to set item degradation (durability) and applies those changes within custom storage locations.
Degradation Control: Server owners can set different decay rates for items stored in specific locations (e.g., food items in a fridge or wine aging in a cellar).
Improvement Over Time: Items can improve over time (e.g., wine aging, batteries charging).
Customizable Stashes: Allows the creation of various stash types with unique settings for item degradation, charging, or improvement (e.g., refrigerators, battery storages, chemical storage, etc.).
Item-Specific Modifications: Define unique decay rates for individual items inside the stashes.
Configurable Time Intervals: Set how frequently the items degrade or improve, with intervals configurable in seconds.
OX Inventory Integration: Works seamlessly withOX Inventory, utilizing the item’s metadata to track and modify degradation (durability) when items are stored in these special stashes.
Job stash:You can also assign a specific job to each stash in the config, granting access only to players with that job. If the job is set tonil, the stash will be accessible to anyone.
Support for External Stashes:Supports handling item durability for stashes that are not created or registered by this script but by other scripts. By providing minimal configuration data in this script’s config, you can still manage item durability within those externally created stashes using azakit_stashdurability.
Preset Stash Examples:
Cold Storage (Refrigerator):Slows down food spoilage.
Freezer:Further reduces decay rates for frozen goods.
Dry Storage (Pantry):Higher decay rates for non-refrigerated foods.
Medical Storage:Medicine expires at a controlled rate.
Aging Cellar:Items like wine, cheese, and whiskey improve over time.
Data Storage:Digital items (USB sticks, hard drives) degrade slowly.
Safe Vault:No degradation; items remain preserved indefinitely.
Chemical Storage:Hazardous materials decay rapidly.
Battery Charging Station:Items recharge over time instead of degrading.
These are just examples—server owners can create entirely new stash types, modify degradation behavior, or introduce unique mechanics tailored to their needs.
Preview
Screenshots
Screenshots
Install
- Download the Keymaster.
- Add theazakit_stashdurabilityto your resources folder.
- Add
ensure azakit_stashdurabilityto yourserver.cfg.
Requirements
- QBCoreorESX
- ox_inventory
- ox_target or qb-target
Docs & Config.lua:
https://azakit-development.gitbook.io/docs
Help:
You need help, join my Discord server
https://discord.com/invite/DmsF6DbCJ9
| Code is accessible | No (only config.lua) |
| Subscription-based | No |
| Lines (approximately) | 500 |
| Requirements | ESX or QBCore, ox_inventory, ox_target or qb-target |
| Support | Yes |
My other works:
Paid:
[PAID][ESX/QBCore] Backpack System for ox_inventory – Wearable, Transferable, Fully Customizable
[PAID][ESX/QBCore] Criminal Reputation System | Dynamic Dealers, Missions & Black Market
[PAID][ESX/QBCore] Gate Control System | Swing & Prop-Based Gates
[PAID][ESX/QBCore] Dynamic Vending Machine & Job System | City Job + Crime Economy
[PAID][ESX/QBCore] Ghost Summoner: Buster Edition | Ghost Summoning & Capture System
[PAID][ESX/QBCore] Blood Bank & Reward System
[PAID][ESX/QBCore] Clothing Store Robbery | Steal & Sell Clothes
[PAID][ESX/QBCore] Parachute System | Wear & Tear | Skill-Based Folding | NPC Shop | 8 Styles
Free:
[FREE] [STANDALONE] Automatic Movement
[FREE] [ESX & QBCore] Milking a cow
[FREE] [ESX] Vehicle key and lock
[FREE] [ESX & QBCore] Collecting eggs from hens
[FREE] [ESX & QBCore] Moneywash with tickets, licenses, tax levels, transport
[FREE] [ESX] Sell item with delivery
[FREE] [ESX] Scrap metal from old air conditioners
[FREE] [ESX] NPC for launching events
![[FREE] Invetero Coquette R-FiveM插件网](https://forum-cfx-re.akamaized.net/optimized/5X/a/9/7/e/a97ef7316fa09996e498a8a2aae1aafc46fe1533_2_1024x541.jpeg)
![[FREE] Modern RP Icons Starter Pack (50+ Assets) | Inventory Images | Includes ESX/QB/Ox Configs-FiveM插件网](https://forum-cfx-re.akamaized.net/optimized/5X/c/7/f/1/c7f1439332208e7842cb3e5c280bd808b5f809c5_2_1024x682.jpeg)

![[FREE] Cashback Weapon Pack-FiveM插件网](https://forum-cfx-re.akamaized.net/optimized/5X/5/e/5/0/5e5077d27b9c81f6838e2cf2c943d18eb1a30f1d_2_1024x1024.webp)


















暂无评论内容