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 nocaption nocaption Jul 14, 2015 at 02:23 UTC - 0 likes

    does this work for 1.8.7 or spigot 1.8? :)

  • Avatar of linghun91 linghun91 Jul 09, 2015 at 09:19 UTC - 0 likes

    @mcmonkey4eva: Go

    sorry, can you make a Complete tutorial for sentry drop.

    lore: line1 line2 line3

  • Avatar of mcmonkey4eva mcmonkey4eva Jul 09, 2015 at 06:48 UTC - 0 likes

    @youngklps: Go

    Poor at research too, it seems. Updates are available here:

  • Avatar of youngklps youngklps Jul 09, 2015 at 02:46 UTC - 0 likes

    @mcmonkey4eva Minecraft 1.8 is out! But when I use Spigot 1.8,I can't create a sentry.Update it to 1.8 please Sorry I'm poor at English because I'm a Chinese:(

  • Avatar of mcmonkey4eva mcmonkey4eva Jul 08, 2015 at 22:59 UTC - 0 likes

    @linghun91: Go

    Lore is done like so: - drop "i@diamond[lore=A fancy gem!]" qty:5

    @linghun91: Go

    No idea what you mean by that mod stuff

  • Avatar of linghun91 linghun91 Jul 08, 2015 at 22:39 UTC - 0 likes

    @mcmonkey4eva: Go

    Can you add features like CustomNPCs MOD,npc [Aggressive,Friendly,Neutral] and more features like thie mod

  • Avatar of linghun91 linghun91 Jul 08, 2015 at 08:30 UTC - 0 likes

    @mcmonkey4eva: Go

    How to describe LORE

  • Avatar of linghun91 linghun91 Jul 08, 2015 at 03:45 UTC - 0 likes

    @mcmonkey4eva: Go

    well!!! love you!!! How to make NPC equipment without attributes, i' set /sentry npc damage=1

    npc equip IRON_SWORD then npc damage=1

  • Avatar of mcmonkey4eva mcmonkey4eva Jul 07, 2015 at 19:31 UTC - 1 like

    @linghun91: Go

    Use Denizen to add custom drops.

    Sample Denizen comfig for a custom drop:

      type: assignment
        on assignment:
        - trigger name:npcdeath state:true
        on npcdeath:
        - if <util.random.decimal[1].to[100]> < 5 {
          - drop i@diamond qty:5
  • Avatar of linghun91 linghun91 Jul 07, 2015 at 10:36 UTC - 0 likes

    @mcmonkey4eva: Go

    Hi,i love your plugins If you add a custom drop function, it will be perfect

    Such as.... i create a sentry heal:50 damage:3 .... .... .. drop ID:261 1(amount) 0.05(Chance) ID:267 1(amount) 0.05(Chance) lore: '1111111111111111111' lore: '2222222222222222222' lore: '3333333333333333333' lore: '4444444444444444444' lore: '5555555555555555555'

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