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.
@leponder
Thank you for the feedback!
Did you in fact remove the bypass permissions ? :p
@asofold
bypass permission? Not sure which one that is, but blockbreak noswing is set to false and blockplace noswing is set to true if that makes any difference.
@leponder
Ah ok. so now you could enable them again and the machines don't get blocked, hopefully...
Can someone please send me an email with the pictures? they are not showing up. [email protected]
Haha, sorry to bug you so much. Is there a way to change the drill's direction 'wand' to something other than the wooden stick? I have another plugin that uses it. I can change it in the other plugin but requires a lot more work.
I have tried to make several blocks not drillable. But neither the shorthand list
nor the extended version
seem to work.
What have I done wrong? My complete MachinaCore\config.yml can be found here: pastebin.com
@JanChris96
Ensure your indentation is consistent, as yml is very picky about that. All the items under blocks, including drill-block need to be indented 4 spaces. Here's the first portion of your config file with the correct indentation:
@Lyneira
Thanks for your help. It was indeed my not correct indentation in the config.yml
The parser should be could a little bit more fault-tolerant ;) Do you know who provided this parser? Is this a bukkit - homemade one?
First please let me say this is actually a pretty neat plugin for MineCraft. Second let me apologize for the noobness I'm sure to spawn as I post. This is a new thing for me, not computers, but MineCraft.
I've managed, from video tutorials, wiki's, and other written tutorials to learn some things, adding plugins, setting up the bukkit server, and a few other items. What I have yet to learn is how permissions work, and I'm trying to do that now.
I've read all 7 pages of queries and responses but still do not see the answer I need so forige me if I ask something answered.
The plugin works fine for ME, as the op, but when I try to let my daughter and her friends use it they get the "permission denied" error.
I see comments about folks who don't get this and have problems but I've built a test drill and it works fine. She can build it but gets "e_PERM".
Any suggestions would be greatly appreciated be they in the direction of good permission tutorials and/or how to set this up for "players" (builders?) as well. Yes I have a permissions.yml file and the config.yml looks like the example above.
thanks
@JanChris96
The parser is Bukkit-provided, although it's more the choice of config language that is responsible. In most languages whitespace and indentation is just a reading aid, but YML relies on indentation to provide it with structure rather than curly braces or other delimiters. That makes the file less cluttered but the tradeoff is that it can't tolerate mistakes with indentation.
@CharZinta
If you're running a simple private server and you just want to give everybody access to MachinaCraft, you could put the contents of the included permissions.yml in your server's permissions.yml. That will give all players access to all machines.
If you're curious, permissions.yml allows you to define collections of permissions you can use later, or act as a "poor man's permissions system" by giving permissions to people based on op/not op or to everyone.
Great plugin, one problem, OP cant activate drills, no flash of furnace, but when you flick the lever the chest inv opens. works fine for everyone else regardless of group. I have tested by changing which group im in and it wont allow me, i deop myself and it works no matter which group i put myself in.
any ideas? (EDIT: Does it with planter too)
(I swear ive posted this already but its not here)
m
Horizontal drills seem to work fine but only ops can activate vertical drills. When a player tries to do it, the drill eats the layer below and then switches off.
@morlanius
your susposed to put 64 coal in the furnace
The drill doesn't seem to work for me, i have the newest version installed.
@cynderTNT11
it doesnt matter how much coal i put in, it doesnt work for ops, no matter what group or permissions are or are not set if ur an op it doesnt work, this applies to drills, planters and any factory object where a chest is connected within 2 nodes of the lever.
@leponder
This is happening to us as well. I believe it may be a permissions problem although I could be wrong. Hopefully Lyneira can shed some light on this issue.
I updated my bukkit to the dev build for 1.4.6-r0.1 and now the drills dont work. Zero errors. Planters and Pumps work fine but drills, nothing. Update coming soon? :3
@jazzman170
hi i think i firgured out whats wrong but i can't fix it they changed the chests in 1.4.6 i think this the problem thats naging us because everyting without a chest works fine.
Please get us a update soon
@everyone:
The issue has nothing to do with the appearance or ID of the chests. Some of the coding changed when they released 1.4.6. All other features work, including Planters which have chests attached.
I am sure when Lyneira has a chance to update the server mod, she will. :) Which hopfully will be sooner rather than later. I miss my drills. :)
Using Bukkit 1.4.6 -
Drill works if pickaxe usage is turned off. Any way to make it use a silktouch?