/MaterialsStockMarket

MaterialsStockMarket allows you to simulate 'commodity trading' in Minecraft!

Primary LanguageJava

MaterialsStockMarket

MaterialsStockMarket allows you to simulate "commodity trading" on your Minecraft server! You can add up to 45 items to the nice looking buy/sell GUI. Ofcourse, you as admin can decide what the current buy and sell prices are.

Commands/options

/mm open: Opens the trading GUI.
/mm addays : adds a amount of days to the auto pricing algorithm.
/mm depression : let all the stocks drop by a specific percentage.
/mm help: opens the help overview.
/mm changebuyprices : changes the buy price of an item. (decimals allowed, must be a positive value).
/mm changesellprice : changes the sell price of an item. (decimals allowed, must be a positive value).

Permissions

If you want to give a player access to the trading GUI, you have to give him just one permission: MaterialsStockMarket.open It is recommended to give the player access to 'Essentials.balance'. This way, the player is able to check his current balance.
All permissions:
MaterialsStockMarket.open: allows player to open the trading GUI.
MaterialsStockMarket.adddays: allows player to add days to the auto pricing algorithm. (By default, every minecraft day the price will update)
MaterialsStockMarket.depresssion: allows player to create a 'depression'.
MaterialsStockMarket.help: allows player to see the help menu.
MaterialsStockMarket.changebuyprice: allows player to change the buy prices.
MaterialsStockMarket.changesellprice: allows player to change the sell prices.

Change items/prices

If you want to add/remove items or change the prices, you have to edit the config.yml file. This file is automatic generated by adding the plugin (.jar) to your server plugins folder. Since v2.0 it is also possible to change the buy/sell prices in-game (you need permissions to do this, of course).

Future updates

- Automatic price generation DONE
- A better/more extensive trading GUI
- In-game commands for adding/removing/change items and prices (admin only)

The default config.yml

If you would like to reset your config.yml, please use the one from the GitHub Repository.
Add new item
1. Add the item (IN CAPS!) to 'items:'
2. Add the item to 'buyprices' with the initial buy price.
3. repeat step 2 for 'sellprices'.
4. Place the item under the correct category (it is currently not possible to create categories by your own).
Change settings
You have the possibility to change specific settings in the config.yml file. In the top of the file, you can edit the plugin to your needs.
- autoprice (value: true or false): the server will generate new values of all items.
- inventoryrows: amount of rows in the GUI (excl. the first row for displaying some information)
- autopriceseconds: the interval between two automatic stockmarket price updates in seconds. (autoprice must be 'true')