Badger Docs
  • Welcome to Badger Docs
  • Badger's Website
  • Badger's Discord
  • 20% off hosting | Use Code: TheWolfBadger-4765
  • Fivem General Help
    • Updating Server Binaries
    • ACE Permissions
    • Getting Discord Role IDs
    • Setting up a Discord Webhook
    • Discord identifier not found
    • How to set up a Git Repository for my server
  • Fivem Discord Scripts
    • Introduction
    • BadgerTools
    • DiscordChatRoles
    • DiscordAcePerms
    • DiscordPedPerms
    • DiscordWeaponPerms
    • DiscordVehiclesRestrict
    • DiscordTagIDs
    • PoliceEMSActivity
    • BadgerCopChat
    • DiscordDonatorPerks
    • Badger-911
    • Bad-Scoreboard
    • Bad-DiscordQueue
    • Badger_Discord_API
      • Installation
      • GetRoleIdFromRoleName
      • CheckEqual
      • IsDiscordEmailVerified
      • GetDiscordEmail
      • GetDiscordName
      • GetDiscordAvatar
      • GetDiscordNickname
      • GetDiscordRoles
      • GetGuildIcon
      • GetGuildSplash
      • GetGuildName
      • GetGuildDescription
      • GetGuildMemberCount
      • GetGuildOnlineMemberCount
      • GetGuildRoleList
    • DiscordVehicleRestrictions
  • Fivem Misc. Scripts
    • Introduction
    • BadgerAnims
    • BadgerBankRobbery
    • VehicleTrustSystem
    • PedTrustSystem
    • BadgerVoting
    • BadgerTracer
    • Fivem Keybase Anticheat
    • DiscordReports
    • Badger-Priorities
    • Badssentials
    • BadgerStockMarket
    • Badger-Anticheat
    • Badger_Jailing
    • BadgerFires
    • Multiverse-World-Manager
  • Badger Software
    • Introduction
    • FivemDiscordPerms
    • BadgerTrustSystem+
    • BadgerStaffPanel
    • ResourceEventScrambler
    • CollectiveBot
  • Archived Projects
  • SimpleRoleBot
  • EssentialBot
Powered by GitBook
On this page
  • What is it?
  • Badger's Discord Community
  • Commands
  • Screenshots
  • Configuration
  • Liability Reasons
  • Download

Was this helpful?

  1. Fivem Misc. Scripts

BadgerStockMarket

PreviousBadssentialsNextBadger-Anticheat

Last updated 4 years ago

Was this helpful?

What is it?

BadgerStockMarket is a stock market that is based on the real stock market! The prices and graphs actually come from the real stock market! I wanted to make a nifty script to interact with the stock market and actually invest it, but without investing real money. You can do that with this script! You use ESX money in-game to invest into the stock market. The stock market updates/refreshes every time you open the phone, so this updates in real live time. Make sure you sell your stocks when you are making money, not when you are losing money!

Badger's Discord Community

Commands

/stocks - Opens up the phone menu for the stocks

Screenshots

Running /stocks

Configuration

Config = {
    maxStocksOwned = {
        ['BadgerStockMarket.Stocks.Normal'] = 20,
        ['BadgerStockMarket.Stocks.Bronze'] = 100,
        ['BadgerStockMarket.Stocks.Silver'] = 500,
        ['BadgerStockMarket.Stocks.Gold'] = 99999999999999999999999999999999999999999999
    },
    stocks = {
        ['Apple Stock'] = {
            link = 'https://money.cnn.com/quote/quote.html?symb=AAPL',
            tags = {'Technology', 'Software'}
        },
        ['Citigroup Stock'] = {
            link = 'https://money.cnn.com/quote/quote.html?symb=C',
            tags = {'Bank'}
        },
        ['General Electric Stock'] = {
            link = 'https://money.cnn.com/quote/quote.html?symb=GE',
            tags = {'Automobiles', 'Vehicles', 'Cars'}
        }
    }
}

'BadgerStockMarket.Stocks.Normal' is the permission node (ACE permission node) that a player has to have to have that many stocks. You can set up multiple different permission nodes and allow a certain number of stocks for different groups of people. Maybe donators get more stocks?

Liability Reasons

For liability reasons, I wanted to include this at the bottom. BadgerStockMarket is in no way affiliated with the Stock Market and/or its proprieters. BadgerStockMarket was created as an educational tool to be used within the GTA V modification known as FiveM. BadgerStockMarket is also not affiliated with the Robinhood application. Although the script used the Robinhood logo. Once again, BadgerStockMarket was created as an educational tool. If anyone has a problem with this, please contact me and we can get the changes adjusted appropriately, thank you.

Download

Purchasing Stocks
Selling Stocks on another page
Browsing Page
All pages and turning off the phone

You must use website for this to work properly (for each Stock). Add as many stocks as you would like :)

https://money.cnn.com
Developer Discord
LogoGitHub - JaredScar/BadgerStockMarket: A FiveM Script (that actually utilizes the real stock market, pretty nifty)GitHub