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 woeterman94 woeterman94 Sep 08, 2014 at 21:32 UTC - 0 likes

    @mcmonkey4eva: Go

    I can't find a 1.7.10 version for citizens...


  • Avatar of mcmonkey4eva mcmonkey4eva Sep 05, 2014 at 23:21 UTC - 0 likes

    @MrHollick: Go

    You're running 1.7.10 Citizens on a 1.7.9 server. Update the server or downdate Citizens.

  • Avatar of MrHollick MrHollick Sep 05, 2014 at 05:06 UTC - 0 likes

    Hoping you might take a look at this small clip from server restart and see why Im getting these trait errors

    thank you

  • Avatar of mcmonkey4eva mcmonkey4eva Sep 03, 2014 at 01:48 UTC - 0 likes

    @Teddestroyer: Go

    You're running Sentry for 1.7.10 on a 1.7.9 server - downdate Sentry or update the server.

  • Avatar of Teddestroyer Teddestroyer Sep 03, 2014 at 01:16 UTC - 0 likes

    ERROR here [21:50:45 WARN]: java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R4/Packet [21:50:45 WARN]: at net.aufdemrand.sentry.SentryTrait.ensureInst( [21:50:45 WARN]: at net.aufdemrand.sentry.SentryTrait.onSpawn( [21:50:45 WARN]: at net.citizensnpcs.api.npc.AbstractNPC.addTrait( [21:50:45 WARN]: at net.citizensnpcs.api.npc.AbstractNPC.addTrait( [21:50:45 WARN]: at net.citizensnpcs.commands.TraitCommands.addTrait( [21:50:45 WARN]: at net.citizensnpcs.commands.TraitCommands.toggle( [21:50:45 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [21:50:45 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [21:50:45 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [21:50:45 WARN]: at java.lang.reflect.Method.invoke(Unknown Source) [21:50:45 WARN]: at net.citizensnpcs.api.command.CommandManager.executeMethod( [21:50:45 WARN]: at net.citizensnpcs.api.command.CommandManager.execute( [21:50:45 WARN]: at net.citizensnpcs.api.command.CommandManager.executeSafe( [21:50:45 WARN]: at net.citizensnpcs.Citizens.onCommand( [21:50:45 WARN]: at org.bukkit.command.PluginCommand.execute( [21:50:45 WARN]: at me.Incomprehendable.WorldPlugins.FakeSimpleCommandMap.dispatch( [21:50:45 WARN]: at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand( [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand( [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.PlayerConnection.a( [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.PacketPlayInChat.a( [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle( [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.NetworkManager.a( [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.v( [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.DedicatedServer.v( [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.u( [21:50:45 WARN]: at [21:50:45 WARN]: at [21:50:45 WARN]: Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R4.Packet [21:50:45 WARN]: at [21:50:45 WARN]: at [21:50:45 WARN]: at java.lang.ClassLoader.loadClass(Unknown Source) [21:50:45 WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)

  • Avatar of mcmonkey4eva mcmonkey4eva Sep 02, 2014 at 19:34 UTC - 0 likes

    @madtomic: Go

    1.7.9 build is compatible with all 1.7.9-r0.x. If you're getting an error, you might want 1.8.2b2 from the wiki

    Last edited Sep 02, 2014 by mcmonkey4eva
  • Avatar of madtomic madtomic Sep 02, 2014 at 19:17 UTC - 0 likes

    update coming for cb1.7.9-r0.2?

  • Avatar of Telson Telson Aug 29, 2014 at 04:14 UTC - 0 likes

    Just installed the latest version of Citizens 2 and Sentry. They are the only 2 plugins i have.

    For some reason, the sentries cant damage other sentries or me. it can damage and be damaged by mobs though. Any idea?

  • Avatar of mcmonkey4eva mcmonkey4eva Aug 23, 2014 at 18:00 UTC - 0 likes

    @iSynn: Go

    You downloaded 1.7.9-compatible Sentry. Get 1.8.2b3 here

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