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.
@93Creeper
Sorry, didn't see your post :x
I think I have a 1.4.6 build in the Jenkins, but haven't found the time needed to do a larger recode.
@michiaru
Open up a support ticket and give us the error log you have.
@WeastdaBeast
same issue same error log as this guy
anybody?
Hey Devil_Boy...we meet again :) anyway, i was going to ask if this plugin works or is being updaed to 1.4.6 R0.3 It sounds like a great plugin by the way.
@Dgmindcraft
It's a bug I haven't been able to find time to fix yet :x
I don't really know what is causing it...
@WayGroovy
I'll look into the client crash as soon as I can :O
this is by far, the best mod i have ever seen
when i try to change the config file all it dose is reset to default when i reload the server or the plugin. how do i successfully change it?
I would love if there was a commandless way to connect ammo boxes to turrets, such as holding an arrow and punching the turret post, then the chest.
I do seem to have some clients crashing when a player mounting a turret manually shoots and hits another player in a turret. Server does not crash, only some clients (including mine). I'll do some more testing later this evening.
running build #12 from Jenkins.
What type of arrow damage do turrets deal? Player or skeleton? Can records drop from creepers killed with turrets? How about XP?
Request command to un-man a turret. If a turret is under a low ceiling, a player can get into it, but might not be able to get out, and will suffocate.
Anyways, very cool, interesting, plugin.
@WeastdaBeast
Exact same error log?
@Devil_Boy
I did that and it still does the same thing.
@WeastdaBeast
Try the latest dev build.
This is the error i get when i place a minecart in a fence
14:24:30 [SEVERE] Could not pass event PlayerInteractEvent to Turrets v0.2.4 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:462) at org.bukkit.craftbukkit.v1_4_6.event.CraftEventFactory.callPlayerInter actEvent(CraftEventFactory.java:178) at net.minecraft.server.v1_4_6.PlayerInteractManager.interact(PlayerInte ractManager.java:376) at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java: 656) at net.minecraft.server.v1_4_6.Packet15Place.handle(SourceFile:58) at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java: 112) at org.getspout.spout.SpoutPlayerConnection.d(SpoutPlayerConnection.java :196) at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30 ) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:59 8) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:22 4) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:49 4) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java: 427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:84 9) Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_4_5/Entity at me.azazad.turrets.TurretsListener.onPlayerInteract(TurretsListener.ja va:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:425) ... 17 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_4_5.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(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 23 more
@Devil_Boy
ok i got it to work all i had to do was rename it from turrets-dev to turrets and it worked
@lashedspace677
It should be in your server.log file.
@Devil_Boy
k but how do i give u my console log?
@lashedspace677
It should've created a folder...
Give me your console log.
@Superboop
i did but i didn't get a folder created and it still wont let me place a minecart on top of it
@lashedspace677
Just place it, don't think there would be any problems.
@Devil_Boy
do i just place it in my plugin or do i rename it from turrets-dev to turrets?
@lashedspace677
I think we may have dev builds for 1.4.6 already: http://build.yu8.me:8080/job/Turrets/