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.
@youngklps
Please no. Download it from the CI. Don't trust random unaffiliated individuals with binary releases...
@Sollembum78
Hey Man,I would like to get Sentry 1.8.7 from you:)
@Sollembum78
I wouldn't trust random file sharing.
The CI is back online already as of yesterday.
@BSidiocy
I can send you sentry for 1.8.7, downloaded it earlier from site. Also citizens and trader.
@BSidiocy
@YuuNyuu
Sorry, Citizens network is temporarily down while we deal with bugs. Should be back up soon!
The links to download new versions here : http://wiki.citizensnpcs.co/Sentry#Updates
They don't work for me : 502 Bad Gateway. =/
Where can I find the latest running version of sentry? Currently running Spigot 1.8.7
Your website seems dead ..
@mcmonkey4eva
Ahhh! Right on man, thanks a ton! Your time is appreciated. Enjoy the rest of your day! :)
@THEREALbabyeater
You can try toggling the "use-new-finder" Citizens config setting. If neither value works as well as you want... you can bug the Citizens dev team in #citizens on irc.esper.net (IRC channel) or the Citizens issue page requesting an upgrade to the pathfinding code to better handle your setup.
Any tips on how I can make tracking a bit better while a Sentry is in water? The Sentry tends to just spin in an endless circle near shore or float out in the water, lol. Thanks again! I appreciate it. -Mr_B
@mcmonkey4eva
Eh, good point friend. I didn't think about it like that. I just assumed it might be there already and nobody ever wanted to use the plugin like that, lol. Thanks for the heads up! Take care!
-Mr_B
@THEREALbabyeater
Do you how any idea how expensive it would be to do pathfinding code over potentially thousands of blocks in every direction? 100 block radius = 100 * 100 * 100 = 1,000,000 blocks to calculate through already.
Hey there! Great plugin, really excited to start using it!
I've got one question - is it possible to set the range of which a Sentry can track a player, or target you set it to go after, higher than 100 blocks? I am trying to make a boss that will basically track down a player that is closest no matter where they are at in the world, over time. Weird, I know... its for a quest though for a community event of sorts.
So basically, would it be possible to allow individuals like myself to set the tracking range higher than 100? If not, perhaps you can keep that suggestion in mind in your next update!
Worst comes to worst, do you (or anyone reading this) know of a way to make my Sentry track someone from a very far distance, traversing water and mountains if necessary?
Thanks in advance! I appreciate it! -Mr_B
@AleNova15551
You can do it with a Denizen script.
@AleNova15551
Good idea if it isn't implemented already. Make yourself some sentry prison guards or something :P
is it impossible to make npc attack if player holding a sword? Or anything else?
Hey, is there any way to make flying sentries? The /npc gravity and /npc flyable options from Citizens2 work, but Sentries can't handle the pathfinding if they are toggled on (even if they just have to walk across flat ground).
@nocaption
Works for all versions, you just have to get the right copy of Sentry for the version -> http://wiki.citizensnpcs.co/Sentry#Updates
does this work for 1.8.7 or spigot 1.8? :)
@mcmonkey4eva
sorry, can you make a Complete tutorial for sentry drop.
lore: line1 line2 line3