FX-MARKETPLACE
Advanced marketplace system for RedM with player trading, auction system, stash-based storage, and full framework compatibility.
3 min read·Last updated Jun 03, 2026
On this page (20)
- 1🛒 FX-MARKETPLACE
- 2📦 INSTALLATION
- 3⚙️ DEPENDENCIES
- 4🗄️ SQL INSTALLATION
- 5📁 STASH SYSTEM
- 6⚙️ BASIC CONFIG
- 7🧠 MARKET LOCATION SYSTEM
- 8🎯 TARGET / PROMPT SYSTEM
- 9💰 TAX SYSTEM
- 10📦 SELLING SYSTEM
- 11🚫 BLACKLIST SYSTEM
- 12📊 WAREHOUSE LIMIT SYSTEM
- 13🔄 AUCTION SYSTEM
- 14💳 PAYMENT SYSTEM
- 15🎒 INVENTORY HANDLING
- 16🔔 NOTIFY SYSTEM
- 17⚙️ SERVER CONFIG
- 18⚠️ IMPORTANT NOTES
- 19🚨 COMMON MISTAKES
- 20🏁 SUMMARY
#🛒 FX-MARKETPLACE
Advanced marketplace system for RedM with player trading, auction system, stash-based storage, and full framework compatibility.
#📦 INSTALLATION
bashensure fx-marketplace
- Place the script inside
resources/fx-marketplace - Add
ensure fx-marketplaceto yourserver.cfg - Restart your server
- Make sure
oxmysqlis started before this script
#⚙️ DEPENDENCIES
textoxmysql (Required)
- Used for database communication
- Script will not work without it
- You can use tools like HeidiSQL or phpMyAdmin to manage your database
#🗄️ SQL INSTALLATION
sqlCREATE TABLE IF NOT EXISTS `fx_market_shopsdata` (...);
CREATE TABLE IF NOT EXISTS `fx_market_selling` (...);
CREATE TABLE IF NOT EXISTS `fx_market_payments` (...);
- Stores shop data, selling items, and payments
- Required for marketplace system
- Handles auctions, offers, and transactions
#📁 STASH SYSTEM
jsonstash.json
- Stores items in marketplace storage
- Used when player inventory is full
- Ensures no item loss
#⚙️ BASIC CONFIG
luaConfig.Language = "en"
Config.OpenMarketCommand = "market"
Config.OpenCommand = false
- Language → system language
- OpenMarketCommand → command to open marketplace
- OpenCommand → enable/disable command usage
#🧠 MARKET LOCATION SYSTEM
luaConfig.Locations = {
{
coords = {
vector4(...)
},
ped = "cr_strawberry_males_01",
}
}
- Defines marketplace locations
- Supports NPC or object interaction
- Multiple locations supported
luaopenTimeSetting = {
allowed = false,
open = 8,
close = 21
}
- Restricts marketplace by time
- Example → open only daytime
luaBlip = {
showBlip = true,
BlipName = "Trading",
}
- Shows map blip
- Helps players find marketplace
#🎯 TARGET / PROMPT SYSTEM
luaConfig.UseTarget = true
- Enables target system (ox_target etc.)
- If false → uses prompt interaction
- Auto-detection supported
#💰 TAX SYSTEM
luaConfig.Tax = {
["3"] = 3,
["7"] = 5,
}
- Defines selling tax rates
- Based on listing duration
- Higher duration → higher tax
#📦 SELLING SYSTEM
luaConfig.RequiredJobSellerPanel = false
Config.SellerJobs = {
["seller"] = true
}
- Restricts who can sell items
- false → everyone can sell
- table → job-based restriction
#🚫 BLACKLIST SYSTEM
luaConfig.BlacklistedItems = {
['weapon_revolver_lemat'] = true,
}
- Prevents selling specific items
- Used for balance and protection
#📊 WAREHOUSE LIMIT SYSTEM
luaConfig.WareHouseLimits = {
["ironore"] = 100,
}
- Limits storage per item
- Prevents overflow
- Helps economy balance
#🔄 AUCTION SYSTEM
luaauction = true
offerdata = {}
- Supports auction-based selling
- Players can place offers
- Highest offer wins
#💳 PAYMENT SYSTEM
luafx_market_payments
- Stores pending payments
- Handles withdrawals and refunds
- Prevents money loss
#🎒 INVENTORY HANDLING
lua"yourInventoryIsFull"
- Items go to stash if inventory is full
- Prevents item loss
- Delivered on next login
#🔔 NOTIFY SYSTEM
luaNotify({
text = "Item purchased",
type = "success"
})
- Framework-based notification system
- Supports VORP / RSG / REDEMRP
#⚙️ SERVER CONFIG
luaSV_Config.Webhook = {
url = "",
}
- Used for logging system
- Sends marketplace logs to Discord
- Optional but recommended
#⚠️ IMPORTANT NOTES
- oxmysql must be running
- SQL tables must be installed
- stash.json must not be deleted
- Item names must match inventory
- Blacklist should be configured
#🚨 COMMON MISTAKES
- Items not selling → blacklist issue
- Market not opening → wrong location config
- Items disappearing → stash.json deleted
- Auction not working → wrong config
- Inventory full → items go to stash
#🏁 SUMMARY
FX-MARKETPLACE provides:
- Full marketplace system
- Auction & offer system
- Stash-based storage
- Tax & economy control
- Multi-location trading system
- Full framework compatibility
© Fixitfy Development