StockMarket v.08

Details

  • Filename
    StockMarket.jar
  • Uploaded by
  • Uploaded
    Jan 1, 2016
  • Size
    58.92 KB
  • Downloads
    5,041
  • MD5
    2a55bcb2a71bb95632c556f0b7a14d62

Supported Bukkit Versions

  • 1.8
  • CB 1.7.9-R0.2
  • CB 1.7.2-R0.3

Changelog

v.08
  • Converted most database errors into human readable format
  • Added debug-mode configuration option to hide stack-traces by default
  • Built & Tested against Bukkit 1.8.8 & Vault 1.5.6
  • Tested against Bukkit 1.7.10 & Vault 1.4.1
  • Built to work against v1.7+ however there is no reason why this version will not work with earlier versions, we simply are not testing them.
v.07
  • Fixed issue where players are not charged for purchase of stocks
  • Shortened all chat prefixes to "SM"
  • Tested against Bukkit v1.7.10 & Vault 1.4.1
v.06
  • Fixed issue with dividend timer resetting on server shutdown or reload.
  • Fixed commands so they are usable from console (player related ones aren't of course)
  • Added config options to either broadcast events/dividend payouts or not.
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