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.
@Devil_Boy
Sure - merge away - glad to help keep this one alive ;)
I was planning on adding option to toggle the factions code - so you can switch between ignoring allies/faction members (but shooting neutrals/enemies) - and only targeting faction enemies.
Also was gonna look at using storage minecarts for turrets with built in ammo box's ;)
@SableDnah
Oh nice! :O
Is it alright if I merge it into the PG-Dev-Team fork?
@Devil_Boy
Hey there - I did a fork of this to add some factions awareness to the targeting system (so it only shoots vival players) - I've just updated it to use all the new minecart stuff in 1.5.1 - https://github.com/Sablednah/Turrets Let me know if you want a pull or anything :)
Pls update!
PLEASE UPDATE
So, any new information?
Can you use a boat? because so much plugins use carts and then this plugin is not compatible sry for my bad english ;)
Isn't there another method for a "functioning turret"?
1) Turret scans for mobs at a x block radius
2) Any mob that enters the area takes damage every x seconds
3) A line of smoke is made from the turret to the mob every time it is damaged, so it looks like something was shot out of the turret
4) An x amount of arrows get removed when it hits mobs x times
A rotating minecart turret looks much better imo.. but if it is much more difficult now, I believe the above method should be more convenient. The method should also allow for dispenser turrets.
pls update i cant use at with 1.5
Because Minecarts are now handled completely differently, this plugin more or less needs a whole new recode. I'll look into it when I have the time, but I think some new developers will need to join the project.
Bottom Line
Can Not Make Turrets.
@Devil_Boy
Be that as it may, adding the comment I suggested in the default config.yml (or something similar) might help lower the amount of questions people bring here :)
@TheMikeness
The config system in general just needs to be rewritten. The code for it is more complex than it needs to be...
@ATalkingRock
Did the plugin even enable? o.o
You cannot place minecarts ontop of fences in 1.5 update therefore cannot create these :P
After digging through the source code to find the possible ammo types, I suggest adding the following comment line to the default config.yml above boxAmmoTypes:
#can be any of (comma separated list): arrow,snowball,expbottle,monsteregg,egg,potion,fireball
I don't see the config page that is being referenced in the documentation here.
@bartico6
Hmm... What CraftBukkit version you using?
Everything is says about Turrets in server.log
2013-03-23 18:00:07 [INFO] [Turrets] Enabling Turrets v0.2.5 2013-03-23 18:00:07 [INFO] [Turrets] Config file loaded. 2013-03-23 18:00:08 [INFO] [Turrets] Turrets loaded and spawned. 2013-03-23 18:00:08 [INFO] [Turrets] Total number of turrets: 0
No errors, no problems. And can't create. :(
@killkid300
What does the error log say on startup?
it does not work with 1.5...it wont let you place a minecart without a rail:(