Turrets
Turrets
Automatic turrets for Bukkit servers (cleverly disguised as minecarts!)
I moved the project into Beta as there have been more people downloading and, I'm assuming, testing it, with no major issues. There is a lot going on in this plugin, and little changes can have far reaching consequences, let alone big changes, so I still won't stake my name on saying it absolutely won't mess anything on your server up. Please report any problems you have!
Currently working on: DisguiseCraft support. Give me your ideas on what you'd want from this :)
Details: I'm hooked into DisguiseCraft, just need ideas for what kind of features are desirable!
Download
I'll try and keep this up-to-date. If all goes as planned, this version should be the same or newer than the one linked to this BukkitDev entry.
A Jenkins job has been created to house dev builds. You can access it here!
v0.2.3a - Manual turret control!
For those of you antsy about getting a version for 1.4.4, here's an unofficial 1.4.4 dev build.
Link Removed: http://www.mediafire.com/download.php?85saz80idpsafef
Building turrets is easy: Just place a fence post, then right click with a minecart on top. It's so easy, even a guest could do it! (That's why Turrets has permissions support.)
Make sure you attach an ammo chest to the turret (see command page) or set turrets to have unlimited ammo (see config page).
Breaking turrets is also easy: Just left-click it until it breaks, just like a minecart.
Features
- Turrets target hostile mobs
- Turrets will avoid shooting through walls
- Turrets use ammo chests (configurable).
- Turrets are upgradable!
- Upgrade a turret by replacing the block under its fence post: iron -> gold -> diamond
- Better turrets can shoot faster, farther, more accurately
- Firing speed, range, and accuracy can be changed in the configuration
- Turrets are breakable! (With permissions, of course)
Possible future features
Commands
Permission Nodes
Also, thanks to damnnicholas for his YouTube video explaining the plugin.
Just a bug after some testing :
Epic boss mobs don't take damage and don't get shot automatically by turrets. This would be a nice feature :)
-Thomas
Does that build fix the bug where the config keeps resetting?
Here you go peoples: Turrets v0.2.4a - 1.4.7 build
@Devil_Boy
Does not work with 1.4.7.
I need this pretty bad because creepers keep destroying my stuff.
@Devil_Boy
well it dos not work and no ones working on it right last upate was 1 month and 17 days on jenkins
@WolfyRetroKnight
Shouldn't be o.o
is this dead
@techrosis
Thanks for the log, I know what's up now. Just gimme a week or so for a fix. I don't have access to my desktop right now.
cus it spam the chat
do you want the log?
Same thing here running 1.4.7 r.1 and can't place minecart. Using the latest dev of turrets.
2013-01-30 09:26:23 [SEVERE] Could not pass event PlayerInteractEvent to Turrets v0.2.5 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_4_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178) at net.minecraft.server.v1_4_R1.PlayerInteractManager.interact(PlayerInteractManager.java:376) at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:656) at net.minecraft.server.v1_4_R1.Packet15Place.handle(SourceFile:58) at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:112) at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_4_6/Entity at me.azazad.turrets.TurretsListener.onPlayerInteract(TurretsListener.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 16 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_4_6.Entity at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 22 more
@koland12201
I'm sure you have a console log o.o
im using your latest dev build and it still not let me place the minecart on top of the fence too! im using 1.4.7 R.2 craftbukkit
@Gam3R3ap3r
Try the latest dev build
cant create a turret, wont let me place the minecart on top of the fence
@Devil_Boy
oh ok ill just leave it that way ill tell the people in my server that its not gonna attack other players and i cant wait until the new redstone feature comes in its gonna be awesome i can have turrets automatically attack invaders in my faction. But you know when i look at the config its the setting i set it to not default. Maybe it doesnt show?
and also other players without permission can man the turrets but cant get out nor can they use them.
@Baddassoverlord
I think it could be related to the issue where the config seems to keep reverting itself back to defaults... I haven't found time to rewrite Turrets' config system :/
they dont attack anyone pvp even though i have pvp enabled on my turret and also the range doesnt extend past 15 blocks so please fix that and also when i mount turrets i cant get back down im totally stuck im using dev build #12 on craftbukkit 1.4.6 R 3
will this work in 1.4.7 R0.2? cus I look forward to it!
are these turrets protected with precious stones ?
My server has PS plugin and it is the only way to protect land (if u dont count faction land claiming)
I was wondering, does it protect the turrets also?