A comprehensive RedM script for managing player stashes with advanced functionality.
- Allows players to place, pick up, and manage chests or containers (stashes) in-game.
- Supports dynamic stash creation and reuse of picked-up chests.
- Tracks stash state (
pickedup
or not) and updates the database accordingly. - Includes a global
StashTable
for efficient server-side management of stashes. - Integrated job and grade restrictions for opening stashes.
- Fully compatible with VORP Inventory and includes blacklisting specific items.
- Debugging enabled through a
DevMode
for easier troubleshooting.
-
Download and Extract:
- Download this repository.
- Extract and place the
bcc-stashes
folder into your server'sresources
directory.
-
Automatic Database Setup:
- The script includes a
dbUpdater.lua
file for automatic database creation and updates. - The script will handle creating the necessary database tables automatically upon starting the resource.
- The script includes a
-
Add to Server Configuration:
- Open your
server.cfg
file and add:ensure bcc-stashes
- Restart your server (or wait for your nightly restart).
- Open your
- For issues, questions, or feature requests, please contact us or open an issue on the GitHub repository.
- Need more help? Join the bcc discord here: https://discord.gg/VrZEEpBgZJ