๐ Pogue StockMarket 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 allows players to trade stocks and commodities while brokers and special jobs manage commissions. Stock prices update dynamically based on configurations, and all settings are easily adjustable via the config.lua
file. Brokers, bankers, and bookmakers play a unique role in the serverโs economy, collecting commissions while facilitating trades.
Add any stock or commodity to the system.
Real-time stock price updates based on configurable variables.
Players can track stock prices, buy, and sell stocks.
Transactions include a configurable commission fee, collected into a pool.
Brokers are exempt from commission fees.
Special jobs (e.g., banker
, bookmaker
) have unique, reduced commission rates.
Commissions are accumulated into a pool, which brokers can withdraw at any time.
Adjust settings such as stock lists, commission rates, special jobs, and price update intervals via config.lua
.
Add or remove jobs and define custom commission rates for each job.
Place the pogue_stockmarket folder into your server's resources directory.
Add the script to your server configuration file (server.cfg
):
Run the following SQL files:
stock_commodity for VORP.sql
: "Items" table for storing commodity details. (If you use RSG, use Items For RSG.txt
pogue_stocks.sql
: Manages stock names and prices. The "item" column in both SQL tables must have matching names.
pogue_broker.sql
: Tracks broker commissions.
pogue_stocks_price_and_volatility.sql
: For stocks and volatility
Copy the images from the img folder in the script.
Paste them into your vorp_inventory/html/img/items
directory.
Open the config.lua file to adjust:
Commission Rate:
Broker Job Name:
Special Jobs and Rates:
Volatility Intervals:
Price Update Frequency:
VORP Core Framework: Ensure vorp_core
is installed and functional.
RSG Core Framework: Ensure rsg_core
is installed and functional.
oxmysql: Required for database integration.
Use the SQL tables (stock_commodity.sql
and pogue_stocks.sql
) to define items and their prices.
Ensure that the "item" column in both tables matches the item names in the inventory system.
Players can buy and sell stocks, paying a configurable commission fee.
Stock prices update dynamically based on the intervals defined in config.lua
.
Brokers:
Brokers pay no commission and collect all transaction fees.
Special Jobs:
Jobs like banker
and bookmaker
have unique, reduced commission rates.
All commissions, regardless of job, are pooled into the broker account.
Stock prices adjust automatically at intervals defined in config.lua
, creating a dynamic and immersive trading experience.
Collaborative Economy: Brokers and special jobs like banker
and bookmaker
provide players with multiple trading options, even when brokers are offline.
Customization: Configure the script to suit your serverโs economy by adjusting rates, jobs, and update frequencies.
Inventory Integration: Ensure item names in SQL tables match those in your inventory system for seamless functionality.
Enjoy the Pogue StockMarket Script and bring an engaging trading system to your server! ๐
For support or additional resources, join our or visit our .