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 Dec 22, 2012What Sentry version is compatible with Craftbukkit 1.4.6 R0.1?
-
View User Profile
-
Send Message
Posted Dec 22, 2012Oh wait, changing stats does work, just not the greeting stuff or targeting. Am I supposed to edit anything in the config for that to apply or should it just be ready to go as it is?
-
View User Profile
-
Send Message
Posted Dec 22, 2012Anything, I'm using the very default config, which i'm assuming should for example all sentries target monsters? For me, when i create a sentry this has to be applied manually. And I've tried changing things like stats but it doesn't want to apply :(
-
View User Profile
-
Send Message
Posted Dec 21, 2012@aelodia
I will look into simpleclans2, though from the looks of it it's still in development.
@Tritek
Not really, Heros has issues with NPCs in general and their devs don't want to fix it.
@wrigglybear
I got nothin, what options are you changing in the config.yml that aren't being applied?
-
View User Profile
-
Send Message
Posted Dec 21, 2012This plugin support Heroes?
-
View User Profile
-
Send Message
Posted Dec 21, 2012The simpleclan target works good with simpleclan1, but when we would have compatibility with simpleclan2 ? Ive tryed it, it just doesnt work.
Thanks to the dev team of sentry ;)
ps: is there a dev build aviable somewhere ?
-
View User Profile
-
Send Message
Posted Dec 20, 2012Just tried it, no luck I'm afraid. Could anything be conflicting or something? I honestly don't know :(
-
View User Profile
-
Send Message
Posted Dec 20, 2012@wrigglybear
Maybe the config file is corrupted? try moving or renaming it and letting Sentry create a fresh one.
-
View User Profile
-
Send Message
Posted Dec 20, 2012Ah, that's the thing though. The defaults aren't applied to the sentries. When I make one I get a completely blank slate. I've tried /sentry reload and I'm afraid it doesn't help. Any ideas?
-
View User Profile
-
Send Message
Posted Dec 19, 2012@Thrystor
On the wiki.
-
View User Profile
-
Send Message
Posted Dec 19, 2012Could you update for R1.0? It doesn't work at all right now.
-
View User Profile
-
Send Message
Posted Dec 19, 2012@metalguitarist
I don't see that happening.
@wrigglybear
You'll need to clarify your problem, the defaults should be applied to new sentries when you make them. If you change the file while the server is running be sure to use /sentry reload.
-
View User Profile
-
Send Message
Posted Dec 19, 2012Hey, i love this plugin. I'm having a little trouble with however. The information in the default config doesn't seem to want to apply, could you help at all?
-
View User Profile
-
Send Message
Posted Dec 18, 2012Hello,
Would it be possible to configure sentry's to attack other things such as blocks? It would be cool to create an archery range with a targets made out of heads or other material and have the npcs shooting the targets.
-
View User Profile
-
Send Message
Posted Dec 17, 2012@ObiWanKejobi
it says on the wiki what versions to use.
-
View User Profile
-
Send Message
Posted Dec 17, 2012@jrbudda
do you know which version(s) of craftbukkit are compatible? I'm getting the same thing.
Edit: I solved my own problem. Here are the versions that i used if it helps anyone: Craftbukkit 1.4.5-R0.2 Citizens2 #597 Sentry 1.2.3 Hope it helps someone
-
View User Profile
-
Send Message
Posted Dec 17, 2012@ConquestServer
incompatible version for the craftbukkit you are running.
-
View User Profile
-
Send Message
Posted Dec 16, 2012http://prntscr.com/me8f7
When i try to do /trait sentry this happens ^
then i do it again and it says "successfully removed sentry":
dafuq?
http://prntscr.com/mefuz Console ^
HELP ME PLEASE
HELP ME PLEASE
HELP ME PLEASE
HELP ME PLEASE
HELP ME PLEASE
HELP ME PLEASE
-
View User Profile
-
Send Message
Posted Dec 7, 2012JAVA.LANG.NULLPOINTEREXCEPTION ( report This Error ) HELP MEEEEEEE
-
View User Profile
-
Send Message
Posted Dec 7, 2012When I Put In My Directory Plugins .. It Didn't Create A New Folders Called Sentry / Citizens