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
Poor at research too, it seems. Updates are available here: http://wiki.citizensnpcs.co/Sentry#Updates
@mcmonkey4eva Minecraft 1.8 is out! But when I use Spigot 1.8,I can't create a sentry.Update it to 1.8 please Sorry I'm poor at English because I'm a Chinese:(
@linghun91
Lore is done like so: - drop "i@diamond[lore=A fancy gem!]" qty:5
@linghun91
No idea what you mean by that mod stuff
@mcmonkey4eva
Can you add features like CustomNPCs MOD,npc [Aggressive,Friendly,Neutral] and more features like thie mod
@mcmonkey4eva
How to describe LORE
@mcmonkey4eva
well!!! love you!!! How to make NPC equipment without attributes, i' set /sentry npc damage=1
npc equip IRON_SWORD then npc damage=1
@linghun91
Use Denizen to add custom drops.
Sample Denizen comfig for a custom drop:
@mcmonkey4eva
Hi,i love your plugins If you add a custom drop function, it will be perfect
Such as.... i create a sentry heal:50 damage:3 .... .... .. drop ID:261 1(amount) 0.05(Chance) ID:267 1(amount) 0.05(Chance) lore: '1111111111111111111' lore: '2222222222222222222' lore: '3333333333333333333' lore: '4444444444444444444' lore: '5555555555555555555'
@mcmonkey4eva
I keep getting this error: The POM for net.aufdemrand:sentry:jar:1.8.6 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
Do you know how to fix it?
@SushiKarasumori
Been updated for forever. http://wiki.citizensnpcs.co/Sentry#Updates
When is this going to be updated for 1.8, I have citizens for 1.8 but the current version of this plugin wont work with it.
@mcmonkey4eva
Ohhh .. Thanks! Im watchin some of your videos, I didnt even notice the custom item one ..
@BSidiocy
or whatever like that. http://mcmonkey.org/denizen/vids/Custom%20Items
@mcmonkey4eva
What I mean is items with Lore and different damages ._. like a real customize item one
@BSidiocy
I already did in my first reply to you? If that doesn't work for you, gimme details on what you need and I'll write it up.
@mcmonkey4eva
Really ._. I dont really know Can you give me an example?
@BSidiocy
... And in what way exactly is Denizen not capable of that?
@mcmonkey4eva
Well thanks for that but I'm looking for a custom item drop :/
@BSidiocy
A Denizen script would do it quite nicely.
( http://mcmonkey.org/haste/16021 )
Denizen: http://wiki.citizensnpcs.co/Denizen
Is there any suggestable plugins to use so that Sentry NPCs will drop items when killed?