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.
Im guessing this plugin doesn't work with tekkit or does it???
I wish this plugin had an energycraft/ee type machina :D Either way, always amazing, and awesome support/resolution. One of my favorite plugins since I started playing.
cool
@maybeitscool
Did you see the RedstoneBridge machina?
Hello @Lyneira,
I have a question and something to say. Question: Can you replace the lever with redstone, to activate multiple machine's a once? Something to say: This is the most awesome plugin that I've seen so far. Keep up the good work!
Best plugin for adding Machines to the game i have seen. and with no commands and the simple builds make it easy to memorize them. I rate this 10 of 10.
Hello,
im using PermissionsEx. Can someone help me with the Permissions Please.
sorry for my Bad English
@LC14199
my bad, missed that part in the config. Thanks. - Though it would be great to customize the amount of coal that is used in the whole process.
EDIT: Only found the line "fuels section: Specifies the burn time for an id in ticks (20 ticks = 1 second)" How would you use it? I'll try to test it with values like "fuels section: number" but guess this won't do.
EDIT2: Okay think I've found a way, but it's not described that well in the config. In the MachinaCore config this should make coal run for 20 seconds. "fuels: 263: 400"
Isn't using a pickaxe for the drill already do-able in the config file?
This plugin is simply awesome. Regarding the Drill I have 2 questions: -Is there a way to adjust the coals needed for e.g. the drill ( I think it should take more coal).? -Would it be possible to setup the drill with a pickaxe which determinates the durability of the drill (similiar to the Planter's hoe)?
Gratz @Lyneira for still updating this mod. Going to pick it up again for server :P
Anyone else having trouble with the machinabuilder? for me it never goes past building one row of blocks, both the regular version and the bridge version
with the update of bukkit, do not work any more permissions: ( Please do the following in order to able to do max. number of machines. Please connect with iconomy, and do this, it will be necessary to pay for the drive rigs.
@Lyneira
thank you for your reply
I don't know if this has been asked (or done), but is there a way to make a machina that acts like the drill and builder at the same time? say, set something that will build a level path and also drill thru a mountain it comes across. Or even cooler, something like a tunnel builder? i dream of something that can go across the seabed and make a glass tube you can walk thru.
@Byamarro
Yes, worldguard regions protect against the machines with griefing potential like the drill and builder. They act as agents for the player who activated them (or a fake player if redstonebridge-activated) when they break blocks. Be aware that if you use anti cheating plugins you may need to adjust a few permissions for them, see the link for anti cheating plugins in the project description above. :)
@KaMiKaZbagdad
Sorry, I've already tried to resolve this some time ago with the developers of Spoutcraft, but Spoutcraft's design is fundamentally incompatible with non-CraftPlayer objects given to events as Players.
hey ! MachinaRedstoneBridge is not compatible whi's spoutcraft ! can you help me please
Any support for WorldGuard regions?
@Lyneira
tyvm for the update :D Its very much appreciated.
@h0us3cat
I'm not dropping the plugin like a brick, I'll keep it working as-is for the foreseeable future, probably until the mod API has replaced Bukkit. (No idea what I'll do when that happens since I don't know exactly how the mod API will work compared to Bukkit) But I did want to get the word out there that MachinaCraft is looking for a new developer.