SalvageSmelter
SalvageSmelter
[ English | Français ]
SalvageSmelter allows you to smelt down tools and armor made of iron, gold or diamond into raw materials. the quantity of materials returned is dependent on the durability of the item being smelted, for example iron boots at 50% durability would return 2 Iron ingots. At 49% durability they would return 1 iron ingot. Gold tools can yield nuggets instead of ingots to allow for more accuracy in determining the value of an item, and any item not worth at least 1 of it's raw materials will produce a piece of charcoal.
Features
- [NEW] Optional sign-based permissions. when
require-signs: true
in the config.yml furnaces will require [SALVAGE] signs on them. - Automatic updates!
- Configurable Recipes
- Smelt iron, gold and diamond armor, as well as tools. enchanted, named or damaged, doesn't matter.
- works great with hoppers!
Commands
- /salvagesmelter reload - reload the configuration
- /salvagesmelter debug - toggles debug mode on/off
Permissions
- salvagesmelter.admin - allows access to the /salvagesmelter command.
- salvagesmelter.createsign - allows players to create [SALVAGE] signs.
Tutorials
Для русскоязычных пользователей видео от Rissman
Source Code & Development Builds
Source code is available on Github
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
SalvageSmelter Development Builds
Other Plugins
- PortableHorses - your trusty steed in your back pocket.
- Scribe - Transfer enchantments from items to books using an anvil
- http://dev.bukkit.org/bukkit-plugins/dig-for-dollars/DigForDollars - Get paid to mine!
- PotatoBombs - Allows players to craft poisonous potatoes into devastating and hillarious magical landmines.
- Autocrafter - Turns droppers into redstone powered crafting tables.
@UnDrac
Controlling the smelting speed is possible, but it's an expensive process that doesn't scale we ll. I'd rather not include that feature in salvage smelter directly, but other pugins that offer that functionality *should* work with salvagesmelter. http://dev.bukkit.org/bukkit-plugins/enchantedfurnace/ might be worth checking out.
Can you make horse armor smelt into ingots too? Maybe a horse armor at 100% durability gives 7 ingots?
@metalhedd
Hmm ... what about making some recipes take a longer time to smelt? Or using up a lot more fuel, I know mcmmo already does that with ores (increases fuel in the furnace if you're smelting an ore) so I'm guessing the Hook in the API exists, and was wondering if the opposite can be done, if it can't track number of items it smelted can it slow down the smelting process?
@UnDrac
Unfortunately, It's not possible to smelt more than 1 source item into a single 'result' item. For that to work, the furnace would need to track how many it has already smelted towards the goal, and there's nowhere to store that data in the furnace block. It would require some sort of external file or database containing every single SalvageSmelter location and how many of each item it has smelted, which would probably slow down the plugin considerably.
@metalhedd
Ahh ... well I was searching for a way to make it so your plugin ... instead of counting how many times it smelted something, to pull multiple items at a time, like if you put 4 piece of rotten flesh in the furnace to smelt them all at the same time and retrieve only one leather or something like that, Mainly cause I was also planning on using your plugin as a faster smelter. :D
@UnDrac
@kingmonkeycrafter
Sorry for the delayed response, sometimes bukkitdev doesn't notify me about comments like it's supposed to.
The correct way to do recipe groups is like this:
The recipe has to be listed under the normal 'recipes' section in order for it to be registered, and then the 'source' material needs to be listed under the appropriate recipe group (not the entire recipe).
metalhedd Aug 31, 2013 at 00:23 wrote:
@FlOppythp
This is all already possible. There's a configuration section called 'recipe-groups'. you can assign recipes like this://
etc Each of these groups requires the appropriate salvagesmelter.group.<groupName> node.
(notice I listed GOLD_BARDING and IRON_BARDING even though they weren't previously in the config file... These are the horse armours, you can add whatever else you want :)//
Just as I was searching for something else I stumbled onto this ... maybe this helps,
Also note that you don't just add recipes to a group and call it a day, you need to add into your permissions file what he said, for ex: salvagesmelter.group.vip or salvagesmelter.group.noob**
@metalhedd
I'm having a real problem with the permissions. I want SalvageSmelter limited for certain permission groups.
I can stop players from creating salvage smelters by not giving them the salvagesmelter.createsign permission, and while they cannot create smelters it does not stop them using other players smelters which have a [salvage] sign.
So I've tried going down the recipe groups route to stop lower ranks for accessing all the recipe items:
Here's my config: http://pastebin.com/GaEMP7m4
I have 3 recipe groups default, resident and vip and I'm using the permissions salvagesmelter.group.default, salvagesmelter.group.resident and salvagesmelter.group.vip Even though each group is assigned it's own recipe group permission the permission seems to be ignored and all groups are able to smelt anything on the main recipe list.
In the recipe groups I've tried doing:
and
And it still smelts down the main recipe items. Any idea what I am doing wrong?
@Gametista
This plugin doesn't need updating, it should work with any version of bukkit.
@kingmonkeycrafter
Unfortunately that wouldn't work, the furnace can't track how many of an item it has already smelted, it would require some sort of external data storage which really uglies things up. I will consider the option to modify the # of charcoal returned though.
Just wondering if this plugin was going to be updated, thanks! :)
Great plugin and very easy to use.
Would it be possible in a future release to add input numbers to the "smelted" items so multiple items can be smelted down into a single item?
For example you could then smelt items like rotten flesh into leather or obsidian into lava buckets:
ROTTEN_FLESH:4 LEATHER:1
OBSIDIAN:4 LAVA_BUCKET:1
Also, would it possible to add a charcoal output into the config so items with low durability can output more than just 1 charcoal?
Thanks again for such a good plugin :)
ah ok, is a new item... sorry x) (and sorry for my bad english)
and how i can add lapis lazuri (dye) ?
@patalkok
There is no IRON_TRAP_DOOR in bukkit. It was added in one of the 1.8 snapshots, none of which have bukkit builds yyet.
nice plugin :)
but i have one probleme to salvage this item :( :
IRON_TRAP_DOOR
@ridddle
No worries, glad it's working now!
Weirdest thing. I cannot reproduce it, spawning clock from creative menu, crafting it, buying it from a villager, nothing. Just works. Also tried disabling and enabling my custom trade plugin to see that maybe it allowed to buy a different kind of a clock but it’s just fine.
Sorry for wasting your time!
@ridddle It works for me. The most likely explanation is that your watch has a damage value. (created by a plugin or mod?)
if you enable debug mode in salvage smelter's config you should see:
when it tries to smelt a watch. the 1.0 is the current damage value as a float from 0.0-1.0, this is calculated using the Material's max durability (which for a watch, afaik, is 0) so if your watch has any damage value other than 0, this would cause it to smelt into coal.
Any reason why smelting golden clock into redstone (
WATCH: REDSTONE:1
) doesn’t work and returns 1 charcoal while smelting compass into redstone works?@CommodoreAlpha
I have no experience with any of those types of servers, so I can't say for sure, but if they support the bukkit api it should work fine. If they dont, it won't
@metalhedd
Perhaps I should have nuanced my comment to be clearer.
Say I run an MCPC+ server with Metallurgy. Not a singleplayer client game. Would what I said before be possible or feasible?