Published Jun 27th, 2014, 6/27/14 3:19 am
- 9,604 views, 1 today
- 659 downloads, 0 today
133
AdvancedShop on D.B.O - A dynamically priced server shop which is fairly intuitive and versatile; supporting both experience and money
- 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
Most configuration can be done through the config.yml
This dynamic shop plugin allows you to specify your own formula for buying and selling. The default formula does the following;
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.
Simply change use-exp-instead to true in the config.yml
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.
Transactions are automatically logged to history.yml.
TO DISABLE - set keep-history-days to 0
TO KEEP FOREVER - set keep-history-days to -1
Set item-similarity-match to 0 (in config.yml)
[Other Projects]
Click here.
[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]
Command | Description | Permission |
---|---|---|
/advsell <item/hand> *<amount> | Sells a given amount of an item | advshop.sell |
/advbuy <item> <amount> | Buys a given amount of an item | advshop.buy |
/value <item/hand> | Gives info on price/stock of item | advshop.value |
/hand | Tells you what item you are holding | advshop.hand |
/advshop help | Lists all the commands for the plugin | None |
/advshop reload | Reloads the plugin | advshop.reload |
[Installation]
- Download AdvShop.jar as well as the dependencies below into your plugins directory
- Restart your server or load the plugins using a plugin manager
- Add the permissions that you see fit (listed above) to players
- 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;
- Items are cheaper if a lot of that item has been sold, but not much has been bought
- Items are more expensive if not much of it has been sold compared to other items.
- 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.
Progress | 75% complete |
Game Version | Minecraft 1.7.8 |
Tags |
2964125
7
Create an account or sign in to comment.