📈 Pogue StockMarket V2 Script For RedM
Welcome to the Pogue StockMarket Script, a dynamic trading system designed to bring stock and commodity trading to your RedM server.
Last updated
Welcome to the Pogue StockMarket Script, a dynamic trading system designed to bring stock and commodity trading to your RedM server.
Last updated
🌐
🛒
The Pogue StockMarket Script v2 brings an enhanced trading experience to your server, enabling players to trade stocks and commodities in a dynamic, player-driven economy. Stock prices adjust in real-time based on player actions or AI-driven market simulations, providing flexibility for servers with varying activity levels.
Brokers, bankers, and investors have unique roles, collecting commissions from trades while managing the market. Special job-based commission rates and an IPO system enable deeper economic roleplay, while the config.lua
file allows for full customization to suit your server’s needs.
New Market Manipulation Missions.
Dynamic supply and demand pricing.
AI-powered market options for low player activity.
Add any stock or commodity to the system.
Real-time stock price updates based on player-driven actions or AI simulations.
Dynamic supply and demand pricing adjusts stock values based on trades and market activity.
Track stock prices, buy, and sell stocks through a user-friendly interface.
Configurable commission fees collected into a shared pool.
IPO (Initial Public Offering) system lets businesses go public and raise funds with admin approval.
Brokers are exempt from commission fees and collect transaction fees from other players.
Special jobs like banker, investor, and bookmaker have reduced commission rates:
Normal players: 20%.
Bankers: 10%.
Investors: 5%.
Brokers play a key role in managing the economy and facilitating trades.
Market Manipulation Missions: Influence the market through missions like:
Fake News Rodeo: Spread rumors to manipulate stock prices.
Build News Stands: Place fake newspapers to influence market trends.
Black Market Hustle: Buy discounted stocks from shady dealers.
AI-Powered Market: Simulate market activity with AI-driven price updates during low player activity.
⚠️ Note: IPO applications and market manipulation missions are disabled in this mode.
Advanced Interface: A refined, immersive UI for a better trading experience.
Stock List Management: Add or remove stocks and commodities.
Commission Rates: Adjust commission fees for players and special jobs:
Normal players: 20%.
Bankers: 10%.
Investors: 5%.
Update Intervals: Configure stock price update frequency (e.g., 1 hour = 3600000 ms).
Price Volatility: Define stock price changes based on player actions or scripted events.
Enable realistic, player-driven markets: Config.UseRealistic = true
.
IPO System:
Use /startipo
to apply for an IPO.
Admins approve IPOs via /trackipo
.
Set IPO payment percentages (e.g., 100% for full payout).
News Quest Effects:
Good News: Decreases stock availability and increases NPC demand.
Bad News: Increases stock availability and decreases NPC demand.
Enable automated market simulations: Config.UseAI = true
.
Price limits and update intervals can be configured for dynamic price adjustments:
Minimum price multiplier: Config.PriceMinMultiplier = 0.5
.
Maximum price multiplier: Config.PriceMaxMultiplier = 10
.
Add the Script:
Place the pogue_stockmarketv2
folder into your server's resources
directory.
Add the following to your server.cfg
:
Set Up the Database:
Import the following SQL files into your database:
stock_commodity.sql
: Defines tradable commodities.
pogue_stocks.sql
: Manages stock names and prices.
pogue_broker.sql
: Tracks broker commissions.
pogue_stocks_price_and_volatility.sql
: Configures stock price volatility.
ipo_starter.sql
: Handles IPO applications.
Add Images:
Copy images from the img
folder in the script.
Paste them into your vorp_inventory/html/img/items
directory.
Configure Settings:
Open config.lua
and adjust:
Commission rates.
Broker job names.
Update intervals.
AI and Realistic market modes.
ipo_starter.sql
)Starting an IPO:
Authorized players use /startipo
to apply for an IPO.
Applications are logged in the ipo_starter.sql
table.
Approving IPOs:
Admins approve IPO applications using /trackipo
.
Approved companies are added to the stock market.
Trading Activation:
After approval, the item is added to the database and made tradable after the next server restart.
Customizing Stock Appearance:
Add matching images for stocks in the img
folder.
Use SQL tables stock_commodity.sql
and pogue_stocks.sql
to define items and prices.
Ensure item names in SQL match those in your inventory system.
Players buy/sell stocks and pay configurable commission fees.
Stock prices update dynamically based on configurations.
Brokers: Exempt from commission fees and collect transaction fees from other players.
Special Jobs: Have reduced commission rates (e.g., banker: 10%, investor: 5%).
Prices adjust at intervals defined in config.lua
(e.g., every 30 seconds).
Collaborative Economy: Brokers and special jobs ensure market functionality even during low activity.
Customization: Adjust commissions, price volatility, and stock updates to suit your server.
Inventory Integration: Match SQL item names to inventory names for seamless integration.
Dynamic Modes:
AI Mode: For low player activity with automated updates.
Realistic Mode: For immersive, player-driven trading with missions and IPOs.
VORP Core Framework.
RSG Core Framework.
oxmysql for database integration.
ProgressBar
Enjoy the Pogue StockMarket v2 Script and bring an engaging trading system to your server! 📈
For support or additional resources, join our or visit our .