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 Apr 3, 2013you yourself understand what you're saying? It looks like: The original key goes to the door, and a copy of it not because it is blue!!!
you have the milk turned. why? because yesterday I was in a helicopter flew
how go mad? play in minecarft. no? then create the server! well? Yes, now I'm a psycho
Oh, but who are you? as this who I am! no I am I, and who are you? I was you! hmm I talk to myself?
-
View User Profile
-
Send Message
Posted Apr 3, 2013YES i found 1 pluggin, MODIFYWORLD werrry coool, so wath now? give permission to sentry? PEX not use
Where in MODIFYWORLD you see PVE PVP mode? yes in modifyworld.damage.* - it is PEX I NOT HAVE PEX REPEAT? yes it in config.... NO IT NOT CONFIG
this is nonsense! why, without bodyguards off PVP all the work? he only should be for the purpose of, and are transported with it or is it a new character who acts differently, who is writing a program?
I know why - bodyguards use modifyworld with off PVP! it new peson it hawe new code id like block yeeeee. nonsense!
-
View User Profile
-
Send Message
Posted Apr 3, 2013@Liger_XT5 aaaaaaaaa...
I have 4 copies of the server on the two operating systems in various configurations including configuration of just downloaded has only these two plug-in, say once more? how many time I repeat it, I am a professional programmer who developed more complex online, you me for долбали already!!!
I sent all away and decided to relax by making the server, but never thought that his developing such people, you their advice exasperate me already
I use citizens build 783 and sentry 1.3.3.2 fom this link http://www.sendspace.com/file/3emb6e
can I step to write as I load plugins and copy them on a separate computer? can I delete all the plug-ins of the planet earth? maybe I should create a parallel universe where there are only these two plug-ins
I don't know how it's all written, and I not want to know how you're programming, you may be geniuses JAVA, I just want to make the working server for their friends, and relax, I'm not a fan of the game and not working out for her or anything like that, I'm just tired of stupid tips
I want to forget about programming in General
-
View User Profile
-
Send Message
Posted Apr 3, 2013or must wait until sentry 1.5.1 release.
-
View User Profile
-
Send Message
Posted Apr 3, 2013why it says an internal error occurred while Attempting to perform this command ?
-
View User Profile
-
Send Message
Posted Apr 3, 2013@gamemoe
First off, calm down. Just because you are impatient doesn't mean the authors are just like anyone else with real lives.
Second, don't just unload plugins from ingame. Remove all the plugin jars to another folder. Then restart the server. That way only the citizens, and other suspicious plugins, are loaded.
Just because you unload them from ingame doesn't mean they are not still effecting the server.
Lastly, make sure you don't have a command block or something changing the game rules that has all PVE damage disabled.
-
View User Profile
-
Send Message
Posted Apr 3, 2013I NOT HAVE OTHER PLUGIN!!!!!
-
View User Profile
-
Send Message
Posted Apr 3, 2013Your bodyguard not work!!!! do you understand that? or not? he can't work because my mother sneezes, or an alien in another galaxy died?
-
View User Profile
-
Send Message
Posted Apr 3, 2013I UNLOAD ALL PLUGIN ONLY ONLY CITIZENS AND SENTRY AND BODYGUARDS NOT WORK NON DAMMAGE ONLY FOLLOW ON MONSTER!!!!!!!!!!!!!!!!!!!! I TEST ALL OPTIONS AVAILABLE
-
View User Profile
-
Send Message
Posted Apr 3, 2013@jrbudda
that is, if PVP off bodyguards can not kill the monsters? this is nonsense! why, without bodyguards off PVP all the work? It can be controlled?
-
View User Profile
-
Send Message
Posted Apr 2, 2013When setting "provider: wander" in the saves.yml the sentry seems to fly at high speed.
Anny suggestions on how the correct this function?
I like the sentry to walk random.
-
View User Profile
-
Send Message
Posted Apr 2, 2013@TjustinD
I have the same problem. How to make sentries go back to their positions?
-
View User Profile
-
Send Message
Posted Apr 1, 2013Sentries set as bodyguards obey PVP protection, check your other plugins, one of them is preventing the damage.
-
View User Profile
-
Send Message
Posted Apr 1, 2013my traits arent working it just says " cant change to sentry trait not found" is there a fix am i doing something wrong?
-
View User Profile
-
Send Message
Posted Apr 1, 2013@vanillaicek
i have problem like you
it a https://github.com/jrbudda/Sentry/issues/91 2 months ago
-
View User Profile
-
Send Message
Posted Apr 1, 2013is there a way to make sentries go back to their positions?
-
View User Profile
-
Send Message
Posted Mar 31, 2013if I use /sentry guard [player], then the npc can not hurt anyone
-
View User Profile
-
Send Message
Posted Mar 31, 2013@paulsoaresjrrox
Looks like you used a wrong build for your version of Bukkit.
-
View User Profile
-
Send Message
Posted Mar 30, 2013Can someone help me with this error please D:
7:56:07 PM CONSOLE: [INFO] xxXSniperShotXxx issued server command: /npc create Guard
trait sentry 7:56:07 PM CONSOLE: [SEVERE] java.lang.NoClassDefFoundError: net/minecraft/server/v1_4_R1/Packet 7:56:07 PM CONSOLE: [SEVERE] at net.aufdemrand.sentry.SentryTrait.ensureInst(SentryTrait.java:132) 7:56:07 PM CONSOLE: [SEVERE] at net.aufdemrand.sentry.SentryTrait.onSpawn(SentryTrait.java:111) 7:56:07 PM CONSOLE: [SEVERE] at net.citizensnpcs.api.npc.AbstractNPC.addTrait(AbstractNPC.java:64) 7:56:07 PM CONSOLE: [SEVERE] at net.citizensnpcs.commands.NPCCommands.create(NPCCommands.java:403) 7:56:07 PM CONSOLE: [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 7:56:07 PM CONSOLE: [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 7:56:08 PM CONSOLE: [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 7:56:08 PM CONSOLE: [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source) 7:56:08 PM CONSOLE: [SEVERE] at net.citizensnpcs.api.command.CommandManager.executeMethod(CommandManager.java:132) 7:56:08 PM CONSOLE: [SEVERE] at net.citizensnpcs.api.command.CommandManager.execute(CommandManager.java:87) 7:56:08 PM CONSOLE: [SEVERE] at net.citizensnpcs.api.command.CommandManager.executeSafe(CommandManager.java:156) 7:56:08 PM CONSOLE: [SEVERE] at net.citizensnpcs.Citizens.onCommand(Citizens.java:215) 7:56:08 PM CONSOLE: [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 7:56:08 PM CONSOLE: [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:187) 7:56:08 PM CONSOLE: [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:523) 7:56:08 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:966) 7:56:08 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:884) 7:56:09 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:841) 7:56:09 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44) 7:56:09 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) 7:56:09 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) 7:56:09 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) 7:56:09 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) 7:56:09 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:578) 7:56:09 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) 7:56:09 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:474) 7:56:09 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:407) 7:56:09 PM CONSOLE: [SEVERE] at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 7:56:10 PM CONSOLE: [SEVERE] Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_4_R1.Packet 7:56:10 PM CONSOLE: [SEVERE] at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) 7:56:10 PM CONSOLE: [SEVERE] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) 7:56:10 PM CONSOLE: [SEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 7:56:10 PM CONSOLE: [SEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 7:56:10 PM CONSOLE: [SEVERE] ... 28 more-
View User Profile
-
Send Message
Posted Mar 30, 2013@Drazhar753
I am having the same issue.