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 May 7, 2013UPDATE TO 1.5.2!!!!!
-
View User Profile
-
Send Message
Posted May 7, 2013Hey, is it possible to make this plugin compatible with cracshot to make npc who can use weapons ? It would be awesome :D
-
View User Profile
-
Send Message
Posted May 6, 2013@drawnzer54
Just set a waypoint and he'll go back
-
View User Profile
-
Send Message
Posted May 6, 2013working good but except that when i set it to guard someone when the user teleports to another world the sentry will follow him how i make sentry guard him in only 1 world?
-
View User Profile
-
Send Message
Posted May 6, 2013Is there any way to have the sentry return to their original position after killing the targets within their range?
Or will I have to code up a behavioral script for that?
-
View User Profile
-
Send Message
Posted May 6, 2013@jrbudda
Thx! Ive been waiting so long xD
-
View User Profile
-
Send Message
Posted May 6, 2013@rocky398
The updated version is available on the wiki page
-
View User Profile
-
Send Message
Posted May 5, 2013@jrbudda
When is this getting updated? In 1.5.2 the latest version doesnt support. Please update it soon :( my server runs on NPC battles. Please update it soon. My players are waiting.
-
View User Profile
-
Send Message
Posted May 4, 2013I get an error when trying to give the class "Sentry" trait: /npc create Test
trait Sentry (You created Test with traits .") SLASHtrait Sentry (if I use / instead of slash, it becomes red) http://i.imgur.com/CUN88rM.png== Image ==Here's the log: http://pastebin.com/r4duKuzc
-
View User Profile
-
Send Message
Posted May 4, 2013@Coffeebuzz77
Check for console errors, if you are getting them re-download the plugin and check again. There was an error I fixed but the bad .jar was up for about 10 minutes.
-
View User Profile
-
Send Message
Posted May 4, 2013Hi jrbudda,
Installed update... getting odd results. Not getting damage feedback when i strike a sentry, they are not giving their warnings, and those with BOWS arent firing at their targets.
EDIT: seems BOW holders have the largest glitch.. but I cannot harm any of them .. they will get pushed back like they were hit.. but they dont make the "hit" sound and their health does not drop. I checked the proper settings on the sentry and it has the proper settings such as invulnerable false, player as target, proper armor and health, range and whatnot.
-
View User Profile
-
Send Message
Posted May 4, 2013Update is available on the wiki
-
View User Profile
-
Send Message
Posted May 4, 2013X_X
X_X
X_X
X_X
X_X
I LOVE PLUGINS :D :D :D :D :D
-
View User Profile
-
Send Message
Posted May 4, 2013How long does it take to update 1 day 3 days or 3 years :/
-
View User Profile
-
Send Message
Posted May 4, 2013Can you make it so sentrys can attack certain guilds from the plugin called GUILDS
-
View User Profile
-
Send Message
Posted May 4, 2013Please updateee <3 <3 <3 <3
-
View User Profile
-
Send Message
Posted May 4, 2013500th Comment :D By the way awesome plugin!
-
View User Profile
-
Send Message
Posted May 3, 2013Please update soon! :) Keep up the great work!
-
View User Profile
-
Send Message
Posted May 3, 2013Also looking forward to the 1.5.2 update.. Amazing plugin. This and RPGitems are the heart of my server.
Thanks so much.
-
View User Profile
-
Send Message
Posted May 3, 2013I get that. How soon until an update?