๐ฆ FX-STASH โ
Advanced stash system for RedM supporting personal and job-based storage with upgrade system, money storage, item limits, and full framework compatibility.
๐ฆ Installation โ
ensure fx-stashโข Place the script inside your resources folder โข Add ensure fx-stash to your server.cfg โข Restart your server โข Requires fx-input system
๐๏ธ SQL Setup โ
CREATE TABLE IF NOT EXISTS `fx_stash` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`identifier` varchar(50) DEFAULT NULL,
`charidentifier` varchar(50) DEFAULT NULL,
`slot` int(11) NOT NULL,
`money` float NOT NULL DEFAULT 0,
`items` longtext DEFAULT '[]'
)โข Main stash storage table โข Stores items, money, and ownership โข Supports personal and job stashes
ALTER TABLE `fx_stash`
ADD COLUMN `items` longtext DEFAULT '[]'โข Required for older versions โข Adds item storage support
โ๏ธ Basic Settings โ
Config.Language = "en"โข Controls language system
๐ Locale System โ
Config.Locale = {
["en"] = {}
}โข Multi-language support โข Fully customizable UI texts
๐ช Stash System โ
Config.Storage = {
{
name = "Valentine",
store = vector3(...)
}
}โข Defines stash locations โข name โ unique stash ID โข store โ interaction position
job = falseโข false โ personal stash โข table โ job restricted stash
job = {
["valgunsmith"] = 0
}โข Job-based stash system โข Only specific jobs can access
๐ค NPC & Object System โ
ped = 'cs_thomasdown'
pedcoord = vector4(...)โข Optional NPC for stash interaction โข Can be disabled
object = "p_ammoboxlancaster02x"โข Object-based stash interaction โข Alternative to NPC
๐บ๏ธ Blip System โ
Blip = true
BlipSprite = -426139257โข Shows stash on map โข Fully customizable
๐ฆ Slot & Upgrade System โ
minslot = 300
maxslot = 350
upgradable = true
upgradeprice = 10โข Initial stash size โข Max upgrade limit โข Cost per slot upgrade
๐ฐ Money Storage System โ
MoneyDeposit = trueโข Allows storing money in stash โข Supports deposit & withdraw
โ๏ธ Item Limit System โ
limit = 500โข Total stash capacity โข Prevents overflow
Config.StashItemLimit = falseโข Optional per-item limits โข Can restrict specific items
๐ Whitelist / Blacklist System โ
UseBlackList = false
whitelistItems = false
whitelistWeapons = falseโข Control allowed items โข Supports whitelist and blacklist logic
limitedItems = {}
limitedWeapons = {}โข Define allowed items/weapons โข Works with whitelist system
๐ซ Weapon System โ
acceptWeapons = trueโข Allows storing weapons โข Supports metadata
๐ง Stack & Limit Control โ
ignoreItemStackLimit = trueโข Allows stacking beyond default limits โข Useful for bulk storage
๐ฎ Admin Commands โ
Config.AdminCommands = {
{
command = "removestash"
}
}โข Admin-only stash removal โข Supports personal & job stash
removestashjobโข Removes job stash โข Requires admin permission
๐ External Usage โ
TriggerServerEvent("fx-stash:openStash", data)โข Open stash via script โข Fully dynamic system
data = {
name = "stash_name",
minslot = 20
}โข Custom stash creation โข Used for houses / props
๐ Notification System โ
Notify({
text = "Message"
})โข Supports VORP / RSG / REDEMRP โข Handles all notifications
๐ Server Config โ
SV_Config.Webhook = {
url = ""
}โข Discord webhook logging โข Tracks stash actions
โ ๏ธ Important Notes โ
โข Stash names must be unique โข SQL must be installed โข Job names must match framework โข Slot limits must be configured โข Item limits must be defined correctly
๐จ Common Issues โ
โข Stash not opening โ wrong name โข Items not saving โ SQL missing โข Job stash not working โ wrong job name โข Cannot deposit โ blacklist active โข Cannot upgrade โ max slot reached
๐ Summary โ
FX-STASH provides:
โข Personal stash system โข Job-based stash system โข Money storage system โข Upgradeable slots โข Item limit & whitelist system โข Full framework compatibility
ยฉ Fixitfy Development
