PivityGmodStore

Stock Market Addon | Control your economy

(23)(118)

You can always read the reviews or discuss this product

Stable2.0.0

Back in 2017 I made this addon purely because I thought it would be super cool and I really wanted it on my server - 3+ years on and it's my favourite addon I have ever made. Recently I was asked to add a feature to it, so I started recoding, and didn't stop! I have spent the last month and a half giving it a 2020 makeover, as well as some new features!

This is a huge update, and every line of code has been reviewed. I've done my best to bug test and hopefully I’ve caught everything, but on the chance I've missed something don't hesitate to make a ticket! You will have to redo your config - copying over from a previous version will not work.

I’ve never used DRM on my scripts - and don't plan to. But I am aware that this script has been leaked a fair amount so I ask, the leakers, to please consider that I've spent probably around 100 hours+ on this update alone and would really appreciate if it wasn't. I understand this probably will not make a difference but thought I’d say it anyway :)

UI

  1. Total visual overhaul for every interface
  2. New personal dashboard
  3. A new dark and light theme
  4. Colour config available


Code

  1. Large overhaul of most frontend & backend code, will bring some efficiency increases overall
  2. The addon has now been split into small files, meaning it is much easier to edit from a developer standpoint


Menu

  1. Menu interface has been redesigned from scratch. I'd like to hear your opinions on this one (I've moved the descriptions to the news feed of the personal & business dashboard)
  2. Money collection and investment group list moved to personal dashboard
  3. Added notification for if you are unable to make an investment group as it's name is already being used
  4. Added notification for if you are unable to make an investment group as you already have one (can only be triggered by bypassing the UI)


Personal dashboard

  1. New personal account dashboard
  2. You are now unable to invest into your own group (to boost your reputation)
  3. Added notification for if you try to invest a negative amount
  4. Added notification for if your investment offering is successful
  5. Added notification for if you try to have a negative profit guarantee
  6. Added notification for if you are unable to afford the investment you are trying to offer to an investment group


Business dashboard

  1. You can now deposit your personal money into an investment group
  2. Added notification for if you are unable to afford to return an investment
  3. Added notification for if you have purchased advertising
  4. Added notification for if you were able to close your investment group or not
  5. Added notification for if you cannot afford what you are trying to deposit


Market events & news feed

  1. News feed has been redesigned and is now identical across the personal dashboard, business dashboard and event popup interfaces
  2. There are now multiple events for each market, with a config allowing you to easily add your own
  3. When pressing "Open stock market" on a market event it now opens the graph on the market the event is for
  4. Extra space for one more notification has been added (3 -> 4)


The market AI

  1. You can now set how often the stock market updates in the config (default is still every second)
  2. There is now the possibility a market can become worthless, and if this happens all assets in that market are deleted, meaning there is a real threat of losing all your money. The stock market will then reset itself to its original value in the config.
  3. The stock market now remembers its value over server restarts
  4. The stock market's AI has been changed - it is now totally random and will not try to stick around a certain number
  5. Stock market events are now also more likely to cause crashes rather than booms.
  6. Market events now happen over a period of 30 seconds, rather than only 20 seconds into the event
  7. Added notification in chat for if a market becomes worthless


Inside trading

  1. NPC's have been optimised (this includes a recode & it will now despawn if nobody is near it to save on FPS)
  2. You can type "(! or /)cleartraders" to clear all trader positions
  3. Inside trader will only speak to a player once per 30 minutes, meaning you cannot keep asking when the next event is so you can count it down
  4. Added check so will only try and warrant players on darkrp and no other gamemodes


The stock market graph

  1. Stock market graph now displays accurate guidelines so you can gauge how much the stocks are changing by (there use to be fake static ones in the background)
  2. Stock market graph now displays the prices and availability of all stock markets, rather than just the one you are on
  3. You can now go back to the personal dashboard & investment group dashboard from the stock market
  4. I have removed the "Zoom out" button as the graph doesn't display a timeframe, so it was quite confusing to what was actually happening. I might re-add in the future with a better implementation.
  5. Added notification for if you were unable to buy a stock position due to lack of cash


Here are some images of the new interfaces: