Sentry for Citizens2
![]() | ![]() |
|---|
Sentry is a character plugin for the NPC plugin Citizens2. With Sentry, NPC's can be set to guard areas or act as bodyguards. Hostile targeting, retaliation, and a variety of options and stats allow a Sentry NPC to be customized to almost any guarding or combat situation.
Features
Sentries Can:
- Attack monsters, players, and groups automatically. Sentry also has built-in support for Factions, Towny, War and SimpleClans
- Kill, and be killed by, players, monsters, and the environment.
- Guard locations, paths, players, or other NPCs.
- Use ranged or melee weapons. Shoot arrows, fireballs, snowballs, eggs, lightning, and potions with deadly accuracy.
- Be configured with stats such as Strength, Health, Armor, Speed, Range and even Night Vision!
- Ride mounts!
- Work with Denizen to become Bosses and Quest NPCs that run scripts upon death.
Installation
- Install Citizens2 You must use the correct version for your version of Bukkit
- Download the correct Sentry from the Citizens Wiki. You must use the correct version for your version of Bukkit
- Place Sentry.jar in your minecraft /plugins/ directory. Start your server.
- Create a NPC with Citizens and give it the 'sentry' trait.
/npc create Town Guard --trait sentry
- Customize your Sentry's stats and options and you're ready to go.
A full list of commands and options is available on the Citizens 2 Wiki
Configuration
Sentry makes a config.yml in the plugins/Sentry folder on first load. Use this to tailor Sentry to your server. You can:
- Set defaults for new sentries
- Change or disable the item used for various attack types
- Add potion effects like slow or blindness to certain Sentry weapons.
- Add armor, strength and speed buffs to armor and weapons for Sentries.
- Set critical hit chances and messages.
The config.yml is commented with instructions.
![]()


-
View User Profile
-
Send Message
Posted Mar 19, 2013@jrbudda jrbudda i love you! Thank you SO! mutch for the amazing plugin Best plugin! Please don't give up on this and add mutch more plugins! I love you man! :D
-
View User Profile
-
Send Message
Posted Mar 19, 2013works for me, havent tried all the functions tho. great work! love your plugin.
-
View User Profile
-
Send Message
Posted Mar 19, 20131.5 compatible version is posted on the wiki page. Please test it as I haven't had time to make sure everything is 100%
@DTACFrostfire
That's a neat idea!
-
View User Profile
-
Send Message
Posted Mar 19, 2013jrbudda WE LOVE YOU :)
this is the best character for Citizens by far!
You can make it so people can have pets (thats what i do on my server) but they are only tanks with no damage (for reasons)
-
View User Profile
-
Send Message
Posted Mar 18, 2013Thank you very much...This is the best character for Citizens. Thank you so much that you will update.
-
View User Profile
-
Send Message
Posted Mar 18, 2013Will be updated for cb 1.5 in the next few days.
-
View User Profile
-
Send Message
Posted Mar 18, 2013yep people broken with 1.5 :( it crashes my entire server when i run it
-
View User Profile
-
Send Message
Posted Mar 18, 2013Broken with 1.5 :/ Update!!
-
View User Profile
-
Send Message
Posted Mar 18, 2013Broken with 1.5 and the Guards won't teleport when their owner dies.
-
View User Profile
-
Send Message
Posted Mar 18, 2013Me too, man.
-
View User Profile
-
Send Message
Posted Mar 17, 2013Need 1.5 update!
-
View User Profile
-
Send Message
Posted Mar 17, 2013Yes, you have incompatible citizens version.
For me on 1.4.7 this plugin works perfectly.
-
View User Profile
-
Send Message
Posted Mar 17, 2013No. If people would actually read my comments then they would learn ALL the details. I haven't updated and this is a problem that has been persistent whenever I use this plugin. I still have 1.4.7 I have not updated for that fact. Now, does anyone else have any useful info for me?
-
View User Profile
-
Send Message
Posted Mar 17, 2013Sentry are not compatible with 1.5 because of PlayerMoveEvents and PlayerDamageEvents, these events are changed in every new version of minecraft, so plugin like this can not be compatible 1.47 with 1.5. We can only hope this great plugin will be updated soon as possible.
-
View User Profile
-
Send Message
Posted Mar 17, 2013Alright, I'm sick of this! I have the stable build installed for the 1.4.7, haven't updated and I can make npc's no problem but EVERY TIME I try to add a trait to an npc or make a mob npc it gives me the finger! The main problem is when i try to use ANYTHING with the /sentry command it always says "internal error occurred while attempting to perform this command." I was hoping that this was just a bug that they would have fixed from one of the older versions I used but no, its still there! Now is anyone going to get off of they backsides and actually help me on this or am I going to be proven that most people don't give crap and are only out for themselves!?
-
View User Profile
-
Send Message
Posted Mar 16, 2013Me too, I hope to it will be soon compatible with 1.5 :)
-
View User Profile
-
Send Message
Posted Mar 16, 2013Ya, waiting for 1.5
-
View User Profile
-
Send Message
Posted Mar 16, 2013@jesse131
Indeed, would love a jenkins for Sentry.
-
View User Profile
-
Send Message
Posted Mar 16, 2013Broken with 1.5
-
View User Profile
-
Send Message
Posted Mar 14, 2013@CommodoreAlpha
Ok, it is indeed Heroes that is causing the issue. I disabled it and damage returns to normal on Sentries that are type Player.
It has something to do with the weapon-based damage calculations going on inside Heroes. The plugin allows you to set weapon damage values in each of the classes YML files and then uses its own algorithms to calculate damage based on a few different factors. It's not clear yet what I can do to make it behave but at least I have finally tracked down the culprit.
Thank you both for your patience and insight!