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.
@batlham
Alright, I think I understand now why the placeholders. If/when the API becomes stable I might look into plugging the Fabricator into it. With all the bells and whistles that this recipemanager can do, it might be really complicated though.
@ Lyneira I asked him why he does it with place holders. He commented. http://dev.bukkit.org/server-mods/recipemanager/
He explains it better than I could.
I wish it was just bare bones adding a recipe... but then his plugin does some really cool things.
I also asked if he would make a bare bones recipe manager. Without the bells and whistles, just using the bukkit methods. He is thinking about it.
As for the api.... its not ready yet. I saw he is missing an event or two.
@batlham
Which part of it doesn't work? If RecipeManager just adds recipes to the global bukkit recipe list, they should work as normal with MachinaFactory. What doesn't work at the moment is defining additional fuels that factory components will send to the fuel slot of a furnace.
Great plugin!
Currently there is only ONE working recipe mod. However, it doesn't work with your mod :( He made an api. Can you think about hooking into it so it works with MachinaFactory.
http://dev.bukkit.org/server-mods/recipemanager/
If its loaded MachinaFactory only produces dead grass :(
P.S. MachinaPlanter freaking rules :) thanks!! its saved me ALOT of time.
i made a great tutorial for this plugin come and watch it!
http://www.youtube.com/watch?v=2g7coWUpiuM&list=UUUMKl1LVgwJBa9_SAJVpEMg&index=1&feature=plcp
@MattSheridan @kaovalin @bluehasia
Thank you all, I'm glad you appreciate the mod! And of course I do plan to convert this mod to the official Minecraft mod API when it is out. :)
me and my friends have never giggled in excitement over a plugin before but this one did as we watched all the machines work and do there magic........
great plugin !!
Great work on this plugin. Nice seeing the machines having the options for fuel/tool usage in the latest release.
Wow. This is a completely incredible mod. So far, I've only played with the drill, hoverpad, and factory, but MachinaCraft is already proving to be the best Bukkit mod I've yet tried. MachinaFactory in particular is utterly amazing, and has the potential to offer a minigame with the same complexity as redstone circuitry (with, in my opinion, even greater utility).
This is great stuff, Lyneira. I hope you continue to maintain this mod in step with Minecraft and Bukkit's updates, and add more machina when you can.
@nickdatrick9
MachinaCraft is made up of multiple .jar files so they're packaged in a .zip file. You'll have to unpack it with an unzip program and put the .jar files for the machines you want in the server plugins folder. The plugins should work after that.
In case you're not sure what to do after unpacking there's also a readme in the extracted folder.
How do you download this, I just put the zip into the plugins folder and it generated a folder, but does not read it. It doesn't even say anything about the plugin like its not even there, I think its because its a .zip not .jar.
@ToddVee
That's an amazing factory! Great to see the mod being used to its full potential :)
Hey,
this time I want to show you guys whats possible with machinacraft connected with signshop. This is a big big thanks to Lyneira for this awesome plugin and a factory like this would not be possible without it!
factory from top factory from below control room
From top you see the pipes, from below you see the redstone lines that would power the torches in the control room that serve as an optical signal if the machine is running or not. Also in the control room: signshop signs that activate the machines if right-clicked. The factory automatically produces pistons, sticky pistons, redstone torches, repeaters, note blocks and dispensers.
ToddVee - Admin @ Mine-City.de You are very welcome to join the server!
Cool idea! A truck. :) However, it will have to be able to handle elevation changes. How about 4 double chests sitting on the HoverPad.
I was here to post another idea. I looked for over two hours looking for a plugin to sheer sheep, or handle other animals. So I am turning to the best machine plugin for bukkit.
We need a machine for dealing with animals. If it has shears it shears sheep. Buckets milk cows/mooshrooms. Bowls milk mooshrooms for soup. A sword will butcher animals.
It would harvest any animal that is moved through by water way, rail cart, just walking through, or leading them with wheat.
It would be nice if it doesn't have a fake player like the redstonebridge.
Here is a concept of the idea. I added the redstone lamp as a on/off sign. The bricks should allow any block between them if needed.![Screen Shot](http://s16.postimage.org/5g62pk5r7/2012_05_24_01_56_11.png)
awesome plugin but i have a suggestion for a hulling machine/vehicle for moving large quantity of stuff long distances without a pipeline. basically like a semi truck. thanks in advance
@hopbla
It's probably a plugin that does something odd when a player opens an inventory. MachinaCraft simulates that for the drill to ensure it's not hijacking a protected chest.
@Llywylln
Could make the drill check right in front of it as well since that would seem somewhat more intuitive for it.
I went back to the drill and tried it again, I discovered that the drill wanted the sigh to be a block lower than I had expected. So, when the builder arrived, it hit the stigh and stopped because it was at the wrong height.
Suggestion, when a machina is checkking for a sign, could you have it check a few blocks up or down or the centerpoint? Maybe even add a config option for how far you want it to look for signs, in case it involves lag...?
EDIT: The pump works and all but the Drill and Builder don't. Idk why put everytime I go to use them, the lever switches the chest open instead of activating the Drill or Builder.
Found a weird problem I am using Recipe Manager to use custom recipes. I have a recipe to turn coal ore into coal. Mainly because the MachinaDrill gives me coal ore. Well when I use that in MachinaFactory it takes the coal ore and gives me a ton of dead grass. So I tried logs into wood planks... more dead grass. :( Using the newest version of both.. and CB 1.2.5R2.0
I issued a ticket on recipemanager because traincarts crafting sign wouldn't work either. Its got to berecipemanager's fault I guess.