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 mcmonkey4eva mcmonkey4eva Mar 23, 2015 at 16:19 UTC - 0 likes

    @MiddleAgesMMO: Go

    Op yourself, admin should override a typo in ownership.

  • Avatar of MiddleAgesMMO MiddleAgesMMO Mar 23, 2015 at 11:58 UTC - 0 likes

    um after a name change i cant edit any sentry? i changed the owner name to my new name in citizens file? any help?

  • Avatar of mcmonkey4eva mcmonkey4eva Mar 22, 2015 at 21:37 UTC - 0 likes
  • Avatar of piskissed1 piskissed1 Mar 22, 2015 at 16:26 UTC - 0 likes

    Can you make KingdomsLite Support for Kingdom vs Kingdom server?

  • Avatar of zrmulikung zrmulikung Mar 22, 2015 at 11:09 UTC - 0 likes

    @mcmonkey4eva: Go

    give me sentry for 1.8 server plz

  • Avatar of mcmonkey4eva mcmonkey4eva Mar 21, 2015 at 21:17 UTC - 0 likes

    @zrmulikung: Go

    You're running Sentry for 1.8.3 on a 1.8 server. Downdate or update things as needed.

  • Avatar of zrmulikung zrmulikung Mar 21, 2015 at 14:02 UTC - 0 likes

    I need help!

    [20:55:48] [Server thread/ERROR]: [Citizens] An exception occurred while the trait sentry was spawning for NPC ID 0. [20:55:48] [Server thread/WARN]: java.lang.NoClassDefFoundError: net/minecraft/server/v1_8_R2/Packet [20:55:48] [Server thread/WARN]: at net.aufdemrand.sentry.SentryTrait.ensureInst( [20:55:48] [Server thread/WARN]: at net.aufdemrand.sentry.SentryTrait.onSpawn( [20:55:48] [Server thread/WARN]: at net.citizensnpcs.npc.CitizensNPC.spawn( [20:55:48] [Server thread/WARN]: at net.citizensnpcs.npc.CitizensNPC.load( [20:55:48] [Server thread/WARN]: at net.citizensnpcs.api.npc.SimpleNPCDataStore.loadInto( [20:55:48] [Server thread/WARN]: at net.citizensnpcs.Citizens$ [20:55:48] [Server thread/WARN]: at [20:55:48] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat( [20:55:48] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.z( [20:55:48] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.z( [20:55:48] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.y( [20:55:48] [Server thread/WARN]: at [20:55:48] [Server thread/WARN]: at Source) [20:55:48] [Server thread/WARN]: Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_8_R2.Packet [20:55:48] [Server thread/WARN]: at [20:55:48] [Server thread/WARN]: at [20:55:48] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source) [20:55:48] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)

  • Avatar of thor999929 thor999929 Mar 17, 2015 at 21:06 UTC - 0 likes

    After updating to the 1.8.3 dev version for spigot 1.8.3, targeting doesn't seem to work. Sentries no longer pursue players when seeing them; they only fight back if attacked.

  • Avatar of mcmonkey4eva mcmonkey4eva Mar 12, 2015 at 23:24 UTC - 0 likes

    @zafer00: Go

    We do not provide back-support. Update your server.

  • Avatar of zafer00 zafer00 Mar 12, 2015 at 20:56 UTC - 0 likes

    Please fix 1.7.10 version npc cant target entity:all only entity:<playername> . Fix that bug pls

Your favorite Brigade?

  1. Choice:

  1. Results
  2. 1 comment


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