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 Nov 15, 2013@ITOOKURWALLET
Select an NPC (using /npc select )
//then do /trait sentry
//Now you have a Sentry!
@Beyeni
@dms1
Update to the latest build of Sentry from -> http://wiki.citizensnpcs.co/Sentry
//You'll also need the latest Citizens from -> http://ci.citizensnpcs.co/job/Citizens2/
//-+ Hi everyone, I'm mcmonkey, a developer of the Denizen plugin for Citizens and I work with the Citizens team for various things. Jrbudda seems to have gone MIA... so, for now, I'm going to be maintaining Sentry as best I can. I don't have access to this Bukkit page but I have been granted access to the Wiki page so I will keep it updated there.
//If you're having trouble with Sentry, feel free to bug me on the Citizens IRC at -> http://webchat.esper.net/?channels=citizens
-
View User Profile
-
Send Message
Posted Nov 15, 2013and i get "and internal error occurred while attempting to perform this command..please help.....
-
View User Profile
-
Send Message
Posted Nov 15, 2013every time i do /sentry (anycommand) i get an error "that command must be performed on a sentry" i dont know how to select a sentry..a sentry is an npc right...please help
-
View User Profile
-
Send Message
Posted Nov 14, 2013im getting spammed with errors
code read from bottom up
NPE happened as i removed the npc
-
View User Profile
-
Send Message
Posted Nov 10, 2013@MozartMozart
no spaces between hyphens
/npc create [name]
trait Sentry-
View User Profile
-
Send Message
Posted Nov 8, 2013Aser843,
I got the same error. How did you fix it? I'd really like to implement this plugins on my server. I've tried updating everything to the latest versions but nothing seems to be working.
-
View User Profile
-
Send Message
Posted Nov 6, 2013Aser,
How did you fix it? I am getting the same error and can't figure out what the issue is...
-
View User Profile
-
Send Message
Posted Nov 4, 2013why do i keep getting the error "java.lang.NoClassDefFoundError:net/minecraft/server/v1_6_R2/Packet" when i try to do /trait sentry will somebody help me? i really need sentry on my server -edit i fixed it never mind
-
View User Profile
-
Send Message
Posted Nov 3, 2013@aser843
@Papychampi
As jrbudda said just a few posts below, the 1.6.4 version (Sentry 1.5.3) is on the wiki. Click the Citizens 2 Wiki link above, and then click the download link on that page. I'm running it on a 1.6.4 server with no problems.
-
View User Profile
-
Send Message
Posted Nov 2, 2013I'm with Papychampi i really need this plugin for my server so we all ask you pretty please update it! for the rpg servers out there that need it!
-
View User Profile
-
Send Message
Posted Oct 31, 2013Hi, I'm french and I installed this plugin on my server but the plugin is not ready for the 1.6.4 minecraft version so could you update quickly because this plusgin is very helpful to our server.
-
View User Profile
-
Send Message
Posted Oct 29, 2013What texture pack is this? o.O
-
View User Profile
-
Send Message
Posted Oct 26, 2013can you add drop chance? Thanks
-
View User Profile
-
Send Message
Posted Oct 25, 2013hello, I have configured my npc soldier as sentry and giving it proper strength heatlth etc.
But when i try to hit it, nothing happens. it takes no damage from me. Also when the npc tries to hit me, i take no damage.
i tried a lot of things vulnerability, invincability. i'm not in creative mode or anything i even tried it withouth any other plugins (so only citizens 2 and sentry) it still won't work.
the only warning i get is this one:
2013-10-25 19:46:44 [WARNING] [Sentry] No permission groups found. the GROUP target will not function.
might that be the problem?
-
View User Profile
-
Send Message
Posted Oct 22, 2013Feature Request:
darkness19
-
View User Profile
-
Send Message
Posted Oct 21, 2013question when i mount a horse to a guard and some lil bastard goes up to it and kills just the horse why doesn't the horse respawn
-
View User Profile
-
Send Message
Posted Oct 21, 2013Would it be possible to add a hook for the "villages" plugin?
-
View User Profile
-
Send Message
Posted Oct 14, 2013the build for 1.6.4 is on the wiki.
-
View User Profile
-
Send Message
Posted Oct 13, 2013@pimsserver
same link here but with out the spam http://espercraft.net/plugins/Sentry%201.5.3.zip
-
View User Profile
-
Send Message
Posted Oct 12, 2013@derbyblaster
That means that it's outdated. Try this version: http://www.sendspace.com/file/fuk6r9