Sueta
MA

Markets

SNAPSHOT-1.1

Adaptive shop plugin aiming to help balance server economies

·Plugin

Requires Vault & ActionBarAPI

Markets is a lightweight shop plugin with adaptive prices. Shops are created with signs, similar to conventional shop plugins.

Markets features "buy scaling" and "sell scaling". This meaning that when you buy/sell a resource, the value of the resource diminishes. This way, if your economy is flooded with -- for example -- diamonds, then if too many people sell diamonds, the value of diamonds are decreased. After a configurable amount of seconds passes, the item regains a bit of it's value.

Markets can be used as standalone shop plugin without any of the adaptive pricing by disabling price scaling in the configuration.

Commands

  • /markets reload (Reloads the plugin configuration)
  • /markets reset (Resets all item buy/sell prices)
  • /markets setbuy <item> <price> (Sets the buy price for an item)
  • /markets setsell <item> <price> (Sets the sell price for an item)
  • /markets setchange <item> <amount> (Sets the change amount for an item)

Permissions

  • markets.reload (allows /markets reload)
  • markets.reset (allows /markets reset)
  • markets.buy.create (allows creation of buy signs)
  • markets.sell.create (allows creation of sell signs)
  • markets.buy.delete (allows deletion of buy signs)
  • markets.sell.delete (allows deletion of buy signs)
  • markets.buy.use (allows usage of buy signs)
  • markets.sell.use (allows usage of sell signs)
  • markets.setbuy (allows usage of /markets setbuy)
  • markets.setsell (allows usage of /markets setsell)
  • markets.setchange (allows usage of /markets setchange)

Sign Creation
The first line of the sign's before and after values are configurable.

By default, this is the pattern:

[Buy OR Sell]
<amount>
<item>

Example:

Any requests and constructive feedback would be appreciated. If you need support and would like to contact me directly, my discord is sniddunc#5426.

Similar projects

Plugin →