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.

-
View User Profile
-
Send Message
Posted Oct 23, 2012Oh, I uploaded a couple tiny changes as well, version 0.1.6b is the one to get. In that I actually removed all references to Vault, and fixed the version number the plugin uses when sending out info to the server.
-
View User Profile
-
Send Message
Posted Oct 23, 2012Okay, so I just uploaded v0.1.6. Most of it is organization stuff. I did remove Vault dependencies, for a couple reasons. Permissions should still work with any permissions plugin that uses super perms. I also added some new config options and commands. Check those links out for more info, as the permissions did change a bit (more detailed permissions now), and the config options are important as well.
If anyone finds any problems with the new release, let me know.
also..
@matheusmalbr10
Are you using any other mods? I haven't been able to recreate this problem. Do any arrows from turrets ever hurt mobs?
-
View User Profile
-
Send Message
Posted Oct 23, 2012There is something broken with the turrets arrows. They hit the enemy but it does no damage. I can't kill mobs with it!
-
View User Profile
-
Send Message
Posted Oct 22, 2012@titen96
I'm working on revamping the permissions right now. There was really only one or two nodes, and I'm going to separate it out for better customization.
I'm also going to add a couple config options (in config.yml) for defaults surrounding turrets being active by default, and allowing people to modify other's turrets in different ways by default.
-
View User Profile
-
Send Message
Posted Oct 22, 2012can you give permissions to upgrade turrets?
-
View User Profile
-
Send Message
Posted Oct 22, 2012@MattSheridan
Good ideas there. The redstone thing will be annoying to do just because there are different things people want out of redstone, so that will mean lots of new checks to add.
As far as the different fence post types, that was an easy thing to implement. Not even sure why it wasn't added earlier. Not sure if it warrants a new release right now, but after adding another feature or two I'll put it up here. (Or if you really want it fast, I'll just post a link to the jar in the comment section ;) )
-
View User Profile
-
Send Message
Posted Oct 22, 2012I'm actually amazed :D
-
View User Profile
-
Send Message
Posted Oct 22, 2012This looks absolutely great, and is a thing I'd been hoping to see a good, supported mod do for quite a while!
One thing I'd be interested in seeing in the future would be greater resource costs for building a turret. For example, if the fence post had to be placed on a gold block, that might be about right.
Also, config options for the kinds of materials used for the turret would be great. I might want to use iron bars or Nether fence instead of the wooden fence, for example.
It might be cool if the turret required to be powered by redstone. That way, a whole security system might be activated and deactivated by one remote switch.
Finally, for purposes of targeting, have you considered a sign-based system like the one used by the TeslaCoil mod?
-
View User Profile
-
Send Message
Posted Oct 22, 2012@Pulseeey
Hmm, not sure why it wouldn't upgrade the range of the turret as well as its other properties. The diamond turrets do have a faster firing speed right?
And for the height thing, the aiming algorithm had a problem with it that caused it to be highly inaccurate at different heights. Though I did make a huge fix for that, it might still not be where it needs to be. I'll try and look into why this is happening.
@SuperMinecraftBrosMC
Sadly a dispenser just wouldn't work right. The plugin depends on the ability of the minecart to change its pitch/yaw, which is because it is an entity, not a block. The dispenser can't do this :/ Maybe some day in the future if some work around could be found (like trying to aim the dispenser even though its pitch/yaw can't change.
As far as DisguiseCraft support goes, it may be possible. I'll try to look into that as well.
I'll your guys' ideas to the ideas page :)
-
View User Profile
-
Send Message
Posted Oct 22, 2012Also could you add DisguiseCraft support?
-
View User Profile
-
Send Message
Posted Oct 22, 2012Insted of a Minecart, What about a Dispenser?
-
View User Profile
-
Send Message
Posted Oct 21, 2012Hello, love this plugin.
I know it's fully developed for proper use but.
How can i make the turret shoot arrows further than 8 blocks away? even diamond block doesn't make it shoot further.
Also, http://i.imgur.com/TqTsd.jpg I want my turrets be around the height they are in the picture but they aim at the mob but shoot arrow in the air nowhere near the target, i hope this is a known issue and will be fixed in future versions, so far, i love it. It's perfect for ground level defense.
-
View User Profile
-
Send Message
Posted Oct 21, 2012Quick update here: I know this isn't exactly a feature a lot of people have been asking for, but it is probably the #1 thing on my list of "cool shit" I wanted to add to this plugin. I believe ('believe', definitely not 'know') I've found the code buried in the minecraft server Entity class that is making it so difficult to make manual control of the turrets possible.
Basically, it's the bit of code that makes it so when the minecart changes its pitch or yaw, the player's pitch or yaw is modified as well. To fix this I need to get into some pretty intense modification of the semi-obfuscated minecraft server code, but I'm definitely motivated to get this awesome feature working.
-
View User Profile
-
Send Message
Posted Oct 21, 2012"Players can strategically destroy enemy turrets for epic team PvP (Planned feature)"
This... would be amazing. Look forward to the development!
-
View User Profile
-
Send Message
Posted Oct 21, 2012OMG! Very cool plugin! Thank you sir THANK YOU! Btw, if you could add more upgrades it would be even awesomer xD
-
View User Profile
-
Send Message
Posted Oct 21, 2012Well crud, just a warning, I did have some sort of major malfunction (hello Full Metal Jacket) with loading the turrets. It seems to have caused the turret database to erase itself. Just a warning. I'm still looking into it.
Haven't been able to duplicate it :/ Please, if anyone out there is testing this plugin, let me know if you come across this problem. I've tried to duplicate the conditions and can't recreate the problem, so if you come across it let me know!
-
View User Profile
-
Send Message
Posted Oct 21, 2012No problem :) Oh, I also did a quick fix on the targeting algorithm, which is in version 0.1.5. The turrets would not properly target enemies at different heights. They do that much better now.
(also, since that new version is also awaiting approval, here's the link)
-
View User Profile
-
Send Message
Posted Oct 21, 2012Seems interesting, I look forward to a more complete version! :D
-
View User Profile
-
Send Message
Posted Oct 21, 2012@wristdirect
I would like to say on behalf of the bukkit and minecraft community thank you for picking this up. This plugin deserved to be completed and continued. I promised turrets and now because of you I can deliver. So thank you.
Also: I really hope to see some Faction integration because my whole server is based on factions and pvp!
-
View User Profile
-
Send Message
Posted Oct 21, 2012Alright guys, I officially added a new version of Turrets. Just waiting for it to get approval.
In the meantime, here's the link: Turrets v0.1.4
I added the ammo box feature, which lets you attach chests to turrets with ammo in them (by default turrets require this, but you can change the turret's ammo mode).
I also fixed a couple bugs like turrets not reloading and giving very limited manual control over the turrets.
It's still very much in an alpha state, but I'd love for people to test it out and see what they can break (hopefully nothing ;) )
And suggest any features you like. I can't guarantee I'll be able to add them, but I'll give em a go. And I know about other features already suggested, and I'll get to those as I can.