๐ŸŽ’ Stash Durability (OX Inventory Compatible) [Escrow]

๐ŸŽ’ Stash Durability (OX Inventory Compatible) [Escrow]
  • ๐ŸŽ’ Stash Durability (OX Inventory Compatible) [Escrow]
  • ๐ŸŽ’ Stash Durability (OX Inventory Compatible) [Escrow]

This item is free.

Add to Basket

Used on: 35+ FiveM servers
Rating: โญโญโญโญโญ (internal reviews)

The Stash Durability script is designed to work alongside OX Inventory to provide 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 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.

๐ŸŽฌย PREVIEW

๐Ÿ”‘ 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 with OX 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 to nil, 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.

๐Ÿ“ฆ Requirements:

  • ESX or QBCore
  • OX Inventory
  • OX Target or qb-target

๐Ÿ› ๏ธ Configuration Guide:
All configuration options and setup instructions can be found here:
๐Ÿ‘‰ azakit-development.gitbook.io/docs

HELP:
You can find Discord: https://discord.gg/DmsF6DbCJ9