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.
Features
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.
Installation
- Install Citizens2 You must use the correct version for your version of Bukkit
- Download the correct Sentry from the Citizens Wiki. You must use the correct version for your version of Bukkit
- Place Sentry.jar in your minecraft /plugins/ directory. Start your server.
- Create a NPC with Citizens and give it the 'sentry' trait.
/npc create Town Guard --trait sentry
- Customize your Sentry's stats and options and you're ready to go.
A full list of commands and options is available on the Citizens 2 Wiki
Configuration
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.
![]()


-
View User Profile
-
Send Message
Posted Mar 21, 2013Update for 1.5.1 is posted on the wiki page.
-
View User Profile
-
Send Message
Posted Mar 21, 2013@dimkad
You have craftbukkit and citizens for 1.5 but Sentry for 1.4.7
-
View User Profile
-
Send Message
Posted Mar 21, 2013UPDATE PLEASE!!!!
-
View User Profile
-
Send Message
Posted Mar 21, 2013@dimkad
put it in pastebin.com o.O
-
View User Profile
-
Send Message
Posted Mar 21, 2013Also:
2013-03-20 05:26:37 [INFO] [Sentry] Could not register with Denizen 2013-03-20 05:26:37 [INFO] [Sentry] Could not find or register with Towny 2013-03-20 05:26:37 [INFO] [Sentry] Could not find or register with Factions. 2013-03-20 05:26:37 [INFO] [Sentry] Could not find or register with War. 2013-03-20 05:26:37 [INFO] [Sentry] Could not find or register with SimpleClans.
[WARNING] [Citizens] Task #44 for Citizens v2.0.8-SNAPSHOT (build 772) generated an exception java.lang.NoClassDefFoundError: net/minecraft/server/v1_4_R1/Packet at net.aufdemrand.sentry.SentryTrait.ensureInst(SentryTrait.java:132) at net.aufdemrand.sentry.SentryTrait.onSpawn(SentryTrait.java:111) at net.citizensnpcs.npc.CitizensNPC.spawn(CitizensNPC.java:199) at net.citizensnpcs.npc.CitizensNPC.load(CitizensNPC.java:129) at net.citizensnpcs.api.npc.SimpleNPCDataStore.loadInto(SimpleNPCDataStore.java:36) at net.citizensnpcs.Citizens$1.run(Citizens.java:275) at org.bukkit.craftbukkit.v1_5_R1.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_5_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344) at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:512) at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_4_R1.Packet at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 13 more
-
View User Profile
-
Send Message
Posted Mar 21, 2013ETA on when it will be updated mate?
-
View User Profile
-
Send Message
Posted Mar 21, 2013@dimkad
Are you getting console errors?
-
View User Profile
-
Send Message
Posted Mar 21, 2013Yea Bukkit updated the path names in 1.5.1, I don't know why. Ever since 1.4.5 each time they do that plugins break.
-
View User Profile
-
Send Message
Posted Mar 21, 2013needs update to 1.5.1 http://pastebin.com/dzcv51cB
-
View User Profile
-
Send Message
Posted Mar 21, 2013Same Here its really annoying
-
View User Profile
-
Send Message
Posted Mar 20, 2013I can my Sentry not death,
when i make /npc create Guard # ENTER!
i cann kill him and when i make
/trait sentry
i can't kill him, why? invincible is false, hmm oO
-
View User Profile
-
Send Message
Posted Mar 20, 2013@jurcurr
Something is wrong with your paste.
-
View User Profile
-
Send Message
Posted Mar 20, 2013@aceliip
LOOK ON THE WIKI PAGE!!!!
-
View User Profile
-
Send Message
Posted Mar 20, 2013PLEASE UPDATE FOR 1.5 PLEASE!!!!! I love this mod... ;(
-
View User Profile
-
Send Message
Posted Mar 20, 2013what am I doing wrong? if I can I create npc's kill him, and if I /trait sentry do then he is invincible but invincible OFF is :(
help :(
-
View User Profile
-
Send Message
Posted Mar 20, 2013Here are the errors, they appear when I hit them. And they don't deal damage, so maybe thats the reason why: http://pastebin.com/eXzeqpyx
-
View User Profile
-
Send Message
Posted Mar 19, 2013the Sentry's don't deal damage......
-
View User Profile
-
Send Message
Posted Mar 19, 2013jrbudda know a way that i can prevent the NPC's that are guarding the players to not follow them in like hunger games ? maybe be able to disable it in there?
-
View User Profile
-
Send Message
Posted Mar 19, 2013@jurcurr
Showing me that error text would be very helpful, please use pastebin.com and post the link here.
-
View User Profile
-
Send Message
Posted Mar 19, 2013Thanks for updating but there are some bugs, the very annoying spam text that shows errors al time. And when I hit a Sentry, will sometimes will take him sometimes infinity damage. And how long I tried, I can't kill him. But Thanks for this awasome plugin!