Value
What it does:
This a very simple plugin made for convenience. It calculates the price of an item using the prices of the items used to craft it. Clean and simple.
The advantage of having this plugin is that if something ever gets a better value, then all you need to do is set the new price for the item, and anything that uses it will also raise/lower in value.
Here's an example:
If notch were to suddenly do an update that makes wheat OP, then you would normally have to set the new price of every item that uses wheat as a crafting ingredient. Well with this plugin, all you have to do is set the new price of wheat, and everything that uses it as a crafting ingredient will be affected by the new price.
The main idea of this plugin is to make server administrators less of a burden to place the prices on store items, since all this plugin does is show you the value.
Main features:
- Calculates the price of an item using the prices of the items used to craft it.
- Since it only uses 'raw' items, you only need to set up the price for about 1/4 of the total amount of items in Minecraft. Don't worry, There's a default configuration with prices set up by me, so you only need to modify if you feel like it ;)
- Make selling signs that use the values of only raw items to calculate the price of all the items in Minecraft.
How it works:
To get the price of an item, simply hold the item in your hand and type '/value'. The total price is multiplied by the amount held.
To make a Value sign, type in a sign as follows:
[Value]
Sell/Buy
Item ID*
Amount:Price*
* These two options only apply to buying
Now anyone with the value.trade.* permission will be able to sell/buy anything they want by right-clicking this sign. I only made the sign as a little 'extra', but buying/selling is not the main focus of this plugin.
Commands:
- /value - Tells you the price of the held item
- /value sell - Sells the held item for the price calculated by Value. Also takes into account the price drop set in the configuration.
- /value setworth - Sets the prices of the worth.yml of the Essentials plugin to the prices in Value
- /value reload - Updates the prices of raw items in the configuration file.
The configuration file:
The configuration will be generated in the plugin folder when you first run the server with the plugin. Just read the comments and you will know what to do.
Permissions:
- value.command.value - Permission to use the /value command.
- value.command.help - Permission to use the /value help command.
- value.command.setworth - Permission to use the /value setworth command.
- value.command.sell- Permission to use the /value sell command.
- value.command.reload - Permission to use the /value reload command.
- value.trade.sell - Permission to sell things with the sell sign.
- value.trade.buy - Permission to buy things with the buy sign.
- value.sign.sell - Permission to create/break sell signs.
- value.sign.buy - Permission to create/break buy signs.
Requirements:
- Vault
- An economy plugin
Does anyone have config with all the prices set that I can get? Unless someone knows how to make it do all the prices by itself, because mine created all the prices to -1.
Nice plugin! Please update it to newer blocks! By the way, 900$ for a lapiz block just seems stupid to me. Especially since one lapiz is 10$ Great plugin!
what does the sell value in the configs do? value of 50 is this a percentage or a tax? also does this plug figure exact amounts as in log =16 you get 4 planks from log so planks are = 4 each? currently i have logs set at 16 planks get valuated at 4.20 each. can you explain the dynamics a little to me please?
@StreetDancer1
I believe so.
After installing, the file with the list of recipes is missing, so the plugin cannot function.
I believe this is abandoned ?
anyone values for the new 1.4.2 stuff?
lapis and stone bricks does not get calculated correctly
what is item ID for wolf? i thought it was 383:95
Also, you should try to add a config option called ignored items, so you can add items like bedrock, piston bases, end portal, etc.
@XxkmachoxX
How hard would it be? You could ask on the forums for someone to do it for you.
@Techtony96
I've wanted to add data values to the plugin, but I just don't have any time to add new functions for any of my plugins because of college.
Basically I've just been passing by to check for any bugs and to keep the plugins up-to-date :/
@diannetea
It should, just remember to check for any new items in the raw items list. When a player gets an error message while trying to get the items value, its because the plugin encountered a item which it cannot find raw items for, and it automatically adds it to the raw items list as -1.
@diannetea
If you let it calculate the worth values first, then add the plugin, then it will work. But if the plugin adds other recipes, then idk how this plugin will react.
I've been considering a plugin that will let me create recipes and auto-creating the ones I want people to be able to undo (like gold nuggets, ingots and emeralds are money so I figure people should be able to go back and forth with them)
I imagine a regular recipe plugin would work fine with this?
Could you add support for data values? that would make this plugin 100 times better!
Got this error when using /value setworth (in console)
http://pastie.org/4787982
@diannetea
Sorry if I took a long time to reply, had no internet the last 2 days... it was a nightmare xD
About the plugin... yeah, that's extremely incompatible with this haha, basically its completely reversing the process in which my plugin calculates values and I'm pretty sure that could end up with some pretty odd numbers. I guess the best you could do is disable that plugin, revise the prices you want to know using value, then unninstall value and reinstall that plugin, since value has completed its purpose. Both plugins will never play nice together though :/
I love this
I found the culprit.
http://dev.bukkit.org/server-mods/craftback-bukkit/
idk where to go from here