MachinaDrill
MachinaDrill
MachinaDrill lets the player build a Machina that moves forward and drills up blocks in a 3x3 area in its path.
Features:
- Activated by right-clicking a lever
- Rotate by right-clicking the lever with a stick in hand.
- Moves forward
- Drills up blocks in its path in a 3x3 area
- Uses fuel in its furnace to run.
- Stops if there is no ground to move forward on.
- Can be directed left or right through signs reading: <-, left, ->, right
- Has a vertical version that can dig straight down.
- Respects protection from region protection plugins such as WorldGuard, depending on which player activated it.
- Fuel usage and pickaxe usage can be configured on or off.
How to build a drill
Materials:
- 3 Wooden Planks
- Furnace
- Chest
- Gold Block core
- Drill Head:
- Iron Block
- Diamond Block - 20% faster, can break obsidian
- Lever
The drill requires fuel, so put anything that a furnace will burn into the furnace's fuel slot. Rightclick the lever to activate it.
To make a drill that digs straight down, build it as follows:
Permissions
permissions: machinadrill.*: children: machinadrill.all: true machinadrill.all: description: Gives full access to using a drill, including deactivating another player's drill. children: machinadrill.activate: true machinadrill.deactivate-own: true machinadrill.deactivate-all: true machinadrill.activate: description: Allows activating a drill. default: op machinadrill.deactivate-own: description: Allows deactivating the player's own drill. default: op machinadrill.deactivate-all: description: Allows deactivating any drill. default: op
Configuration
If you've run the plugin at least once, see the config.yml file in the plugin's subdirectory.
Not sure if this is answered somewhere obvious and I missed it, but what happens if there is no player in the area near the drill. Will the chunk stay loaded? Or will the chunk unload and the drill simply pick up where it left off when the chunk is next loaded?
@wristdirect
If the player moves far enough away from the drill, the chunk will unload. If the chunk a machina is in, or any chunk next to it unloads, the drill will stop.
I'm having troubles with the gold block not being able to be retrieved or broken when I'm done using the drill. Any insight?
@Neospid
Gold block (unlike an iron block) requires at least an iron pickaxe to retrieve successfully, so make sure you're not using stone or wood.
I was using the correct pick, the issue was fixed when our server was updated to 1.1. Thanks!
Hi! How can I increase the amount of coal that I need to drill?
<3 EEEEEEEPPPPPIIIIIIIIIIICCCCC! would u mind putting up some src? if not i can just use jd gui :D
@flockolf
You can change the fuel values for any item id you like in the plugin's configuration file.
@hammale
The source for this is up under the Repository link, you can find it here.
Hi Lyneira, How can i change the Permissions, that not only OP Play at my server can use this, but also normal People, or a special Group?!? If i enter the drill.jar and delet all Permission it is still asking for OP-Rights, iam using Permissions 3.1.6 (Yeti) Plugin
@xCrackCrazYx
I don't think that version of Yeti's permission plugin works with bukkit's built-in permissions.
You could try bPermissions, which can be configured with commands ingame without having to edit a configuration file. Use the commands to give your players the permissions shown on these pages. For further help on how to use bPermissions, please refer to the bPermissions documentation pages.
@Lyneira
Mercy =), bPermission is near identical with Permissions3.0, but the ingame comment functions is awsome and, most this mod is the awsomes ever seen =D, ähm one thing, why the trackbuilder have 2 chest if only 1 is used?!?
@xCrackCrazYx
The two-chest version is really the road-builder, the version with one chest can build tracks too! :)
i tried to block stones and such so it wont go trough those however it still does..
tried
blocks: 5: solid: true drillable: false 4: solid: true drillable: false
and tried
blocks: solid: true drillable: false 4:
still cuts trough stuff... (4=cobblestone)..
@rolecraft
You could use the following config in config.yml to block the drill from digging through cobblestone.
Note that the indentation is 4 spaces per level, never tabs.
If you wanted to make additional blocks (such as wooden planks) undrillable, you would use this:
any possiblity of making the cutting area configurable - ie size of square 3,5,7 - and also round tunnel , round tunnel flat base : - drill beat wear out on ores ?, could even require a tougherdiamond drill for harder ore's encountered - raising / lowering the drill somehow ?
Getting carried away there i am :).
Been having fun with the drill landscaping.
Hello, I love your plugin, but I do not understand how to configure the duration of fuel, I read the config.yml many times but nothing works, Could you give me an example for me to copy exactly?
Thank you very much and sorry for my English, It is very basic
@Maverikfreak2
Try uncommenting the section that reads:
This will make item id 5 (wooden planks) burn for 800 ticks (20 ticks = 1 second), so 40 seconds. For a list of item ids, see this page
Is there any chance this plugin could get a configurable limit of drills/builders per player? I understand this would require a database, and possibly a sign to activate the drill, but a player having too many drills active would be slightly devastating to our terrain.
@Zephedge
Good idea, I'll see if I can add this for the next version!
Sooooo, what are the permissions? I put machinadrill.* and nothing happens...