Pogue Store Docs
Buy Me a CoffeeTebex StoreDiscord Community
  • Welcome to Pogue's World!
  • Scripts
    • ⛏️ Pogue Collector Script for RedM
    • 👨‍🎓 Pogue Redipedia Script for RedM
    • 🎲 Pogue Liar's Game For RedM
    • 📒 Pogue Notepad Script For RedM
    • 📬 Pogue Telegram Script For RedM
    • 👔 Pogue Bossmenu Script For RedM
    • 🛡️ Pogue Bodyguard Script For RedM
    • 📈 Pogue StockMarket Script For RedM
    • 📈 Pogue StockMarket V2 Script For RedM
    • 💰 Pogue Robbery Script for RedM
Powered by GitBook
On this page
  • 💬 Support
  • 📜 Overview
  • ✨ Features
  • ⚙️ Customization Overview
  • 🔧 Installation Instructions
  • 📝 IPO System (ipo_starter.sql)
  • 🎮 How It Works
  • 📋 Special Considerations
  • 🛠️ Requirements
  1. Scripts

📈 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.

Previous📈 Pogue StockMarket Script For RedMNext💰 Pogue Robbery Script for RedM

Last updated 4 months ago

💬 Support

  • 🌐

  • 🛒


📜 Overview

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.

Key Features in v2:

  • New Market Manipulation Missions.

  • Dynamic supply and demand pricing.

  • AI-powered market options for low player activity.


✨ Features

📊 Stock Trading

  • 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.

💰 Player Interaction

  • 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.

🤝 Broker and Special Jobs System

  • 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.

🔥 Missions, AI, and Advanced Interface

  • 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.


⚙️ Customization Overview

General Configurations

  • 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.

Realistic Mode

  • 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.

AI-Powered Market

  • 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.


🔧 Installation Instructions

  1. Add the Script:

    • Place the pogue_stockmarketv2 folder into your server's resources directory.

    • Add the following to your server.cfg:

      ensure pogue_stockmarketv2
  2. 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.

  3. Add Images:

    • Copy images from the img folder in the script.

    • Paste them into your vorp_inventory/html/img/items directory.

  4. Configure Settings:

    • Open config.lua and adjust:

      • Commission rates.

      • Broker job names.

      • Update intervals.

      • AI and Realistic market modes.


📝 IPO System (ipo_starter.sql)

How It Works:

  1. Starting an IPO:

    • Authorized players use /startipo to apply for an IPO.

    • Applications are logged in the ipo_starter.sql table.

  2. Approving IPOs:

    • Admins approve IPO applications using /trackipo.

    • Approved companies are added to the stock market.

  3. Trading Activation:

    • After approval, the item is added to the database and made tradable after the next server restart.

  4. Customizing Stock Appearance:

    • Add matching images for stocks in the img folder.


🎮 How It Works

1. Adding Stocks and Commodities

  • 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.

2. Trading Stocks

  • Players buy/sell stocks and pay configurable commission fees.

  • Stock prices update dynamically based on configurations.

3. Broker and Special Jobs

  • Brokers: Exempt from commission fees and collect transaction fees from other players.

  • Special Jobs: Have reduced commission rates (e.g., banker: 10%, investor: 5%).

4. Dynamic Price Updates

  • Prices adjust at intervals defined in config.lua (e.g., every 30 seconds).


📋 Special Considerations

  • 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.


🛠️ Requirements

  • 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 .

Join the Community on Discord
Explore More Scripts on Tebex
Discord
Tebex store