promotional bannermobile promotional banner

Stock Market

Stock Market
Back to Files

StockMarket v.05

File nameStockMarket.jar
Uploaded
Mar 16, 2012
Downloads
717
Size
50.6 KB
File ID
580653
Type
A
Alpha
Supported game versions
  • CB 1.2.3-R0.2

What's new

v.05
  • You can now set the info of a stock with /sm set. Read /sm help. Note: Setting the amount does not account for stocks which may already have been purchased.
  • Stocks can have amounts now, so if the amount reaches 0 that stock cannot be purchased until a player sells some of it.
  • Amount can be -1 for infinite amount.
  • LoopTime is stored on unload, so if you are waiting for an event it remembers within a minute of where it left off (assuming server did not crash irregularly)
  • Total & individual stock limits per player now work as intended.
  • Added stock dividends. Stock dividends will give the player (dividend/100 * amount * stockPrice) every dividend payout (delay between these customized in config.yml). If you do not want to use dividends just set dividend-frequency to 0.
  • Added dividend-frequency and pay-offline-players to config.yml. Dividend frequency is the number of minutes in between dividend payouts. Pay offline players is whether or not to pay offline players at the time the dividends are payed out.
  • Fixed a bunch of unhandled exceptions.
v.04
  • Can now configure events yourself in the config.yml.
  • Fixed buying/selling invalid stock amounts.
  • Grouped permission nodes so you can grant stockmarket.admin.* and stockmarket.user.* or individual nodes. stockmarket.* should still give access to all commands.
v.03
  • Price/baseprice/volatility/min/maxprice are all decimal(10,2) now.
  • Improved event handling.
  • Added command to force a random event.
  • In general, stocks will still float around their base price, yet its slightly better than it was before. They do unpredictable things (which in general is good), and in general follow patterns similar to real stocks (i.e. slow yet slightly volatile rises/drops, with a low chance of sudden increases or sudden decreases).
v.02
  • Database will be created if it doesn't exist.
  • Make sure if the database does already exist, you don't have currently existing tables.
  • Added a check for invalid column names.
v.01
  • First Alpha Release

This mod has no additional files