Minecraft Mods

Advanced Shop - Dynamically priced shop system [Plugin]

  • 9,604 views, 1 today
  • 659 downloads, 0 today
  • 4
  • 1
  • 2
Empire92's Avatar Empire92
Level 64 : High Grandmaster Batman
133
AdvancedShop on D.B.O - A dynamically priced server shop which is fairly intuitive and versatile; supporting both experience and money

[Overview]



- A simple to use server shop where prices change when you buy/sell
- Supports experience or money
- Can have different formulas for buy and sell
- You can have the prices based on a configurable time period
- Allows multiple names per shop item
- Add or remove items from the shop
- Shops can have "Stock" and only sell if they are in stock.
- Can log transactions

[Commands|Permissions]

CommandDescriptionPermission
/advsell <item/hand> *<amount>Sells a given amount of an itemadvshop.sell
/advbuy <item> <amount>Buys a given amount of an itemadvshop.buy
/value <item/hand>Gives info on price/stock of itemadvshop.value
/handTells you what item you are holdingadvshop.hand
/advshop helpLists all the commands for the pluginNone
/advshop reloadReloads the pluginadvshop.reload

[Installation]

  1. Download AdvShop.jar as well as the dependencies below into your plugins directory
  2. Restart your server or load the plugins using a plugin manager
  3. Add the permissions that you see fit (listed above) to players
  4. See the configuration tutorial below for further information

[Dependencies]



Click [url=http://dev.bukkit.org/bukkit-plugins/vault/files/][b]here for Vault[/b][/url] which provides economy integration.
An economy plugin of some sort is also required

[Configuration Tutorial]



Most configuration can be done through the config.yml

[Buy/Sell Formula]



This dynamic shop plugin allows you to specify your own formula for buying and selling. The default formula does the following;

  1. Items are cheaper if a lot of that item has been sold, but not much has been bought
  2. Items are more expensive if not much of it has been sold compared to other items.
  3. The sell price is always half of the buy price

Placeholders:



- bought
- sold
- volume
- totalsold
- totalbought
- totalvolume
basic javascript will also work in the formula
The default-sold and default-bought values are the stock of an item after it has been sold/bought for the first time.
It is a good idea to have the buy formula return a larger value than the sell.

[Using EXP]



Simply change use-exp-instead to true in the config.yml

[Adding/Removing items]



If you want to have a custom item list, you will need to copy idlist.yml and modify it
Once you have done that, remember to change the idlist in the config to specify the new file.

[Logging transactions]



Transactions are automatically logged to history.yml.
TO DISABLE - set keep-history-days to 0
TO KEEP FOREVER - set keep-history-days to -1

[Disable auto item matching]



Set item-similarity-match to 0 (in config.yml)

[Other Projects]

- SignRanks

- CompassModes

- WorldeditRegions

- VoxelSniperRegions

- InSigns+

- IndividualMessages

- IndividualHolograms

Dev Builds:



Click here.
Progress75% complete
Game VersionMinecraft 1.7.8
Tags

Create an account or sign in to comment.

118ninjadog
07/16/2018 11:53 pm
Level 2 : Apprentice Miner
118ninjadog's Avatar
eh?

1
Rashneish
06/29/2014 12:28 pm
Level 36 : Artisan Engineer
Rashneish's Avatar
Just what I was looking for. Would love to see dynamic stock and indepth configuration options for price changes (if the latter isnt included already).
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome