StockMarket v.05

Details

  • Filename
    StockMarket.jar
  • Uploaded by
  • Uploaded
    Mar 15, 2012
  • Size
    50.61 KB
  • Downloads
    567
  • MD5
    2f11abddbc19ef3775497e8268cdeda4

Supported Bukkit Versions

  • CB 1.2.3-R0.2

Changelog

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