Sentry for Citizens2

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.


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.


A full list of commands and options is available on the Citizens 2 Wiki


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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of TeamL TeamL May 03, 2016 at 19:31 UTC - 0 likes

    Can you pleeeeaaase update this to 1.8.8? :):):):):)

  • Avatar of mcmonkey4eva mcmonkey4eva Apr 26, 2016 at 02:30 UTC - 0 likes

    @ProtoTypeEU: Go

    Update to more modern versions, that was a bug in older ones.

    Also, if you use 1.9.2, consider replacing Sentry with Sentinel: (Note: Not advertising... I'm the present maintainer of Sentry as appointed by the Citizens team, and I chose to drop the project in favor of the replacement, Sentinel)

  • Avatar of ProtoTypeEU ProtoTypeEU Apr 25, 2016 at 23:38 UTC - 0 likes

    Hi, nice job, this plugin is just awesome, but i have one problem with it.

    When i kill some sentry even if i write /sentry drops or /sentry killdrops and in each one says "Sentry will not drop items or exp", it does, any fix for it? Thank you very much

  • Avatar of 123123b 123123b Apr 18, 2016 at 01:48 UTC - 0 likes

    @itzshaun343: Go

    Npcs can attack each other, use NPC:<Npc name> But @itzshaun343 the only weapon they can really use to shoot is a bow. Plus the AI wouldn't be as good. They won't move up to the guy to attack if the sentry holds a gun. They won't follow the guy to continue shooting him. They will shoot while holding the item when they are walking, making it seem like aimbot or something. Adding guns would be amazing.

  • Avatar of itzshaun343 itzshaun343 Apr 08, 2016 at 15:57 UTC - 0 likes

    @123123b you need to make a texture pack with a gun in and make it hold the item you retextured

  • Avatar of itzshaun343 itzshaun343 Apr 08, 2016 at 15:56 UTC - 0 likes

    can they attack eachother

  • Avatar of 123123b 123123b Apr 08, 2016 at 01:18 UTC - 0 likes

    Hey, here is a suggestion @jrbudda:

    Npcs holding and using guns. For my server I want my npcs to use guns, is this possible with the sentry plugin?

  • Avatar of Toryar Toryar Apr 07, 2016 at 13:35 UTC - 1 like

    Hello , when I made ​​the / sentry line it writes : java.lang.noClassDeffoundError: Could not initialize class net.citizensnpcs.npc.EntityControllers

    Please Help me or fix that


  • Avatar of semirotta semirotta Apr 04, 2016 at 15:31 UTC - 0 likes

    @mcmonkey4eva: Go

    Where can I find sentinel permissions? I use atm sentry which has started to glitch (error:

    VIP ranked players have access to /npc list and /npc select commands from Citizens and /sentry guard command from Sentry plugin. Unfortunately right now sentry is out dated and I don't find Sentinel plugin permissions anywhere. Would do this same with Sentinel command; /sentinel guard so they can stop the NPC or make it follow again.

    Last edited Apr 04, 2016 by semirotta
  • Avatar of mcmonkey4eva mcmonkey4eva Apr 03, 2016 at 20:21 UTC - 0 likes

    @theangeldemqn: Go but also check out our replacement project, Sentinel. You can inquire about that on IRC @

Your favorite Brigade?

  1. Choice:

  1. Results
  2. 2 comments


Date created
Sep 11, 2012
Last update
Jun 03, 2014
Development stage
  • enUS
Public Domain
Curse link
Sentry for Citizens2
Recent files