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 25, 2015@Mrswiggyman
That error has nothing to do with sentry. Looks like some form of 'mobdifficulty' plugin.
-
View User Profile
-
Send Message
Posted May 25, 2015I'm experiencing an error when using the 1.7.10 protocol hack. Here is the error code: http://pastebin.com/j6RDLQr4
-
View User Profile
-
Send Message
Posted May 24, 2015Have a problem when giving my sentry a mount. If I try and give the mount a path, it won't move. If I try and give the mounted NPC a path, it will move endlessly in circles. How do I fix this?
Thanks.
-
View User Profile
-
Send Message
Posted May 23, 2015@danin11CZ
http://wiki.citizensnpcs.co/Sentry#Updates
-
View User Profile
-
Send Message
Posted May 22, 2015@mcmonkey4eva
Where I can find Sentry for 1.8 ?
-
View User Profile
-
Send Message
Posted May 22, 2015@danin11CZ
You're running Sentry for 1.7.9 on a non-1.7.9 server. Get your files in order.
-
View User Profile
-
Send Message
Posted May 22, 2015Hi, i have one problem if i type in chat /trait sentry it says Please Report This Error: [See console] java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R3/Packet how fix this error
-
View User Profile
-
Send Message
Posted May 17, 2015When i use /sentry target add entity:monster i'm get error:
http://pastebin.com/EWx9jxXM
My server run Spigot 1.8.3 with sentry version v.1.8.5
Can you help me please ?
-
View User Profile
-
Send Message
Posted May 11, 2015@mcmonkey4eva
Haha I feel silly, Thank you!
-
View User Profile
-
Send Message
Posted May 10, 2015@keeganjohn
Yeah you're on 1.8, not "1.8.4" -> get the relevant Sentry build here: http://wiki.citizensnpcs.co/Sentry#Updates
-
View User Profile
-
Send Message
Posted May 10, 2015@mcmonkey4eva
[08:25:56] [Server thread/INFO]: This server is running CraftBukkit version git-Bukkit-ee6d0fa (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)[m [08:25:56] [Server thread/INFO]: You are 61 version(s) behind[m
-
View User Profile
-
Send Message
Posted May 8, 2015@keeganjohn
You're on /what version/ precisely? Check the output of the command "version" in your console?
-
View User Profile
-
Send Message
Posted May 8, 2015Hello, I have a problem a lot like many people here. I had this plugin installed when my server was a 1.7.9 server, then when I updated to 1.8.4 I also updated all my plugins, including citizens. Now, everytime I start up the server I get the error "java.lang.NoClassDefFoundError: net/minecraft/server/v1_8_R2/Packet" for every npc that has this trait attatched, and none of those npc's do anything related to sentry. If I need a different version of sentry, some help finding the right version would be appreciated because I've tried multiple versions now and none of them have fixed the problem.
-
View User Profile
-
Send Message
Posted May 5, 2015@Aiden1611
http://wiki.citizensnpcs.co/Sentry#Updates get the correct version of Sentry here
-
View User Profile
-
Send Message
Posted May 5, 2015Hi i have problem. I'm on CraftBukkit 1.7.5 When I entered the command (/trait sentry) shows the message http://img.pl/lRfh http://img.pl/mRfh I try use version 1.8.2 and 1.8.0 Anyone know how to fix it? I use translator.
-
View User Profile
-
Send Message
Posted May 5, 2015@mcmonkey4eva
Thank you
-
View User Profile
-
Send Message
Posted May 4, 2015@silentspectr
You have Sentry for 1.7.9, get the correct version at http://wiki.citizensnpcs.co/Sentry#Updates
-
View User Profile
-
Send Message
Posted May 4, 2015Hi i'm on CraftBukkit 1.7.10 and sentry 1.8.2 and when i try to create a new sentry, the console send me this error
http://pastebin.com/zXfLsKaV
is it because the 1.8.2 version isn't compatible or something else ?
thanks
-
View User Profile
-
Send Message
Posted May 3, 2015How to stop mobs from attacking my sentry?
-
View User Profile
-
Send Message
Posted Apr 20, 2015I was able to figure it out, I just kind of read through your comments and did some reading to find the solution to my problem. Thank you guys