MachinaCraft
Plugin under development!
This plugin has not been updated since MC version 1.5 so some if not all features will not work. While I find the time to update and expand it please use starcomedon's fork of this same plugin. you can find it Here!
What is MachinaCraft?
MachinaCraft is a framework for machines made up out of blocks, activated by right-clicking on a lever. It is modular and includes several plugins that can make repetitive tasks easier, such as digging or building in a line, even placing and clearing bodies of water. Because it is modular, other plugins can also use MachinaCraft to make their own activatable machines.
How do I build a Machina?
Similar to crafting something on a crafting table, but in the game world. Place blocks in the world in a predefined way and put a lever on the right block. Rightclick the lever, and if you built it correctly, the Machina will activate.
A demonstration please!
- Plugin Showcase by WoopaGaming
- A video series in German by BukkitDE - 1, 2, 3
Machina Plugin Info & Permissions
These are the Machina plugins available right now, included in the download:
- MachinaDrill
- MachinaBuilder
- MachinaPump
- HoverPad
- MachinaFactory
- MachinaPlanter
- MachinaRedstoneBridge
On their respective pages you can find pictures, instructions how to build them, and the permission nodes available for them.
Plugins that work with MachinaCraft
- SignShop 2 can activate a machina with a sign, possibly with a cost.
Permissions
To enable all machinacraft permissions at once, replace your server's permissions.yml with the included permissions.yml. (or add the contents if you already have something there)
This works even if you do not have a permissions plugin.
If you do have a permissions plugin and want more control, you can change the default in permissions.yml to 'op' and use the global permission node:
machinacraft
Troubleshooting
Are you having trouble getting MachinaCraft to work? Take a look at the Troubleshooting page.
Anti Cheating Plugins
Does your server use an anti cheating plugin such as NoCheatPlus? See MachinaCraft and other plugins.
Plugin Developers
MachinaCraft allows other plugins to register a blueprint for the Machina they implement. When a player rightclicks a lever, MachinaCraft will ask each registered blueprint to detect itself at that location. If successful, a new Machina is created from that blueprint.
MachinaCraft will periodically ask the Machina to check its integrity, and if successful send a heartbeat in which it can take action. The Machina can inform MachinaCraft when it should receive the next heartbeat, what its new location is (if any), or deactivate itself.
Included is an optional framework that:
- Simplifies specifying the blueprint
- Implements the integrity check for your Machina using the above blueprint
- Can move a Machina 1 block up, down, north, east, south, west
- Can teleport the Machina to a location
- Can rotate the Machina
- Can detect collisions for move, teleport, rotate actions
- Supports blocks that have additional data such as torches, levers, rails, and blocks with inventory such as furnaces and chests
- Support for optional modules.
Plugin developers looking for an example can take a look at the code for MachinaCraft.
On Hiatus
Short version: I'm on hiatus from Minecraft and developing this plugin, but the source code is available for anyone who wants to fork this and continue development.
Long version: As some of you may know, I haven't updated MachinaCraft in some time and I wanted to explain a little bit. Minecraft has taken a back seat for me in the last couple months. Also, the server I play on is Forge-based rather than Bukkit-based, which means I haven't been able to play with the results of my own plugin for a long time now. That has been a real motivation killer which is why there hasn't been any real development activity.
So it hasn't been an easy decision but I'm now officially on hiatus. My apologies to you who were hoping for more updates and even more features or cool machines - unfortunately I won't be the one implementing them. The project is open source however, and I hope there is someone out there who is willing to pick up the torch - you've got my blessing if you do.
Last but not least, a thanks to everyone who visited this site, helped out others with their questions when I wasn't around to answer them, or just had fun with the plugin! :)
To plugin developers
You're free to fork the project and continue under a new name, or use this project page to release an update, just contact me and I'll add you as an author. If you do want to pick up development I'd be happy to give some pointers via PM or irc (#bukkitdev) to help you get familiarized with the code.
The source code is available on the repository under the machinacraft4 branch.
@MGbeenieboy
You're right it takes about 1-5 days for me.
@starcomedon
Thanks! Finally :3 But 3 months?! That can't be true! Even if this was your first project.
@starcomedon
In my experience The larger the file the longer it takes. This is for every file not just the first one. they proof read it to make sure you aren't doing anything malicious. A way to get around this is put a "direct" download link. Just make sure you don't put it somewhere that give you money because thats not allowed.
@qhenckel
Thanks for the link. I've got the update posted. Unfortunately I was told by a moderator that it can take up to 3 months to get a file approved. That seems long and I would think a lot of plugins would be obsolete by the time they were available for download. Maybe that wait is just for the first post of a project ?
Dark Oak
Someone had mentioned that the drill was unable to drill dark oak. If that's your thing then the updated core jar should do the trick.
@starcomedon
Hey nice work. I added a section to the listing providing that link (if that's fine with you.) still swamped with life. sorry guys. thanks again.
@Trekman
Thanks for the feedback, I'm glad you were able to get it working. I've just forked this project and created a new bukkit plugin called ToolWorx. Right now its just the same machines that I am trying to update but I've got a few idea for more. The Drill can now mine dark oak and the redstone bridge rewrite is in there. You can get the update as soon as the file is approved
@starcomedon
Thanks an AWFUL lot for the Redbridge hack...it works like a charm now that I switched from PermissionsBukkit to PermissionsEx (might be a coincidence though).
The broken Redbridge was my main issue. Diggers still work sufficiently since I do not need to grab post-1.5 blocks....being unable to harvest Dark Oak in my tree farm is acceptable :-))
@MGbeenieboy
I've got planters , a drill , the paving machine and several relays of different types running on the latest CB build. I really wanted the planters to start automatically with a daylight sensor and that's when I found the redstone bridge didn't work. it wasn't too bad to update the code there. The newer version of CB had a different player structure and the way the redstone event was reported had changed.
@IvanSokolovBG
really? for the 1.7 it's not working for me
@mm75 oh c'mon :@
well, one doesn't take over a plugin if he can't keep it updated
isn't that right?
@starcomedon for me it's still running. atleast i'm sure for the drill and the hover pad
but nobody knows when the plugin will stop working =.=
it can happen in the next craftbukkit update...
I have this plugin installed on bukkit 1.7.2 and everything except the redstone bridge seems to still work fine. I was able modify the MachinaRedstoneBridge class and get it working. I forked the repo and committed the change here
It works on my server but the machinacraft plugin is the only one I have running. let me know if anyone else gets it working
@IvanSokolovBG
i was talking to him a while ago. he said he will update his plugins first and then he will work on it. He is working on it but not very hard. His suggestion is not to wait on this plugin. Kinda sad :(
@qhenckel
we're waiting :'(
@qhenckel
hi!
it's been a mouth and a half since you said you are taking over the plugin.
not cool keeping us uninformed.
i am asking you for one thing:
just tell us are you REALLY going to update this awesome plugin or not, so we know can we count on it, or look for other ones.
this is a really needed plugin...many ppl use/used it.
Update to 1.7?
Please only up date the plugin and Keep the Bugs Fixed. Thank you! This plugins has avery thing it kneads.
PS Torrent yes a torrent it could shoot fire, potions, arrows it would be nice when u got spare time to make one the other shooting torrent plugins lack or are to op.
@qhenckel
Hi!
So how is it going with updating the plugin?!
It's been a month since you took over the project.
I really love this plugin, i run a server that I and 5 friends play on and use this to increase the efficiency of our world while maintaining the survival qualities. Mainly we like to build very creatively but feel creative mode really lacks any challenge. My only problem with it as we speak is that the planter harvests adult plants but does not remove the adult plant. I.E. it will plant all the available seeds, then when they are fully grown i run it to collect them, it does collect the product correctly but the adult plants stay. This means that once you let any crop grow you can harvest it infinitely. No longer efficiency, just a cheat :( . given that everything else still seems to function as expected I'm massively impressed with this plugin which hasn't been updated in so long compared to the server it's run on (craftbukkit-1.6.2-R1.1-20130911.072217-2)
Here's hoping you get this back up to spec qhenckel. Many thanx in advance.
@qhunckel
YAY! Can I be your Idea Maker and tester? I have few ideas and this plugin is widely used on my server and by me.
Example ideas:
- Cargo lift (lifting chests up and down)
- Heat generator (preventing from creating snow and ice in xx distance)
@qhenckel
YAY - thanks dude !!