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.
@InTheSavaGe
Your Vault and Permissions versions are mismatched and incompat with each other, update them both to latest for best chance at functionality. Nothing to do with Sentry.
@jammylow29
Look at literally the post directly below yours @.@
when will it be for 1.8.1 servers
Full Sentry 1.8.x update is now available from the wiki page: http://wiki.citizensnpcs.co/Sentry
Can you add health on respawn or something?
If i give my npc 2000 Health they start after a respawn with 40 health and need too regenerate
@Si7VdeR
Update Sentry from the wiki page.
Latest spigot, latest citizens, latest sentry and I get this error when trying to create a Sentry. http://pastebin.com/3pQxNkL8
Is this compatible with spigot ? ..
i have a problem with sentry: - icant hit players but they "invulnerable;false","armor;0", and theà dont damage me, just stand, i cant hit them [only with entity id 631[Player]]
@Si7VdeR
Remake your Sentry NPC, it looks like something bug and its instance was lost. Make sure you're running the latest build on the wiki as well.
@liversnaprocks
That's weird 0.o I got nothing for you... it should work fine. It's been tested to work fine. Is there perhaps an error at startup or in the console anywhere or ... anything that would explain it? Also, you're using Vault, right?
Hello, I'm experiencing an issue with sentries, I add the target group:groupname and it still refuses to target the players of that group, I'm using PEX, does anyone have any experience with this problem?
Anything sentry related gives me this error: http://pastebin.com/GqBUarpV Help please, I want this but not sure if people are still updating this.
@mcmonkey4eva
I know it has something to do with Factions, but i'm using the latest version.
Downgrade will give problems with other plugins.
@gumgumpuntnl
You have the wrong version of Factions. Update or downdate to... whichever version Sentry likes, not sure which that is.
Getting the following error:
http://pastie.org/9801908
Using Citizenss #1200, Sentry #19, Factions 2.7.5
and Spigot with BuildTools #19.
Im using an older version of this for 1.5.2 (FTB server) and for some reason the sentry works, but wont move? Ive tried all sorts of combinations to engage but the sentry just stands there- Once I get close they hit me, but the wont follow/move- Am I missing something here? Not getting any errors...
Is there a way for us to have the sentries respect both vanish and godmode without having to set the ignore tag on every sentry?
hi! I have been liking this plugin, but have ran into a problem. Is there support for sentries to try and fight other sentries? Thanks.
@Romanovski
Citizens is updating even now, update to the latest dev build of C2. Any further trouble is C2 trouble and should be posted to /that/ issues page, not here.
How to Compile 1.8 Spigot/Craftbukkit/Bukkit Minecraft - Windows http://youtu.be/7SLMBja0N8k
I put the newest Citizens, Sentry and Denizen for 1.8 and now on my 1.8 spigot server the old NPC's from 1.7.10 server are invisible. Not having any issues creating brand new NPC though. Any Idea?
@halogeneral
You're running Sentry 1.7.9 on a non-1.7.9 server. Find the correct version here: http://wiki.citizensnpcs.co/Sentry#Updates