Automatic Drilling Machines
Automatic Drilling Machines
Create Automatic Drilling Machines that will mine for you!
Latest Version: http:dl.dropbox.com/u/7174774/dl/AutomaticDrillingMachines.jar
Last updated on 11-03-2012 at 23:46 (GMT +1)
Currently bugfree (drops too!), but not yet completed, check "Currently ToDo"!
It needs Java 7 JRE to run.
Note:
I've got allot of great ideas to do with this plugin, and I don't want to release a version before it is all done.
This could take another week or two, but it will be worth it.
Add this plugin's "file updates" to your subscriptions, so you'll get a inbox message when I've released the first version.
Currently ToDo:
- ToDo when plugin is released:
- upload a youtube video which shows you the basic of this plugin
- upload a youtube video which shows you how to use drills to fight wars
- update the dev.bukkit.org page, so the plugin info matches the latest version
- test+fix:
- add:
- extra:
- create a config for Block groups + which Blocks belong to those group. Every group has a configurable mining speed per drill.
- create a config for my getDrops method
- ideas (after v1.0.0 is done):
- a Chest with TNT that gets 'eaten' by another drill should explode the Chest's TNT
- a drill with TNT in the rightlower corner of the Chest gets blown up when it hits a block
- a drill with reddust in the rightlower corner and TNT in the block left of it in the Chest will remove 1 reddust per block moved and will blow the drill up when the reddust hits 0
Comments:
If you want me to read your comment, place them on dev.bukkit.org, not on curse.com.
The link to the dev.bukkit.org page is: http:dev.bukkit.org/server-mods/automatic-drilling-machines/
Video:
Beta v1.0.0 - Video 1
How To Create a Drill:
- Put down 3 blocks next to eachother: a drill-block, a chest and a furnace.
- The drill-block is customizable, every drill has another drill-block (default is iron-block and diamond-block, but you could use any block)
- You can also use a workbench (crafting table) instead of a chest, it won't save (or drop) the drops, it will just destroy the blocks it drills
- Put fuel (coal/sticks/planks/blaze-rod/lava/etc) into the furnace fuel spot
- You can change the fuels and their burning time in a config file (they will only work when put into a furnace that belongs to a drill)
- Put redstone (customizable) into the furnace melt spot
Drill Information:
- drills need fuel (coal/sticks/planks/blaze-rod/lava/etc)
- you can create multiple drill types in the config (you can change speed per block, what items it needs, etc)
- you can eject the furnace melt spot item by pouncing the furnace (this will cause the drill to stop)
- drills can't fly, it will drop down when there are no hard/tough blocks underneath it (like air/water/leaves/tall-grass/etc)
- the drill will stop when the chest doesn't got a free spot anymore
- the drill will stop when it can't mine a block
- if the drill hits a TNT, it will fucking explode! (configurable)
- the TNT in the drill's chest will also explode (configurable), it will have the power of half the TNT in the chest till a maximum of 80 TNT power (so with 160 TNT in the drill's chest it will give the biggest bang possible)
- the TNT in the drill's chest will also explode (configurable), it will have the power of half the TNT in the chest till a maximum of 80 TNT power (so with 160 TNT in the drill's chest it will give the biggest bang possible)
Main Config:
(will be automaticly generated if there isn't any)
# # General Info about 'Ticks' and 'Timers' # Minecraft works with 'ticks' # 1 tick = 0.05 sec (there are 20 ticks per second) # you can't get a timer below 1 tick, 1 tick is the lowest (0 sec will be 0.05 sec, below 0 sec means the timer (or the option) is disabled) # because of that, drills fall at a speed of 1 tick # you can't set a timers time in seconds between a tick, it will be rounded up if that happens (examples: 0.07 sec will be 0.10 sec | 1.51 sec will be 1.55 sec | 0.54 sec will be 0.55 sec) # # # #config: # drills: 2 Amount of drills. # saveInterval: 30 Time (in seconds) between drill and drillparts saving to a file, it also saves on stopping the server. (0 or below will cause the plugin to save at every change, NOT RECOMMENDED) # #debug: Enable this if a drill isn't working, ONLY USE IT WITH 1 DRILL A TIME, OR YOU WILL GET SPAMMED THE FUCK OUT # general: false General debug messages (answers questions like: why won't a drill move?) # timers: false Shows you when a drill timer starts (answers questions like: why won't a drill move, and why does debug give no messages?) WARNING: when a drill is moving normally, it will give a message every tick (1 tick = 0.05 sec) # getDrillData: false Shows you what is beeing done when the plugin checks if a Furnace is a drill or not (answers questions like: why isn't my Furnace a drill?) # saveAndRemoveDrills: false Shows you when a drill is added or deleted (answers questions like: why aren't my drills saved?) # #drill_1: # drillBlockID: 42 The block the drill-part must be. Can be any place-able block. Typ -1 to disable this drill. (42 = Iron Block) # furnaceItemID: 331 The item that must be in the furnace melt spot. Can be any non-melt-able item. Typ -1 if you don't want any item in the furnace for the drill to work (not recommended with strange drillBlockIDs, like furnace/workbench/chest). (331 = Redstone Dust) # speedAir: 1.5 Mining time in seconds mine trough air. Typ -1 if you don't want the drill to be able to move trough air. # speedTrash: 3 Mining time in seconds to mine a dirt/grass/mycelium/farmland/clay/sand/sandstone/gravel/stone/cobblestone/mossy-cobblestone block. Typ -1 if you don't want the drill to be able to mine these blocks. # speedNether: 5 Mining time in seconds to mine a soulsand/netherrack/glowstone block. Typ -1 if you don't want the drill to be able to mine these blocks. # speedEnd: 5 Mining time in seconds to mine a endstone block. Typ -1 if you don't want the drill to be able to mine these blocks. # speedOre: 10 Mining time in seconds to mine a coal-ore/iron-ore/gold-ore/diamond-ore/redstone-ore/lapis-ore block. Typ -1 if you don't want the drill to be able to mine these blocks. # speedWood: -1 Mining time in seconds to mine a wood/planks block. Typ -1 if you don't want the drill to be able to mine these blocks. # speedBrick: -1 Mining time in seconds to mine a brick/netherbrick block. Typ -1 if you don't want the drill to be able to mine these blocks. # speedObsidian: -1 Mining time in seconds to mine a iron-ore/gold-ore/diamond-ore/redstone-ore block. Typ -1 if you don't want the drill to be able to mine these blocks. # #drill_2: # drillBlockID: 57 The block the drill-part must be. Can be any place-able block. Typ -1 to disable this drill. (57 = Diamond Block) # furnaceItemID: 331 The item that must be in the furnace melt spot. Can be any non-melt-able item. Typ -1 if you don't want any item in the furnace for the drill to work (not recommended with strange drillBlockIDs, like furnace/workbench/chest). (331 = Redstone Dust) # speedAir: 0.5 Mining time in seconds mine trough air. Typ -1 if you don't want the drill to be able to move trough air. # speedTrash: 1 Mining time in seconds to mine a dirt/grass/mycelium/farmland/clay/sand/sandstone/gravel/stone/cobblestone/mossy-cobblestone block. Typ -1 if you don't want the drill to be able to mine these blocks. # speedNether: 1.5 Mining time in seconds to mine a soulsand/netherrack/glowstone block. Typ -1 if you don't want the drill to be able to mine these blocks. # speedEnd: 1.5 Mining time in seconds to mine a endstone block. Typ -1 if you don't want the drill to be able to mine these blocks. # speedOre: 3 Mining time in seconds to mine a coal-ore/iron-ore/gold-ore/diamond-ore/redstone-ore/lapis-ore block. Typ -1 if you don't want the drill to be able to mine these blocks. # speedWood: -1 Mining time in seconds to mine a wood/planks block. Typ -1 if you don't want the drill to be able to mine these blocks. # speedBrick: -1 Mining time in seconds to mine a brick/netherbrick block. Typ -1 if you don't want the drill to be able to mine these blocks. # speedObsidian: 10 Mining time in seconds to mine a iron-ore/gold-ore/diamond-ore/redstone-ore block. Typ -1 if you don't want the drill to be able to mine these blocks.
Fuels Config:
(will be automaticly generated if there isn't any)
# # This is the fuel config file # You can choose between 2 kinds of fuel: with or without remains # Without remains: # fuelId: burnTime # With remains: # fuelId: burnTime + (remainsId x remainsAmount) # # Things that won't be read: spaces, tabs, ( ), empty lines, lines that start with # # # PS: itemnames will be automaticly added when this file loads/saves #
Known Bugs:
- destroying a furnace that is burning with the normal minecraft client will crash the client (haven't tested anymore, maybe it's fixed)
Requests:
If you want an extra function (or something made configurable), just ask me and I'll add it that option to the config!
I stopped because I had it quite busy with school, and I was also learning how to make 3D games. So because of that I had to stop gaming, that's why I quit minecraft, and because I'd quit minecraft I also quit working on this plugin. I will mainly be working on games from now on instead of plugins or addons for other games, because it gives you a lot more freedom and satisfaction, and I can make my living from it.
@fcb3434 I was thinking about making a similar project. But with a few more commands, so you can give the drill a area to mine and a option to replace blocks by another material. Similar to the turtle in ComputerCraft, but more basic.
So is there a reason why this project has been abandoned?
i want to download this
Is there away that I can make the drill go downwards instead of horizontal? I have tried putting diamond chest and furnace in vertical orientation but that doesn't work.
Also is there a way to mine the block in front but not move the drill?
Inactive... :(
Can you add sub id support for spout?Make a fuel item than put 318:1115 (Thats the fuel id)
@egoon
I could do that, but I won't. It will make it to easy.
Players have to create multiple drills if they want to drill a big hole, and manage to keep all the drills from falling.
cant you make a bigger dril not 1BY1
but meaby 3by3 or 5by5
@S3thc0n
Currently not, but I'm trying to find a way to do that.
Does it trigger events in a way I can include protection from it in my yet-to-make plugin?
@wolfenit415
It seems like it tried to put the inventory of a double chest into the inventory of a single chest.
I'll try to fix it when I got more some free time.
Tried it with build #2036. It worked ok it seems, but this in the console, using java 7.. Gotta say cool idea!!
2012-03-04 21:53:29 [WARNING] Task of 'AutomaticDrillingMachines' generated an exception java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.bukkit.craftbukkit.inventory.CraftInventoryDoubleChest.setContents(CraftInventoryDoubleChest.java:49) at zwarmapapa.AutomaticDrillingMachines.BlockFunction.clearBlock(BlockFunction.java:159) at zwarmapapa.AutomaticDrillingMachines.BlockFunction.replaceBlock(BlockFunction.java:121) at zwarmapapa.AutomaticDrillingMachines.AutomaticDrillingMachines.moveDrill(AutomaticDrillingMachines.java:987) at zwarmapapa.AutomaticDrillingMachines.AutomaticDrillingMachines.drillAction(AutomaticDrillingMachines.java:943) at zwarmapapa.AutomaticDrillingMachines.AutomaticDrillingMachines$1.run(AutomaticDrillingMachines.java:741) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:520) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) 2012-03-04 21:53:58 [INFO] [§6INFO§f]: §9Please do not ask to be an Admin 2012-03-04 21:54:55 [WARNING] Task of 'AutomaticDrillingMachines' generated an exception java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.bukkit.craftbukkit.inventory.CraftInventoryDoubleChest.setContents(CraftInventoryDoubleChest.java:49) at zwarmapapa.AutomaticDrillingMachines.BlockFunction.clearBlock(BlockFunction.java:159) at zwarmapapa.AutomaticDrillingMachines.BlockFunction.replaceBlock(BlockFunction.java:121) at zwarmapapa.AutomaticDrillingMachines.AutomaticDrillingMachines.moveDrill(AutomaticDrillingMachines.java:987) at zwarmapapa.AutomaticDrillingMachines.AutomaticDrillingMachines.drillAction(AutomaticDrillingMachines.java:943) at zwarmapapa.AutomaticDrillingMachines.AutomaticDrillingMachines$1.run(AutomaticDrillingMachines.java:741) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:520) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
@OMG_Spedwards
The server needs Java 7.
You can see what Java version you have by typing "java -version" into windows command prompt.
Download the Java 7 JRE here: http:www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk
(PS: Java 7 is faster than Java 6, it might even increase your server's performance)
@zwarmapapa
The craftbukkit version is 1.1 R4. I'm not sure what OS and do I have to have Java 7 or the server?
@OMG_Spedwards
Do you got Java 7 installed?
if the answer is yes:
Did downloading the latest version (dropbox link) fix your problem?
Does it work when you put only this plugin into your plugins folder (and no other plugins)?
if it still doesn't work:
What craftbukkit version? craftbukkit-1.1-R4?
What OS (Operating System) does the server uses?
@zwarmapapa
I have restarted the server a good few times and the config folder won't show.
@OMG_Spedwards
Do you mean the config folder? It will be created once you start the server with this plugin.
Or do you mean the plugin folder? You need CraftBukkit (instead of the normal minecraft server) to load plugins. For more info see: http:wiki.bukkit.org/Setting_up_a_server
I don't have the plugin folder for this and I'm clueless to how to set it up. Can I get a hand?
@QweSteR2221
Yeah, still beta huh =P
@flamedaces
I found a way to fix that, I'll manually typ in the item to drop for each and every block. That will be a bitch to do, but atleast it isn't breakable by other plugins.