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.
Great Job with the skip block, Thanks!
I ran into a small issue with the Machina Drill toady. It drilled right through an arrow sign and it wouldn't respond to the stick turn method that the other machina do. I was using a diamond drill bit on a level surface (to flatten an area for building.) and after it drilled my sign, I stopped it. I replaced the bit with an iron bit and tried to turn it with the stick. It actually mined the lever right off. So, it seemed buggy I figued I'd report it.
Hmmm... maybe a Machina Leveler for flattening areas for building?
thing is... please make it possible since what you proposed doesn't work for me. No way to get things from a chest to a furnace /several furnaces. simply doesn't work for me. I could also upload a pic showing how I construct things but I really do it as you have.
@ToddVee
It's possible, but connecting a pipeline to a maxed extended furnace from behind will force you to keep a distance from all the furnaces.
@Lyneira
affirmative, I am sending items to a lone furnace. If it really is an issue having both, a single and a bunch of furnaces, I would say leave it as it is because it is much more likely to use a bunch rather than a single furnace. If it is, however, possible then for the sake of freedom of choice =) re-add it.
@Raydna3
Some sort of drill on a crane that uses fences as a rope perhaps... Might be an idea.
@ToddVee
Ah, I'm sorry... Are you sending items to a furnace as an end point? When I added the extendable furnace relay, I removed the lone furnace as an end point to make it easier to connect to a max-size extended one.
You can still do automatic smelting by connecting to the core block of a furnace relay rather than the furnace itself. Is the lone furnace used a lot as an endpoint on your server?
@Lyneira
I'm sorry but I don't see what I'm doing wrong... Now, sending items from one chest to another works. But with a furnace, it does not. How come? As I told you before, I'm using gold block instead of brick and wool (to be precise white wool) instead of wood.
chest to chest ...ok! chest to furnace ...not ok! chest to dispenser ...ok! chest to splitter ...ok!
I really don't see what I do to cause this.
You should make quarries that mine the way the planters work because it's a pain in the ... to climb down to the vertical digger
I love you
@Taeila_Fae
Impressive :D
Just wanted to show you what my players did with the factory / sorting. :)
@thisismydecoy
You can also use a chest, dispenser or furnace. Drills won't break blocks with an inventory. :)
@ToddVee
Just tested on my own server, worked fine with an item relay with a gold block as the core and green wool as the pipeline to a chest. The moving part of the item relay counts as a pipeline block too, just in case that wasn't clear. :)
@thisismydecoy
A puddle of water/lava will do.
Quick question, is there a way to halt a vertical drill at a specified point? Say something like a sign that says "stop". Just curious.
Great mod!
hey,
I changed factories items to: pipelines id:35, core id:41. The plugin, however, takes its defaults and does not identify machines with the "new" materials. Did I miss something?
edit: anyways, the pipes don't transfer anything, maybe because the pipes are expected to be wool, not wood. but I am just guessing. The redstone signal does also not work properly.
bukkit 1.2.5 r1.4 8it this the problem?) machinecraft latest version (it worked in previous versions)
<<reply 693420="">>
Honestly all of them because what I have put in seem to not work, I was hoping to get them from someone who is using gm.
@ToddVee
Hi ToddVee, glad it's working with the new anticheat permissions. As for crafting permissions, I'm not sure how easy this is to check from a plugin but I'll have a look.
hey Lyneira,
back on track with a new anticheat+ plugin, people can use machinacraft without being able to cheat (as it is the case with the old "anticheat")... quite a lot config settings to set, but its working fine now. glad to be able to use machinacraft, again.
aaand I've got a question, suggestion or whatsoever... would it be possible to check whether or not the player that activates a machina, esp. factory, is allowed to craft a specific item? (cf. craftguard). the motivation is that on rpg servers, ppl are not allowed to craft everything. there are special professions and therefore it should not be possible to craft anything except items that are allowed for the certain profession. e.g.: only a carpenter can craft wooden steps. so noone else should be able to, not even with the help of an automatic crafting table, produce some. possible? =) craftguard covers permissions, but with a machina, I can still craft everything.
@TheCoCE
This is already possible, have a look at MachinaRedstoneBridge.
@acer2020
Can you please explain in more detail what you're doing? Items to be used for the crafting go in the item relay's chest, the chest for the fabricator needs the recipe laid out on the left hand side.
is anyone gonna answer me