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


-
View User Profile
-
Send Message
Posted May 31, 2012Hey I love the idea of this plugin, however I am having some issues.
First I am using Essentials as my economy, so a worth.yml is what determines the prices.
with essentials a player can /sell hand to sell something to the server to earn cash, or check a price with /worth. however after configuring my prices in the value plugin folder, the prices did not continue over when i typed /worth. This is essentially what I was hoping the plugin would do.
Am I setting something up wrong or does the plugin not set the prices for my economy plugin? Essentialy, I want to configure the prices in my Value folder and have them carry over to my essentials commands such as /worth or /sell hand etc... is this possible??
thanks a ton love the plugin!
-zanchee
-
View User Profile
-
Send Message
Posted May 26, 2012I uploaded a new version that uses doubles instead of integers, but I don't think I should do buy/sell shops because that isn't the purpose of the plugin :/
I'll think about it though, but for now I'm a bit busy with finals
-
View User Profile
-
Send Message
Posted May 25, 2012Can you make it so that the prices can be doubles not ints as cobblestone is not worth 1 :L Also could add buy and sell signs like chest shop not just buy or just sell. thanks also are you going to release the source ?
-
View User Profile
-
Send Message
Posted May 24, 2012I have uploaded version 1.1.2 that hopefully fixes your problem. You can find it in the files tab while it gets approved by bukkit :)
I believe the internal error was because the plugin didn't verify that you had an economy plugin. If nothing happens when you use the /vaue command its because it got disabled because you need some sort of economy in the server.
-
View User Profile
-
Send Message
Posted May 24, 2012"An internal error occurred while attempting to perform this command"
-
View User Profile
-
Send Message
Posted May 24, 2012oh, and vault
-
View User Profile
-
Send Message
Posted May 24, 2012Here are my plugins so far: - LazyUpdate:"http://dev.bukkit.org/server-mods/lazyupdate/files.rss" - Value:"http://dev.bukkit.org/server-mods/value/files.rss" - Gods:"http://dev.bukkit.org/server-mods/gods/files.rss" - Dynmap:"http://dev.bukkit.org/server-mods/dynmap/files.rss" - Jobs:"http://dev.bukkit.org/server-mods/jobs/files.rss" - MobDisguise:"http://dev.bukkit.org/server-mods/mobdisguise/files.rss" - NoSwear:"http://dev.bukkit.org/server-mods/a5h73y/files/5-noswear-v4/files.rss" - DeathRevenge:"http://dev.bukkit.org/server-mods/deathrevenge/files.rss" - Punishmental:"http://dev.bukkit.org/server-mods/punishmental/files/24-punishmental-2-92/files.rss" - UltimateArena:"http://www.host-a.net/u/orange451/UltimateArena.zip"
and worldguard, worldedit, and essentials
-
View User Profile
-
Send Message
Posted May 23, 2012What plugins do you have? Maybe one of them uses a similar command, but I'm kinda running out of options here XD
I downloaded the current version I have uploaded and tested it in a 'fresh' server and it worked fine :/
PS. Do you have vault?
-
View User Profile
-
Send Message
Posted May 23, 2012Yes i didn't alter anything
-
View User Profile
-
Send Message
Posted May 23, 2012Did you modify any of the configuration files? Does it happen when you play the server with the default files extracted?
-
View User Profile
-
Send Message
Posted May 23, 2012it was this way the first time i ran it unfortunatly
-
View User Profile
-
Send Message
Posted May 22, 2012Hmm... that's odd.
Did it work the first time running the server with the plugin?
-
View User Profile
-
Send Message
Posted May 22, 2012When i type in: /value it just shows my command /value and not the price of the item, the config, crafted items, and raw items YML files look fine do you know what i could be doing wrong? Thanks for answering my previous questions so quickly :D
-
View User Profile
-
Send Message
Posted May 22, 2012No not really, the item values are independent from the 'worth' file of essentials. I did get a lot of the default values that I put in by randomly searching online looking at forums of item worth estimates, maybe they posted the same thing as the worth file?
Anyways, now I'm thinking whether to add that feature or not. Might do it, but I don't really see the point of /worth if there is /value, which is basically the same.
-
View User Profile
-
Send Message
Posted May 22, 2012I was curious as to whether the Value plugin automatically updates the Essentials "Worth" file, because after i ran the plugin they seemed to have similar values which would be really awesome but i wasn't certain and i didn't see on this page if it does or not?
-
View User Profile
-
Send Message
Posted May 22, 2012@XxkmachoxX
If you can, add support for datavalues of blocks in the recipe yml. on my Server you can craft mossy and cracked smooth stone brick but they seem to all cost the same.
-
View User Profile
-
Send Message
Posted May 22, 2012Done!
I decided to stay with the old .yml style because there were issues with recipes from bukkit.
Such as not recognizing that a gold nugget was made using 1/9 of a gold bar or when 1 log would give 4 planks, etc.
If you have custom recipes then just modify the recipes from the 'Crafted items.yml' file
I will be adding the no-yml version later, but technically it will still need a yml file for what I explained above
-
View User Profile
-
Send Message
Posted May 22, 2012Oh geez sorry forgot to put a condition in there... :O
The whole sign editing thing will be fixed in a moment, hope it didn't ruin the rules area too much haha
PS. It already has Vault support, I just forgot to change that so it would format it :P
Man, finals are making me forget everything
-
View User Profile
-
Send Message
Posted May 22, 2012@XxkmachoxX
It would also be nice if it didn't edit all signs to say: [Value] (text) (text) (text) , because that messed up my rule room.
Edit: Vault support would also be nice, so that it didn't show $24.55 but 24 bars 55 nuggets (example).
-
View User Profile
-
Send Message
Posted May 22, 2012I just came a a realization... I can get the recipes using the Bukkit API XD. I'm still just starting out coding (The more you learn eh?)
I'm currently using a yml with all the recipies, which now I realize is a complete waste of time jajajaja, Ill probably have the no-yml version up later today
I'll make it custom-recipe friendly :)