📦 Dynamic Market System for RedM
A fully customizable, immersive trade and economy system that reacts to player behavior, creates pricing trends, and lets NPCs run their own supply-and-demand logic.
⚙️ Features:
📉 Live Pricing Based on Player Activity
Item prices adjust based on how many units have been sold.
📉 After
Config.Settings.UnitsSoldsales, item price decreases byUnitsSoldDecrease%.📈 If an item hasn’t sold within
RefreshRate(e.g., 10 min), its price increases byUnitsNotSoldIncrease%.Prevents overfarming and rewards smart timing.
🧠 Backend Smart Logic
📤 All sales are logged per item/market, including:
Units sold
Total earnings
Tax deduction
Min/max price checks
🧾 Full logging shows:
Dynamic price drops
When prices hit minimum thresholds
Tax taken per sale
Remaining market sell caps
💵 Market Taxation & Sales Limits
Each market charges a configurable
SalesTaxper transaction.Markets have storm-based caps (
MaxSellPerStorm) to limit payout abuse.
👨🌾 NPC Interaction
💬 Animated Dialogue
NPCs speak with voiced responses from
Config.PedReplies.🎥 Camera zooms in on the NPC’s face during interaction.
🕺 NPCs play gesture animations while speaking using
ai_gestures@arthur@standing@speaker@rt_hand.
🕐 Realistic Hours & Access Control
Markets are only available during configured hours (
Opening/Closing).Supports XP-locked access with optional XP consumption after sales.
🧾 Item Control & Customization
🧩 Per-Market Item Pools
Each market has its own list of accepted items with individual:
Min/max prices
Dynamic market limits
Example:
luaCopyEdit
{ itemname = 'a_c_fishrockbass_01_ms', min = 1.00, max = 3.00 } 🔒 Anti-Dump & Protection Features
Price floors: Items can’t drop below
minprice no matter how often they’re sold.Sales caps per market per storm prevent draining the economy.
🗺️ Blip Integration
Each market has a custom blip using RDR3 native sprite values.
Blip updates live with open/closed status depending on market hours.
🧩 Easy to Integrate
Supports your framework and ecosystem:
✅ Works with cash or dirty money
✅
ox_targetintegrated✅ Dynamic pricing and tax prints for server economy tracking
🔥 Why Use This?
This system transforms your economy into a living, competitive space where:
Players trade with intention.
NPCs feel reactive and real.
Prices evolve with every decision.
It’s not just about selling fish — it’s about knowing when, where, and how much to sell for max profit.
Let me know if you want a:
✅ Configurable market builder tool
📈 Dynamic UI market trend viewer
🧾 Server-side webhook logger for Discord/admins
You're nearly production-ready!
Video Preview: https://www.youtube.com/watch?v=teCeOtuakqE
Requirements
interact-sound (https://github.com/Rexshack-RedM/interact-sound)