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 30, 2013Is it possible to implement the Wander waypoints?
So that the sentry can choose his own path (wander around).
-
View User Profile
-
Send Message
Posted Mar 26, 2013@Bontecou22
You need sentry for 1.5.1, its on the wiki
-
View User Profile
-
Send Message
Posted Mar 26, 2013:( Sniffle Sniffle WAAAA!!!!
-
View User Profile
-
Send Message
Posted Mar 26, 2013jrbudda I Wrote Something On Pastebin.com (Please Respond)
-
View User Profile
-
Send Message
Posted Mar 26, 2013I'm having an issue since updating to 1.5.1, sentrys can't die. Invincible setting is not on, they simply won't die. Anyone know how to fix this issue? Please help.
-
View User Profile
-
Send Message
Posted Mar 25, 2013@Bontecou22
Ah,sorry.
I do so.
thanx.
-
View User Profile
-
Send Message
Posted Mar 25, 2013Its Says Theres An Error Unlike Goody Two Shoes Vanillaicek Please Respond On Plante Minecraft
-
View User Profile
-
Send Message
Posted Mar 24, 2013Hi,thx for great plugin ))
But I got issue what I made bodyguard.
They were followed me, but It seemed they had not something like a collision.
(Bodyguard tried attack monsters, but they (as well as monsters) couldn't give damage . )
I hope bodyguard will attacking monsters, so I set "sentry target add entity:monster"
P.S. Town guards works fine ))
please help me~~~
-
View User Profile
-
Send Message
Posted Mar 24, 2013@Dwarfsosi
Same problem. Can anyone fix this? ...
-
View User Profile
-
Send Message
Posted Mar 24, 2013Where is the wiki page? I can't find it, please respond :)
-
View User Profile
-
Send Message
Posted Mar 24, 2013With my npcs disappearing I don't get any errors in console, I just see one of my timed plugins ie announcer or buycraft riunning a scheduled command and then the npcs disappear. The citizen nps do not reappear but the sentrys do after about 5 seconds. ALL reappear after a /citizens reload though. This has only happened after 1.5 update so I have no idea what the issue is. If you could possibly point me in the right direction I would very much appreciate it. If you want to log on the server and see them doing it then it's play.AstraCraft.com:25571
Many thanks in advance Luke
-
View User Profile
-
Send Message
Posted Mar 23, 2013What texture pack do you use ?
-
View User Profile
-
Send Message
Posted Mar 23, 2013I can't give NPCs the Sentry trait, when I try to, this error comes up: http://pastebin.com/zRQayFcR
-
View User Profile
-
Send Message
Posted Mar 23, 2013@Dwarfsosi
Post the errors you are getting. pastebin.com please.
-
View User Profile
-
Send Message
Posted Mar 23, 2013Alright so, It not all the way fixed. At least not for me that is.. So when I install in BOTH the most recent version of Citizens and Sentry, it has a long server stream that says something like: Failed Sentry ID # 28, except with a lot more numbers. So then I get in a game, and all the npc's are functioning normally except for one problem. All my sentries are GONE! vanished! So, i've found a solution that works halfway but needs fixing. I have the latest citizens.jar, but I have the v. 1.3.3 3/19/2013 version of Sentry from the Wiki.
As I get on I THINK its all good, but this is the one where the sentries don't die! Thy function normally, attack who they are set to attack, but they don't die!
So you see, i've mix and matched so many of the versions and none of it works, as it was working fine in the previous minecraft update. So I need help! To RECAP: There is a problem in both sentry updates. In the most updated on, the whole sentry plugin just crashes and fails, and in the one before it, The sentries don't die!
-
View User Profile
-
Send Message
Posted Mar 23, 2013Hey guys, im getting all my npc dissapearing for 5 second everytime a timed command runs in the console, like when buycraft checks for purchases or announcer says an announcement and essentials runs save-all, is there any way to fix thispls?
Awesome plugin btw!!!!
server 1.5.1 latest dev citizens 2 latest snapshot sentry latest
-
View User Profile
-
Send Message
Posted Mar 22, 2013I still get the same error as generic123, i am using the latest Bukkit, Sentry and Citizens
-
View User Profile
-
Send Message
Posted Mar 22, 2013@jrbudda - works perfectly, thanks
-
View User Profile
-
Send Message
Posted Mar 22, 2013@generic123
Get 1.3.3.2 on the wiki.
-
View User Profile
-
Send Message
Posted Mar 21, 2013Hi. Having trouble killing sentry. Hit it multiple times and it shows 1/20 HP each time (does not die). Seems similar to jurcurrs comments back a page or two. I am on 1.5.0 and the error starts with
[SEVERE] Could not pass event EntityDamageByEntityEvent to Sentry v1.3.3 org.bukkit.event.EventException
In searching I found a pastebin entry similar to what I am seeing in my logs.
http://pastebin.com/cUnRM0vc
thanks