RailDriver
RailDriver
This plugin provides a player with the ability to build a coal powered mining and railroad construction machine!
NEW FEATURES
- RailDriver has same break/build permissions as the user who started it
- Respects WorldGuard regions explicitly
- Respects all blockBreakEvent intercepting anti-grief plugins
- Won't break bedrock or obsidian
- Stops all user owned RailDrivers when user logs out
- Creates proper drops for mined blocks
For Players
Construction
To build one, the player must assemble a specific pattern of rare blocks.
- 9 X Diamond Block
- 9 X Sticky Piston
- 19 X Iron Block
- 4 X Redstone Repeater
- 2 X Redstone Dust
- 2 X Switch
- 2 X Dispenser
- 2 X Furnace
- 1 X Chest
The first layer
of blocks is layed out like so, with sticky pistons facing forwards and furnaces facing backwards:
The second layer
begins shifted one block forward from the first. Notice the four Redstone Repeaters all facing forwards:
The second layer is completed
with dispensers facing backwards:
The third layer
starts with a mirror of the bottom layer. Note the helper cobblestone block that will need to be removed:
The power row
is composed of the Redstone and Switch to drive the pistons. If you throw this switch it will activate all the pistons, but make sure it is in the off position before attempting to start your RailDriver!
Complete
your RailDriver by adding the backwards facing chest and the activation switch:
Operation
Once built, the player can activate the RailDriver simply by throwing the switch on the rear. A RailDriver will dig a three by three tunnel, laying a foundation of stone brick with a single rail in the middle. Every eight blocks, the RailDriver will lay a Power Rail with a Stone Brick column on either side, a Redstone torch on one to power the rail, and a regular torch on the other for light. To keep the thing going, the player must provide a steady supply of coal and building materials. All of this happens in two operational phases.
Drilling Phase
When activated the RailDriver will immediately enter the Drilling phase. Fuel for this phase comes in the form of coal or charcoal which must be loaded into the furnaces. Every drilling phase will consume 1 coal from each furnace (2 coal total).
The diamond drill bit will piston into any blocks in front, drilling the next stage of the passage, and ejecting the removed blocks from the rear dispensers.
Normal Laying Phase
Once drilling is complete, the RailDriver enters the Normal Laying Phase. Supplies needed when laying the foundation and track must be in the chest above the switch at the back of the machine. These supplies are consumed when the RailDriver moves forwards 1 block. During a Normal Laying Phase, the RailDriver needs 3 cobblestone, 2 iron, and 1 stick loaded into the chest.
The RailDriver will use the supplies to create the required items, lay them down, and move forward by one block. You'll notice that due to the RailDriver's extremely efficient design, it is capable of creating a Rail with only 2 Iron Ingots. Amazing!
Power Laying Phase
Every 8 blocks, the RailDriver will enter a Power Laying Phase instead. To complete this phase it needs 9 cobblestone, 3 sticks, 2 gold ingots, 1 redstone, and 1 coal loaded into the chest.
The RailDriver will use these supplies to create the power rail and the power columns.
For Server Admins
Installation
Download the jar here. Drop it in your plugins directory and go!
Configuration
Standard config.yml in the RailDriver directory. Plugin reload is required for config file changes to take effect
requires_fuel option determines if RailDrivers require fuel and supplies in order to operate. When set to false, an active RailDriver will not consume coal from the furnaces nor supplies from the chest.
Commands
rd_stock: description: stock the player inventory with all required blocks for building a RailDriver permission: RailDriver.rd_stock usage: /rd_stock [player] rd_devkit: description: stock the player inventory with a developer kit of tools permission: RailDriver.rd_devkit usage: /rd_devkit [player]
Permissions
RailDriver.rd_stock: description: allows player to execute the rd_stock command default: op RailDriver.rd_devkit: description: allows player to execute the rd_devkit command default: op
@GoldForest
I don't really think you need permission. I'd love a 5 x 5 version, especially if it actually worked in 1.5.1... I think that's the feature people want right now.
when is this going to be updated?
I have a design down for the 5x5 that would work.
Could you make a five by five variant? Or give me permission to make one. I'm going to learn how to make plugins for bukkit and if you say yes, I would like to make a five by five variant of this.
Hope there is a 1.5.1 version soon.
North South and East are all not working. West is the only direction that functions :(
That is funny.. The west one works and the one pointed north does not work.
I will make one facing west to see if it works.
Getting the same "Raildriver malfunction during drill phase!" here. However, I found if my drill faces west it works fine. Go figure.
Yes, I have the same problem: Im getting this error: "Raildriver malfunction during drill phase!" Can anyone update the Plugin to 1.5?
Is anyone having problems with raildriver after the 1.5 update??
I am getting a " Raildriver malfunction during drill phase!' error when trying to start the raildriver. this is a new world and a new driver.
@ globnobulous
Hey dude, any chance of fixing that air block issue? I am dying to use this plugin
this plugin also drops this error non stop lol
Love this plugin. Thank you for adding the World Guard feature. Is there any way you could do the same for Towny?
Is there any chance you could make it so that the chest could be an ender chest? Then it could deposit the items straight into the players ender chest and whatnot.
Also, is there any way it could automatically smelt ores as it mines them since it has a furnace and whatnot and then spit them out or even use the materials it mines to keep on going as long as it runs into the required materials it needs? Like for example maybe you could replace the dispensers with chests and then it would just automatically place the items it mines into the chest and even use them. Maybe even turn the coal ore that it mines just into normal coal?
@badblueheeler
It can already do this as well as turn sand into glass to prevent the lava from reaching the track. You have to edit your config file and place the extra materials in the chest.
http://pastebin.com/Kz1gwYaV
This is great I love it but what I don't like is lava, you need to make it so you can put a bucket of water in the chest and it will disperse it's self on the lava.
I noticed a couple posts to this already, getting server crashes when trying to drop air. 5:05:05 AM CONSOLE: [WARNING] [RailDriver] Task #35 for RailDriver v0.5 generated an exception
5:23:00 AM CONSOLE: [WARNING] [RailDriver] Task #37 for RailDriver v0.5 generated an exception 5:23:00 AM CONSOLE: drop AIR. 5:23:00 AM CONSOLE: namewithheld has left. 5:23:00 AM CONSOLE: [INFO] namewithheld lost connection: user was kicked. 5:23:00 AM RailDriver: Deactivated raildriver 37 5:23:00 AM Server: Server is restarting. World is being saved.
2 suggestions: a. in config file have a block_type for the block it lays (instead of the stone) b. 2 (or 3) speeds, like Hi/Lo or Hi/Med/Lo
the glass feature isnt working please fix
sometime it drill in lava and pop out lava block and sometime it does not.is it a bug or what?
make game crash + plugin stop after a bit
version 1.4.7
we are 2 player near it and after a bit of mining block it make the game crash