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 xio2070 xio2070 Nov 21, 2015 at 18:26 UTC - 0 likes

    Hey I'm having this error and i don't know how to fix it.

    This server is running CraftBukkit version git-Spigot-952179b-bc03b6f (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)

    Error java.lang.NoClassDefFoundError:net/minecraft/server/v1_8_R3/Packet

    To become truly great, one has to stand with people, not above them

  • Avatar of mcmonkey4eva mcmonkey4eva Nov 16, 2015 at 01:45 UTC - 0 likes
  • Avatar of hughjk hughjk Nov 15, 2015 at 23:21 UTC - 0 likes

    The system told me to report this error?

  • Avatar of Moderocky Moderocky Nov 13, 2015 at 17:56 UTC - 0 likes

    Shade056, Either your Citizens 2 is the wrong update (i.e: you need to get two for the same version) or you have the wrong version for what your server is running. I have checked it on my testing server and it works fine.

  • Avatar of Shade056 Shade056 Nov 08, 2015 at 06:20 UTC - 0 likes

    @mcmonkey4eva: Go


    Author aufdemrand, jrbudda Version 1.8.6 Citizens build 2.0.16 (Use with CraftBukkit 1.8.6) Other dependencies None required, Vault and a permissions plugin suggested. Download Link

    Yes, and I also downloaded the update one to try that.

    Last edited Nov 08, 2015 by Shade056
  • Avatar of mcmonkey4eva mcmonkey4eva Nov 08, 2015 at 05:42 UTC - 0 likes

    @Shade056: Go

    Then you didn't download off the page I linked.

  • Avatar of Shade056 Shade056 Nov 08, 2015 at 05:24 UTC - 0 likes

    @mcmonkey4eva: Go

    I downloaded the newest one and it still did not work, builder does not work either.

  • Avatar of mcmonkey4eva mcmonkey4eva Nov 08, 2015 at 03:48 UTC - 1 like

    @Shade056: Go

    Please download the correct version of Sentry for your minecraft version here:

  • Avatar of Shade056 Shade056 Nov 08, 2015 at 02:19 UTC - 0 likes

    I got this error for trying to make someone a sentry

    07.11 19:18:08 [Server] WARN ... 30 more 07.11 19:18:08 [Server] WARN at java.lang.ClassLoader.loadClass(Unknown Source) 07.11 19:18:08 [Server] WARN at java.lang.ClassLoader.loadClass(Unknown Source) 07.11 19:18:08 [Server] WARN at 07.11 19:18:08 [Server] WARN at 07.11 19:18:08 [Server] WARN Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R3.Packet 07.11 19:18:08 [Server] WARN at Source) 07.11 19:18:08 [Server] WARN at 07.11 19:18:08 [Server] WARN at net.minecraft.server.v1_8_R3.MinecraftServer.A( 07.11 19:18:08 [Server] WARN at net.minecraft.server.v1_8_R3.DedicatedServer.B( 07.11 19:18:08 [Server] WARN at net.minecraft.server.v1_8_R3.MinecraftServer.B( 07.11 19:18:08 [Server] WARN at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) 07.11 19:18:08 [Server] WARN at Source) 07.11 19:18:07 [Server] WARN at java.util.concurrent.Executors$ Source) 07.11 19:18:07 [Server] WARN at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$ 07.11 19:18:07 [Server] WARN at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(SourceFile:9) 07.11 19:18:07 [Server] WARN at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(SourceFile:37) 07.11 19:18:07 [Server] WARN at net.minecraft.server.v1_8_R3.PlayerConnection.a( 07.11 19:18:07 [Server] WARN at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand( 07.11 19:18:07 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand( 07.11 19:18:07 [Server] WARN at org.bukkit.command.SimpleCommandMap.dispatch( 07.11 19:18:07 [Server] WARN at org.bukkit.command.PluginCommand.execute( 07.11 19:18:07 [Server] WARN at net.citizensnpcs.Citizens.onCommand( 07.11 19:18:07 [Server] WARN at net.citizensnpcs.api.command.CommandManager.executeSafe( 07.11 19:18:07 [Server] WARN at net.citizensnpcs.api.command.CommandManager.execute( 07.11 19:18:07 [Server] WARN at net.citizensnpcs.api.command.CommandManager.executeMethod( 07.11 19:18:07 [Server] WARN at java.lang.reflect.Method.invoke(Unknown Source) 07.11 19:18:07 [Server] WARN at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 07.11 19:18:07 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 07.11 19:18:07 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 07.11 19:18:07 [Server] WARN at net.citizensnpcs.commands.TraitCommands.toggle( 07.11 19:18:07 [Server] WARN at net.citizensnpcs.commands.TraitCommands.addTrait( 07.11 19:18:07 [Server] WARN at net.citizensnpcs.api.npc.AbstractNPC.addTrait( 07.11 19:18:07 [Server] WARN at net.citizensnpcs.api.npc.AbstractNPC.addTrait( 07.11 19:18:07 [Server] WARN at net.aufdemrand.sentry.SentryTrait.onSpawn( 07.11 19:18:07 [Server] WARN at net.aufdemrand.sentry.SentryTrait.ensureInst( 07.11 19:18:07 [Server] WARN java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R3/Packet

  • Avatar of DannySan626 DannySan626 Oct 28, 2015 at 04:58 UTC - 1 like

    @mcmonkey4eva: Go

    Well, I did what you said, and I was not aware that my spigot was so outdated from the plugin. Thanks so much for the help =)

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