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.
@metalhed:
Cool thanks! Trying it now! :)
@kreezxil
Thanks for the report. I believe I just fixed it in 0.0.6 (Jenkins Build #13)
I don't know if salvagesmelther is crashing my server but I'm getting a severe error related to it in regards to an inventory move event and possibly a hopper. I tried the 0.05 dev build to no avail and have included 2 minutes worth of logfile for you to dissect.
http://pastebin.ca/2369422
@metalhedd
I'll update it to the dev version in an hour, i'll report back :)
@sirmyllox
Could you try this development build and see if it fixes the problem? you may have found a new bug in 0.0.5
@metalhedd
Thanks, its working now.
Tho, im getting this: every now and then in my logs
http://pastebin.com/Fd5wPnw4
cheers sirmyllox
@CommodoreAlpha
What I meant is that in vanilla minecraft, you don't get any XP if the items are removed from the furnace by a hopper, according to Dinnerbone this is intentional: https://twitter.com/Dinnerbone/status/311986283079680001
It's a bit hard to explain WHY this is related to getting XP for salvaging enchanted equipment, but basically, its a technical limitation to the way furnace recipes work, in order to determine an XP value a ton of furnace-related craft-bukkit code needs to be re-implemented so that it can base the value on the source item, not the result.
@metalhedd
I understand why the xp would have to come out at the time the item itself smelts (not when it's taken out of the furnace), but what do you mean by "getting xp for doing nothing"? If you smelt an enchanted item, you're getting an xp return (that's a fraction of the enchantment cost); the xp isn't free in any way.
@sirmyllox
This is properly fixed in the next release (0.0.5), but you can edit your config file to get it working now. By default it's only enabled for the world "world" and if you try to use it in another world it does as you described.
Edit your config.yml and set `world-selection` to `blacklist` instead of `whitelist` and set `world-list` to `[]` that will enable it for all available worlds. You can also just add your own world-name to the whitelist. 0.0.5 is pending approval right now or you can download the development build from here http://mcgitlab.norcode.com:8081/job/SalvageSmelter/lastSuccessfulBuild/com.norcode.bukkit.salvagesmelter$SalvageSmelter/
Hi,
I installed and ran this yesterday cuz i wanted to try it for my skyblock server. tho even items that were really damanged yielded a full return.
As im new to the plugin, is there anything im missing? i had a look at the config and couldnt see any settings needed.
Any help is appreciated
Cheers sirmyllox
@CommodoreAlpha
yeah sorry, I did read your message, but I thought you had changed your mind towards the end of it. I am really not a fan of altering the smelt mechanics that much. Minecraft doesn't give XP unless you manually extract the results from the furnace, if its pulled out by a hopper there is no XP drop. In order to give an XP value based on the item that was smelted, it would have to be done when the item actually smelts instead of when the player removes it, which means they'd be getting xp for doing nothing.
So, uhh, is could you consider the idea of xp return (from smelting enchanted equips)? If you didn't read my last post, I'll reiterate:
"It would be great if experience orbs popped out of the furnace upon smelting enchanted items, with the amount being dependent on the types, amount, and levels of enchantment.
But then again, someone's experience might get stolen. Oh well."
@razorrazor
Sure. I usually add that to all of my plugins, I guess I missed this one :) I'll include it in the next release soon.
EDIT: There's a development build available now that includes "/salvagesmelter reload" I didn't want to hijack the /ss alias since this isn't the sort of command you should need to run more than once or twice, i don't think it needs to be that short. plus there's the tab-completion!
@razorrazor
Also why not add the command /ss config reload (*ss stands for SalvageSmelter) :P
@metalhedd
Ok thanks!
@razorrazor
world-selection can be either 'blacklist' or 'whitelist' which decides how 'word-list' is used. the way to enable it in all worlds is:
world-selection: blacklist world-list: []
Hey there metalhedd ! I need to ask you some questions about the config.yml
In lines 1-2 there is:
world-selection: whitelist world-list: - world
What are the possible options for "world-selection"? (Is there the option "all" or something?)
Thanks
@metalhedd: Yeah, I'm trying to imagine what we could do to make a plausible interface for it, but not really coming up with anything. I was actually thinking of writing a plugin that you just had a command /salvage, and it'd salvage what was "in hand". But your salvage smelter has a greater aesthetic appeal.
I like the smelting because there's a tradeoff there (takes a little coal to get back the raw resources).
@Feaelin
The config file will allow you to set up those sorts of recipes easily. add something like:
BOW: STICK:3
to get 3 sticks from an undamaged bow. I left those out for the exact reason you mentioned, it didn't make much sense to burn a bow and get string back, but you're more than welcome to configure your own server that way. :)
I love the concept of this, I was looking for something that worked along the lines of salvaging in MMOs such as Guild Wars.
Any inclination to add a set of features where you could salvage materials from other kinds of items? Probably wouldn't make sense as a feature of the furnace, but I'm imagining being able to say, salvage a bow and get some sticks and/or string from the bow.