Blue Book
Blue Book - the Minecraft Pricing Guide
Version: v1.9
Video Review (In German)
This is the guide to all pricing in Minecraft!
This plugin will tell you the value of any object in the game! Setting up a shop? How much should you sell a Diamond Chestplate for? Is that set of bookshelves a good deal? Stop picking prices at random and use this plugin instead!
This plugin is perfect for admins who want to set up malls or stores quickly and not break the economy or to guide players. Prices are calculated from base prices that you can set in the config file. A profit can be added.
If you want to know how prices are determined, read this page on the pricing methodology.
How to Use
- Install (see below) and set permissions
If bluebook.signshow permission is enabled:
- Place a sign with [VALUE] as the first line
- Hold an object in your hand and hit the sign (or any nearby sign or chest)
- The value is shown on the sign
If bluebook.show permission is enabled:
- Hold an object in your hand and hit any nearby sign or chest
- The value is shown in chat
New in 1.9
- Support for Server 1.8 blocks and items!
Required Plugins
- An economy of some kind, e.g. Essentials, Miconomy, etc.
Problems
Please file a ticket if you find a bug.
Commands
To find out the BlueBook price, hold an item in your hand and hit a chest or sign with it. See the screenshot for an example
- /bbreload - Admin command to reload config.yml settings
Permissions
Only Ops will have automatic access to the BlueBook. If you want to allow it for others, you will need to give them the following permission:
- bluebook.show - Permission to see the price guide
- bluebook.reload - Permission to reload the config.yml
- bluebook.signshow - Permission to have prices appear on signs with [VALUE] on them
Installation and Configuration
- (For upgrading - copy or delete your bluebook/config.yml file)
- Download the plugin (bluebook.jar)
- Place into your plugins folder
- Restart your server (or reload plugins)
- The plugin will make a folder called BlueBook. Open that folder.
- Check config.yml and set the prices how you like. Usually the ones in there will already make sense.
- Make sure you set the profit* to something you are happy with! (100 means the prices will be double).
- Restart the server if you changed the prices or type /bbreload
- Set up permissions, e.g., with Pex, if you want to give permission to everyone use: /pex groups default add bluebook.signshow
- Reload permissions, e.g., /pex reload
- Enjoy!
Upgrading
If you never customized the config.yml file, then delete it so that new items will be added to it. If you did customize config.yml, then move it to a temporary file, reload or restart the server and compare the new config.yml with your old one. New items will be placed at the bottom of the list and marked with a comment.
To Do
- Any requests? Let me know!
Source
Source code is on github. See Repository page for link.
http://dev.bukkit.org/media/images/72/825/2014-04-18_14.35.26.png?30%" alt="Screenshot showing [VALUE] sign">
Stats Disclosure
This plugin utilizes a plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Visit mcstats.org if you would like to learn more about the stats collected. Go into /plugins/PluginMetrics/config.yml to disable stat collecting if you wish.
Stats by MCStats
I'm using this on 1.9. It works fine.
Still waiting to see if anyone will write a shop-plugin to sell prices at blue-book prices.
Hey @tastybento. Are there any plans to update this to 1.9?
@sleite
Use SKULL_ITEM
Bukkit uses different names for items in your inventory vs placed on the ground.
Me again. How can I add items to the config file? For example, a skeleton skull. I tried adding:
SKULL: 2
But that didn't seem to have any effect. Any way to add new items?
Thanks
@tastybento
Got it. Thanks. That worked. I would like to make a suggestion though.
Server owners must explicitly state that players are denied a permission in order for plug-in to work as expected. I think it should be the other way around - by default (with no permissions set), either a) nothing should happen, or b) only a sign with [VALUE] written on it should respond with a price look-up.
I also noticed that clicking on a chest also displays the price, which I thought was wierd.
One more question: I'm getting this odd error in the console:
Even if I delete the config.yml and restart my server (to have it re-created from scratch), console continues giving this error. It doesn't seem to affect plug-in performance - plug-in seems to work fine, but it continues to send the message to console everytime server is restarted.
Suggestions: This is a pretty cool plug-in. Lots of potential. I think you should write an add-on (separate) which is a chest/npc/shop plug-in (similar to Shopkeepers), except that instead of players manually setting the price(s) on items, prices are taken from bluebook (with an option to over-ride of course).
I like BlueBook as a stand-alone plug-in. I like how it is really good at what it does. I wouldn't want to change it. I just wish some other shop plug-in's could somehow link in to it and use the pre-set values to set default prices in other shop plug-ins. Just a thought.
Great plug-in!
Cheers!
@sleite
If your player has the bluebook.show permission then when you hit a sign, a price will appear in chat. If you remove that and the player has the bluebook.signshow permission, then when the player hits the sign with [value] in the first line, the value will be shown on the sign.
To remove the bluebook.show permission using pex, you have to add a negative permission,e.g.:
/pex user tastybento add -bluebook.show
/pex reload
Weird. ALL signs that I place act as if they were placed with the [VALUE] syntax added. Even blank signs. Anyone else have this problem?
@Delebird
That's very interesting. I'll give that some thought. I think it could be added as an option to BlueBook.
@tastybento
A player could sell an item for its price, based on whether its mint or worn.
A player could buy any item for its mint price.
Sold & Bought Items could be tracked in a sqlite db
OR
Players could sell items and the plugin could list all items sold. If a player wants to buy an item, it will list every item sold of that type and a player could choose which of those they want to buy. For items that have damage values, it could list them based on how close to mint they are. For items without values, such as enchantment books, it lists how many of that book there are.
@Delebird
Huh! That's interesting! I can see how selling could work - I could add that. It would buy items "at the market price". It could also have restrictions on maybe only buying mint items and not worn items. That could be a config option. I'm not sure how would buying work though, because you would already have the item. Any ideas?
it would be great if there was some kind of buy/sell function with this!
@ChengZi368
Please see this page.
How can it calculate them?
That plugin is very useful for server owners :D
@AegisZephyr
Great idea - thanks! I just added that feature! It'll be approved soon I expect. Now, if you place a sign with the first line as [VALUE] then the price will appear on it when tapped. There's a new permission so you can switch off the spammy chat pricing if you like and just have the sign showing.
Not sure if this has been requested yet, but is it possible to get it so that the message will only be shown on a specially made sign with say [Worth] or [Price] on it? When moving tons of chests or replacing signs, it starts to get a bit spammy.
Great plugin by the way, it really helps with some of our lazier players that don't like looking at the website for pricing :3
@Lukethenuke
Interesting. It would be possible to add custom ids and their associated prices, but the recipes are part of the code, so those would have to be coded up somehow. I'll look into it though.
This plugin is pretty awesome but I was wondering if you were considering supporting custom data? For example, block-prices: 1503: 1200
The 1503 being an item id (Quarry from most modpacks like FTB)
And then the server owner would need to add the individual ids used to make the Quarry but it would auto calculate the price for Quarry based on prices for the parts.
Does this seem possible?
@tastybento
Sweet, thanks mate.
@frol1
If you set diamonds to 500, then everything made with diamonds will adjust automatically. If you change the "profit" setting, then everything in the whole game will change automatically. So, if you wan diamonds to cost 1000 and want everything in the whole game to adjust automatically, set "profit" to 100.0 in the config.yml. ($500+100% profit = $1000).
Here's a config for you: