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.
Can Turrets Shoot Players?
@Devil_Boy
Could you implement a portable sentry? Like a snowball that when you throw it , it builds a sentry where it landed :D
@ybogatepe
This means that MCPC doesn't support Turrets.
@Devil_Boy
no its working when not using mcpc
@ybogatepe
Same error when not using MCPC?
@Devil_Boy
i tried on mcpc+ and craftbukkit 1.4.7 but get same error all the time
ps. mcpc 1.4.6 installed on craftbukkit 1.4.7
@crore
Did you add the chest as an ammobox?
http://dev.bukkit.org/server-mods/turrets/pages/commands/
@ybogatepe @leobizaz
What version of CraftBukkit are you guys using?
@ybogatepe
i'm also getting this error and its super annoying.
i made a turret with a chest next to it with arrows inside... i spawn a mob and the turret targets it but never fires anything. also when mounting a turret its goes all crazy and is very hard to control + how do you fire a turret when mounted?
@Devil_Boy
i tried but still same error
@ybogatepe
Use the latest release rather than the latest dev build.
i have 1.4.7 bukkit server and mcpc 1.4.6 installed on server. i use java version 7. and balkons weapons and ropes+ modes installed on FML. when i put the minecart on the fence it gives these errors.
PS: i tried mcpc plus on my server but i cannot install it it gives error on server start
Could not pass event PlayerInteractEvent to Turrets v0.2.5 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:341) 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:405) at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java: 677) at net.minecraft.server.v1_4_6.Packet15Place.handle(SourceFile:58) at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:291)
at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java: 122) at net.minecraft.server.v1_4_6.ServerConnection.b(ServerConnection.java: 54) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30 ) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:62 9) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:22 8) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:51 7) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java: 447) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:84 9) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_4_6.CraftWorl d cannot be cast to org.bukkit.craftbukkit.v1_4_R1.CraftWorld at me.azazad.turrets.nms.EntityRotatingTurret.<init>(EntityRotatingTurre t.java:64) at me.azazad.turrets.Turret.<init>(Turret.java:40) at me.azazad.turrets.Turret.<init>(Turret.java:30) 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:339) ... 16 more
Turrents are disappearing after awhile and taking my heavy time in to designing a wonderful turrent fort. All the minecarts on the fencepost are gone, plus I'm unable to place a new minecart on said fence post. I love these turrents, I really do... but the glitch that keeps making the minecarts vanish and not remain permanently is annoyance.
maybe make it so it can protect your property, from other players :D
i wonder if it could be possible to make the turrets shoot every item in the chest like splash potions, blocks, custom arrows, and cookies, also quick deploy version crafted at the crafting table and a way of configuring this so it shoots every other player except the owner and the players of the same faction would be cool
Is it possible to change the ammunition of the turret? 1 arrow per shot is very costly imo, especially if it's going to miss enemies 20% of the time..
Alternatively, it could be multiple shots per arrow.
Hi, I found the turrets disappear after several minutes...
is this a bug?
Still, only the first time you can edit the config file, and it will keep this config and reset every time reload.
This is quite clever.. and quite usable in a current world I am building<sub> can the turrets be edited into different shapes and shoot something other than arrows?and are they destroyable?</sub>
I am currently building ANarchy online world in Mc and making it as playable as possible
we have tower wars for faction pvp
example page: http://www.ao-universe.com/index.php?id=14&pid=87
A Few Bugs:
- You Can't Edit The Config File
- When You Attempt To Leave The Turret, You Are Still Stuck in The Minecart
- The Minecart Auto-Enter feature is annoying, mabye a way to disable in config?
-The Turret breaks when you try to apply a feature in creative mods
Hope You Fix These
-Bond
Unfortunately, you cant edit the config still :(
also, could you make it possible to link turrets to chests by right clicking them instead? because if you left click chests in creative mode, you end up breaking them