Autocrafter
Autocrafter
Autocrafter lets you turn a regular minecraft dropper into an automatic redstone-powered crafting table. By attaching an Item Frame to a Dropper and placing an item in the frame, it will attempt to craft and dispense a copy of that item every time it recieves a redstone signal.
Features
- Multi-world support
- per-recipe creation permissions.
Commands
- None
Permissions
- 'autocrafter.create.*' - players with this permission can place any item in the frame attached to a dropper.
Tutorial
Для русскоязычных пользователей видео от 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.
Autocrafter Development Builds
Other Plugins
- Build-in-a-Box - self-constructing buildings that can be picked up and relocated.
- Scribe - Transfer enchantments from items to books using an anvil
- JukeLoop - Makes jukesboxes loop, rotate through nearby chests, activated by redstone and much more,
- EnhancedFishing - Adds tons of fishing enhancements including complete control over the bite chance.
- PotatoBombs - Allows players to craft poisonous potatoes into devastating and hillarious magical landmines.
- SilentAlarms - Makes note blocks silent except to select people, who can hear them at any distance.
- Saddlebags - Adds an inventory to saddled pigs.
- Compressors - Turn hoppers into 'block compressors'.
- SalvageSmelter - Allows furnaces to smelt down tools and armor.
@metalhedd:
Thank you for the quick response. There's only 2 additional worlds and they're both relatively small; one creative, and one IsleWorldGen world.
Oddly enough, I see the following in my log
Then during the same reload, I see this:
But later on when I did another restart, I don't get a message for Loading Autocrafter, just enabling it. Again though, there is a 9 second pause between messages:
I just now did a stop and then a start and posted the log so you can see what other mods there are. Perhaps there is one interfering?
http://pastebin.com/raw.php?i=TEV26J05
@TarmacFFS
AutoCrafter should have NO impact on server startup time. The size of the world, and number of autocrafters in it is not a factor. the only work it does at startup is to scan the list of worlds, and the list of recipes in the config. do you have LOT of worlds?
I have a question. I've installed this and I do really like the plugin and the implementation, but I'm curious as to why it's so resource intense.
I haven't experienced memory usage like I have with this plugin, and it adds 11 seconds to my start/restart time. I restart in about 20 seconds without it enabled and about 30 with it enabled.
My server's world save is about 300 megs zipped, so I know it's a huge map, but we only have 1 autocrafter on the entire map.
Any ideas?
Thanks for the clarification. :)
@kreezxil You just give the player a single permission node using the Material names from bukkit eAutocrafter.create.DIAMOND_SWORD or autocrafter.create.LEATHER_HELMET. if the player is op you have to remove the autocrafter.create.* permission from them before adding the others.
Can you provide an example of permissions use where only a specific recipe is used?
Thanks! I appreciate the quick response & fix. I re-read my initial post and i apologize, i sounded kinda snobby.
I might be interested in contributing if we find out that there's still a bug, or this fix causes another bug (as we know they often do), but for now if it ain't broke don't fix it.
Besides, I tested it out and it's working just fine. So now to build my cake factory! :D
Thanks!
@MerlinofMines
I fixed the hopper issue in dev build #17 and closed the ticket on github. Feel free to reopen if it you have a problem with the fix. I also left some comments regarding the event handler refactor if you're interested in contributing.
@MerlinofMines
Thanks for the feedback, It's been a long time since I looked at the source of this plugin, but if I remember correctly there is a subtle but important difference between the InventoryMoveEvent handler and the BlockItemDispenseEvent. The majority of the code is the same, except for one minor difference, so there is probably some cleanup to be done there but It's not quite as simple as it looks.
As for the hopper problem, I don't remember that ever coming up during development, but it sounds like you're right. The event handler doesn't check which side initiated the event. I'll try to get that working today after work and I'll get a new dev build up asap.
Hey I submitted a ticket. I want to be able to create a cake factory, but I ran into a problem with autocrafter where hoppers are not able to pull items from a dropper that is in use as a crafter.
As a side note, you might consider refactoring the onDropperFire and onDropperMove methods, which appear to do the exact same thing.
Let me know if you need clarification or suggestions for bug fix / refactor.
Thanks
My mistake - was not enabled for my world. Thanks Metalhedd !!!
GREAT plugin !!! :-)
@DrEngine
Check the config.yml and make sure you have the plugin enabled for your world(s). by default it is only enabled for 'world', 'world_nether' and 'world_the_end'
Also check your permissions. you'll need autocrafter.create.* or one or more of the specific item permissions like autocrafter.create.iron_sword etc.
If neither of those solves the problem, upload your server.log file demonstrating server startup and an attempt to autocraft an item
EDIT: Also, make sure you're using a dropper, not a dispenser EDIT2: If you're running craftbukkit 1.7.2, try updating. The early dev builds of CB1.7.2 had a recipeIterator bug which breaks this plugin (and many others)
hi, it doesn't work (RS activation drops randomly ingredients - standard dropper behaviour). Item frame including item put on dropper side.
- bukkit 1.5.2-R1.0 - Autocrafter V0.0.4 or V0.1.0 (none works)
Whats wrong please ?
Thought I'd post this to confirm to anyone else. This still works on 1.6.4, and at this very moment, I'm using Spigot 1.7.2 Dev Build 29 and works beautifully.
@rover
you dont' even need the dev build, the current release version work fine with 1.6.2, i'm going to update the page to reflect that now.
I know i've been posting on a couple of your other plugins aswell, but..
1.6.2 status? Or does the devbuild work fine for now? :)
Just done a showcase for this plugin here: http://www.youtube.com/watch?v=q46T_K2fgxU
@TankMissile
Phasesaber's problem was that he had no permission plugin.. the autocrafter node doesn't default on for op's like most things, you need to explicitly give the autocrafter.create.* node, ops won't get it by default. can you double check that? it's the only reason that message would ever print.
Hi, I'm getting the same problem as Phasesaber, where it tells me "Sorry, you don't have permission to create an Autocrafter of that type." even though i'm an admin and have the node for it. I'm using bPermissions
@metalhedd
Hmm, too bad. At least thanks for trying, solved with another plug-in.
For now I'll keep this plug-in installed too, could be handy with other projects maybe :)