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.
@zSwayz
Read the permissions page, this is already possible :)
@zSwayz
You should be able to, unless some other plugin is interfering
It is not possible to place a mine cart on on a fence post.
Can you add a permission for this so i can give this to certain usergroups, and deny a specific usergroups turret use?
Did you just download the file uploaded on this page or did you try to compile it yourself?
Also, make sure you have the right version. The official version that you get when you click "download" on this page is for 1.4.2, the latest craftbukkit beta. I also linked a 1.4.4 version in the description.
i just tested it and it does not work ;( i cant create the turret but hte plugin is loaded
@ceoepts
I actually include my source in the jar file when I compile, but I also push to github somewhat frequently too :)
https://github.com/wristdirect/Turrets
Keep in mind the source at github is never guaranteed to work, as it's there purely for my own ability to revert and rollback. It's usually stable though :P
The source in the jar file is always stable though, as it's the source for the class files of that release.
Could you release a source code? ;D Awesome plugin btw. But i also wanna know how to make minecarts point at somthing :s
@wristdirect
Oh. Alright, thanks.
Maybe set up something cool with craftbook? Or maybe a system that allows you to generate more turret slots with a redstone setup that consumes blocks?
Just testing, and you might want to add 1.4 mob support, being bats(configurable), witches zombie villagers, witches withers, etc.
Hmm... /tur help?
Option for zombie pigman gunner?
Right clicking on fence gives turret info?
Just noticed that the turrets always shoot low at long range.
Possibly make turrets shoot like a bow manually?
The arrows have a max radius... Make the turret not target past that radius?
Make the turret switch targets after not killing it after maybe 1 min?
@wristdirect
I would like to thank the academy...
Thank you god for sanity!
Thank you Notch (god) for minecraft!
Thank you wristdirect for turrets!
@Captain-Dingo
You have to attach the chest to the turret using "/tur addammobox", then click the turret, followed by the chest.
Soon I'll add support for storage minecarts, which (if the turret is set to use ammo chests) will use the ammo in its own storage if it can't find a linked ammo chest :)
Turret aims at stuff but never fires.
Put a chest next to it with a few arrows inside, still didn't fire.
@wristdirect
Works for me. Great job :D
Wow, so I'm an idiot. I literally fixed something that wasn't broken, and therefore broke it.
I'll upload the new, working version right away.
All of you who had problems, let me know that it works now so I can regain my sanity >:)
Link Removed: http://www.mediafire.com/download.php?85saz80idpsafef
Well guys, I finally was able to reproduce the problem. The reason I wasn't able to before was because I used my Minecraft username in the default config files as an example of how stuff should look, and it turns out the creating of new users in one of those files is probably where something is going awry.
I'll get on this and fix it, sorry for doubting you guys. I saw the error, now I'm a believer!
@wristdirect
Thanks :D
I didn't get any error logs :/
I just couldn't get the minecarts on top of the sign posts :x
Though, I only found your plugin recently, so I could just be using it incorrectly...
@Devil_Boy
I'll try out some of those ideas :)
Also, do you have any logs or info on Turrets not working? I made a clean 1.4.4 server with the 1.4.4 version, and it all works okay for me :/
Great work on DisguiseCraft by the way, cool plugin :D
@wristdirect
I couldn't get your 1.4.4 version to work on my test server :x
In terms of DisguiseCraft support, you could try making turrets treat disguised players as mobs and not use the turret PVP list for them. You'll probably also want to make them obey the "disguisecraft.notarget" permission node though.
I'm not exactly sure how your plugin works, but i think it could be possible to actually disguise the minecarts themselves as any sort of mob. However, this would probably count on DisguiseCraft's "dropped-disguise" system which I have not yet fully implemented.
I'm sure there's more that could be done, I just can't think of them XD
Maybe you'll be the first one to use DisguiseCraft's new API and be compatible with its v3.9 release. Just ask me if you have any questions regarding a hooking into my plugin.
@woxzi
@SuperMinecraftBrosMC
That's really odd...what does it say when you try to make a turret? Anything?
And anything in the server log?
Can anyone else reading the comments here confirm that it at least works for them? I'd like to make sure I'm not the only one who seems to be able to make this work with his server :/
@SuperMinecraftBrosMC
No idea lol. What kind of things would you look for in DisguiseCraft support? I know the jist of the plugin, and have looked at some of the basics of hooking it in to Turrets, but I haven't actually used it on any of my old or current servers, so I don't really have a feel for what people would want functionality-wise.
Really liking this plugin! When would DisguiseCraft support be made?