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.
Yay another plugin that is dead...
Hey all,
Sorry for the long absence without any notice, I know some of you have been waiting for an update for a while now. I do have some good news: I've updated the plugins for CraftBukkit 1.4.6, the drill and builder should work again now. :)
Unfortunately I also have some bad news: I'm pretty much burnt out on bukkit plugin coding. That means the MachinaCraft rewrite I had planned is on hold indefinitely and I won't be adding any new features to the current MachinaCraft. I may occasionally do an update to keep the existing plugin up to date and working with CraftBukkit.
The project is open source however, so if you're a plugin developer and would like to continue development of this project, that would be very much welcomed. If you're getting started with the project and would like some hints or some help, feel free to PM me on IRC, or you can find me in the #bukkitdev channel.
@Mostly1 its not in the id's of the chests because is you use for example give name 54 1 in this instane 54 being a chest you will get a chest but the new one so the id is the same .
But i still think the problem is in the chest thoug.
did the creator of this plugin die or something? lol. I hope not.
@mystikite
It seems that only machinas with a chest in it don't work since 1.4.6.
Maybe it has someting to do with the chests looking like christmas presents? If those chests have new IDs, Machinacraft may not recognize the Machinas because of this.
This would also give no errors, there simply is no drill, because of the right chest missing.
Edit: Forget what i wrote. I did not check the MachinaPlanter... - It works and it has a chest in its blueprint... I wonder, why HoverPads still work...
After I update it to the newest one, nothing woks. Running a 1.4.5 R1.0 Server. Because I saved all my old Servers I can say, on 1.4.2. it works well. No new Plugins are installed. No Error is generated and the stove is not lightning nor any IC is working.
It appears that Machina are broken in 1.4.6?
It doesn't give any errors on console.. but Drills and such simply don't work.
Also, have you considered making Drills honor WorldBorder boundaries?
Our servr have got machina craft plese add servr ip: 93.91.250.117:37845 in Czech Republic
is this plugin updated for 1.4.6?
@minecraftservermanager Click the link above that explains MachinaRedstoneBridge.
I haven't personally tried it but there is a set up called "Always-on Item Relay".
Might do what you want.
Ignore the picture, the format changed from what it was supposed to be.
It would be nice if you could make the factory more efficient. I am using it to sort what is in a chest into individual chests. Right now I have to use a chest to sort from, a switch to pull the stuff out, then go to a item splitter which allows one item into a chest and everything else passes on to another chest to collect. Then another switch to pull from that chest into a splitter which allows one item into a chest and eveything else passes on to a chest to collect. So on and so forth. The setup works but the switches reset so often automatically that things collect in the chests before they can get to the final chest. I am using the redstone bridge to control all switches but the first one. So I am constantly resetting the redstone switch. when you use more than one machine you need a chest to collect into them a switch that pulls from the chest to move it on.
Picture:
FIRST CHEST
SPLITTERTRANSFER CHESTSPLITTERFINAL CHEST I I CHEST CHESTIdeas: 1. Make the switches stay on until you turn them off. no resetting! runs constant! 2. Make it so I can get rid of the extra chests. Allow things to flow from first chest to splitter to splitter to splitter or from chest to splitter to splitter to furnace or crafting table. Which also speeds up the process of sorting! 3. Permisions to allow different speeds of the driller. example: Donator can run a faster drill machine.
An option to reload the plugin(s) would be nice.
well i got it to work somewhat, by de-opping myself, i was able to flip the switch, but i instead got a message saying that i dont have permission to use it.
so im guessing its actually a permissions problem, since there are no other plugins installed
@Lyneira
so does bukkit have some kind of built in protection, because im starting the server from scratch and it still does not work
i hate to be a burden or repetitive, but i would really like to get this to work
@aussie1579
It doesn't work like that. Plugins just ask bukkit "hasPermission(...)" and gets the answer. Plugins need to register the permissions they use and their default values (everyone, op, not op or nobody) in their description file. You can't switch those on and off with a config option.
@robotnikthingy
You're getting a flickering furnace? That means the machinacraft permissions are fine, but another plugin is blocking them from acting. Area or Inventory protection plugins can cause this (by design), but also anti cheating plugins. See MachinaCraft and other plugins if you use an anti cheating plugin.
@Maldiablo
I'm not sure. You could try, you would probably get a couple exceptions as it tries to set up the block data for 1.4 blocks, but most of the machines ought to work. Notable exception would probably be the planter with its support for carrots and potatoes.
With all that said I'm leaning in favour of defaulting the permissions to allow in the next release, because of how much it can shorten / eliminate the troubleshooting process. Thanks everyone for your thoughts :)
I just cannot get this plugin to work. i FORMATTED my server and started all over just to try to get this to work, and ran only the machinacraft plugin with included permission file, but still the furnace just flickers when i hit the switch
@Lyneira
To the creator of this plugin, can you please include a debug option, i REALLY want to try this plugin but it just refuses to work and i dont know what else i can possibly do
I run a spout server so in order to allow spout clients, my server's stuck on 1.3.2 until the spout devs add all the 1.4 changes.
That being said, could I use the latest version of this plugin on a 1.3.2 server or should I stick with 4.1.6 ?
Anyone having problems with this and 1.4.4? im just wondering if its that or something else thats not making machinacraft work correctly
@Lyneira
I'm in favor of defaulting to allow everything. There's nothing in MachinaCraft that I don't want my players doing.