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.
Hello guys, I have a problem with machinacraft at minecraft 1.5.1..... it doesnt work :( i have put all jars in the plugins folder and have running my server. Than it installed the machinacore,machinaplanter.... folders. I go ingame and it doesnt work.... i habe groupmanager but IT DOESNT WORK :(( please help me
@Lyneira
When I turn on the lever, machina planter built in 4.1.13 version doesn't move, and furnace doesn't 'light', however machina factory and other machina plugins works properly except machina planter and redstone bridge. Machina planter built in 4.1.12 version also works properly. I will try to record a video with this problem. I started a new server with only machinacraft plugins and also machinaplanter and redstonebridge doesnt work :(
is there a way to prevent these machines from tunneling into another factions territory [using the factions plugin]?
@pnndzwdz
I've been using the same planter setup to test for ages now, it's working fine for me in 4.1.13. As well, "It doesn't work" isn't particularly helpful for guessing what might be wrong :(
Regarding Redstone Bridge, there really isn't much inside the Redstone Bridge plugin that could break - I just keep the fake player updated with Bukkit's new player methods. If you have an issue with machines refusing to activate from redstone, it's almost certainly related to permissions for various protection mods.
Hi, I downloaded a new version machinacraft and When I build a new planter, it doesnt work. The older planters working great. Redstone Bridge also doesnt work as well as 4.1.12 version. In the config.yml I added the permission lwc.mod (all chest access) and worldguard bypass permission but it doesnt work even if I build outside the worldguard cuboid. Please help me ;D
Hey all,
I've finished the planter rewrite and fixed a couple bugs I found in the process as well. I've uploaded a release for CB 1.5.1 beta, you'll be able to download it once it gets through approval. :)
Also, you can now use the planter to farm cocoa beans! Just make sure there are jungle logs next to the spots where you'd like to the beans to be planted.
Hey everyone,
A little update: Although there's sadly no beta build out yet, I just wanted to let you all know I'm working on the infinite planter issue. I'm rewriting the internals to make the handling of the different crop types much easier to read and maintain, so it'll take a bit longer than a quick and dirty fix would, but it's going to be fixed. :)
@NLPhantom97: You can configure the drill and road builder to require a tool in their furnace's top slot. The roadbuilder will need an iron pickaxe, and the drill will require a pickaxe of the same material as its head. They will use durability from the tools for breaking blocks.
Could you add a feature that the head (either the Iron Block or the Diamond Block) breaks after a while, 'cause now if people have alot of coal they can just keep on filling the machine.. The Diamond head should have more durability than the Iron Block of course.
Thanks!
By the words of Lyneira, MachinaCraft will hopefully update when bukkit hits Recommended Build.
Lyneira is currently seeking for someone who could continue working on MachinaCraft independently.
I've used this mod for many revisions, it's always great, I'm glad Mojang is integrating parts, still very worthwhile to have, mining machines are great !
The NightPotion dont work in MachinFactory. Please help me. :(
Does it work with 1.5.1?
pls make this can bypass world gard
@Mhjort
We have the same issue. Seems that block-type crops work ok, but wheat and veggies are a little glitched.
@Lyneira
Thanks for updating. I still have issues with machina planter tho. It still doesn't break crops from the ground. And now when it harvest carrots, it replants fully gown seeds :)
@UraniumCraft
it should do fine, but i would reccomend waitng for the new update once Lyneira has completed it. You may need to change/add some block definitions for drills.
Hey everyone - there's no recommended build out yet for 1.5, not even a beta build. Still, I decided to have a go at updating MachinaCraft to the latest Bukkit development build I could find. I've done some rudimentary testing and things seem to be working but I'm not going to be uploading it in the official files section until I can verify it against a beta or recommended build.
Aside from a magic number change for recipe recognition I only needed to teach it about the new blocks from 1.5, so I'm not expecting much trouble.
For the adventurous you'll find the updated version attached to this post, but don't blame me or anyone else in the unlikely event that my plugin or the CB development build somehow destroys (a part of) your world. Remember to backup your world. :)
If you do try this release and find an issue that you're sure is related to MachinaCraft, I do appreciate a report but I can't promise I'll fix it before a more stable CraftBukkit. Enjoy!
@fungreenfox
it doesnt remove/change blocks seems like there is something to do with permission to destroy world blocks. EG: Harvester will do till, plant, bonemeal and do it all perfectly but when harvesting it will not break the crop from the ground but the chest will fill up anyway.
Hope theres an update soon everyone love this plugin.
machina v4.1.11 for CB 1.4.7 doesnt work with 1.5.0.
@maybeitscool
hmm i thought u can already do this with machina redstone bridge, i never tried it out, but that's what i thought it was for