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!
@ferrybig
It is for java 7, ehm, you could download java 7, or I'll compile it for java 6 if you would like that more (do note that java 7 is faster than java 6).
is this for java 6? I see an error that users get if an plugin is compiled whit java 7
seems awesome, i'd get it if it wasn't for the spoutplugin bug
CraftBukkit Recommended Build: #79 (1.1-R5) (CraftBukkit RB #1846 (1.1-R3)) SpoutPlugin Recommended Build: #737 Java SE Runtime Environment 7.3 x64
2012-02-20 03:09:13 [SEVERE] Could not load 'plugins\AutomaticDrillingMachines.jar' in folder 'plugins': java.lang.UnsupportedClassVersionError: zwarmapapa/AutomaticDrillingMachines/AutomaticDrillingMachines : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:286) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:201) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:202) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:178) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)