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 Jan 4, 2014My Sentrys run very fast in a circle and do nothing with citizens-2.0.11-SNAPSHOT Build 1033 and 1034. Is this a bug ?
Guards run in a circle too and do nothing.
I have downgrad to build 1032 and work.
Edit: With Citizens Build #1037 Work again.
-
View User Profile
-
Send Message
Posted Jan 2, 2014Sometimes my npc's dont load any of their sentry stats, arent wearing armor etc. I rely on these npcs to drop an item which poses as a key to pass an important server test. Would anyone know why they aren't loading? This happens only sometimes after a server reset, other times they load like normal.
-
View User Profile
-
Send Message
Posted Jan 2, 2014Hi.
I have a question.
I make NPC white Citizens Sentry Plugin in the war arena.
But i hit the NPC, then comes the message "Your goal does not play in a war zone" and give not points when i kill the NPC. Players work fine.
I have the message translate from german to english. I hope you understand me.
-
View User Profile
-
Send Message
Posted Jan 1, 2014Hey for some reason when i create a pyro stormcaller or warlock the skins dont go on please help
-
View User Profile
-
Send Message
Posted Dec 31, 2013@g9gg999: just select the horse then do /npc equip
-
View User Profile
-
Send Message
Posted Dec 30, 2013"Sentry Mount" does not work well.
The "Sentinel" is standing and the horse through your body.
Greetings and thanks
-
View User Profile
-
Send Message
Posted Dec 29, 2013@midnightfender
To answer my own question, /sentry greeting ''
-
View User Profile
-
Send Message
Posted Dec 29, 2013Is there a way to make it so sentrys do not greet? I have 6 sentrys in an area and the feeling of walking in somewhere and being spammed by greetings is annoying.
-
View User Profile
-
Send Message
Posted Dec 28, 2013Hello, am getting this: http://pastebin.com/9AHdLUgZ error with 1.8 build of sentry. Am not 100 percent sure if its sentry, but when I remove it, everything is fine. What might be wrong?
-
View User Profile
-
Send Message
Posted Dec 26, 2013if you're to lazy to deal with the zip file... Link Removed: http://www.mediafire.com/download/wj681t6am1mdpu8/Sentry.jar
-
View User Profile
-
Send Message
Posted Dec 23, 2013Hello,
Is there a way when creating a mounted sentry to equip armor to horses?
Thanks.
-
View User Profile
-
Send Message
Posted Dec 14, 2013@usevalue
It's on the wiki at http://wiki.citizensnpcs.co/Sentry v1.6.1
I'm trying to get the version #'s aligned with Bukkit's numbers... which jrbudda also disregarded, another thing for us to talk about whenever he comes online and doesn't ignore me.
-
View User Profile
-
Send Message
Posted Dec 14, 2013Could you put a link to the latest (think it was 1.7.something) CB 1.6.4 build? I love this plugin, but it took me a while to figure out why it wasn't working after I upgraded!
@jrbudda Whoops, nevermind.
-
View User Profile
-
Send Message
Posted Dec 14, 2013@Joro27
Having too many can load down your server a bit, but not all that bad. Lag-wise, you might say an NPC Sentry is equivalent to 10 or so zombies.
@adamwbb
You're running an outdated Citizens
Use this build: http://ci.citizensnpcs.co/job/Citizens2/1021/
@Anyone who encounters errors with the imperfect 'v1.8' jrbudda suddenly woke up and uploaded:
working 1.7 compat builds are on the wiki at http://wiki.citizensnpcs.co/Sentry - v1.7.1 is a tested and working update
I apologize for any confusion this might cause, jrbudda was disconnected for a while... hopefully he and I can talk soon and get everything together properly soon.
-
View User Profile
-
Send Message
Posted Dec 11, 2013Build for 1.7.2 is on the wiki and in the approval queue here on bukkit
-
View User Profile
-
Send Message
Posted Dec 7, 2013sentry isnt working im using the citizens and sentry for 1.6.4 i am using craftbukkit 1.6.4
-
View User Profile
-
Send Message
Posted Dec 5, 2013Do the npc-s/sentries slow your server when they are bigger number, or its always the same ?
-
View User Profile
-
Send Message
Posted Dec 4, 2013Thanks Man Peace!
-
View User Profile
-
Send Message
Posted Dec 4, 2013test here and found the problem.. inside worldguard region, if you set pvp deny ... you still hit the sentry but the tag event:PvNPC or event:PvSentry don't work
-
View User Profile
-
Send Message
Posted Dec 3, 2013@GXBProduction
... are you asking when Sentry and Citizens for 1.7.2 is coming? It's already here!
Citizens for 1.7.2: http://ci.citizensnpcs.co/job/Citizens2/
Sentry v1.7.1 is compatible with 1.7.2: http://wiki.citizensnpcs.co/Sentry
(Note about the version numbers: sentry v1.7.x is compatible with MC 1.7.x, the third number (x) is separate. 1.7.1 = first version targeted at MC 1.7.x, etc)