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.
Please report this error : [seeconsole] java.lang.noclassdeefounderror:netminecraft/serveur/v1_7_r3/packet
please help me have a probleme
@mcmonkey4eva
Thanks!
@mdogz5
... Update Sentry and Citizens to their 1.7.10 releases, not their 1.7.9 ones? http://wiki.citizensnpcs.co/Versions
Hi. My name is Molly and I downloaded Sentry and Citizens2 (both 1.7.9) onto my server (with Bukkit 1.7.10). Whenever I do "/npc create Guard" it says "Please report this error: [See console] java.lang.NoClassDefFoundError: ft". Any help please? Thanks.
Thanks
No answers for me ?
Also, two questions. Is it possible for multiple items to produce the same "effect" (i.e. both a block of dirt and a bow can make a sentry an archer), and is it possible to get an npc to recognise an item from a mod as a piece of armour? (So it will equip it as armour rather than holding it in hand.)
EDIT: Realised I was using the wrong build of the same version, as that build was for 1.7.9. Man, all the small details you can miss... o_O
@mcmonkey4eva
OMG. Thanks
@iLucasPvP
/sentry attackrate
NIIICEEE PLUGIN! But, can you add config for NPC AIM? And hit config. Like 5 hits per second.. etc.
Nice plugin!
@Flowdude
You're running 1.7.10 Sentry on a 1.7.9 server.
At first I created the team, by making / scoreboad teams add test. Then I have join the team by making / scoreboard teams join test. And , I made my pnj and add a target by making / sentry target add team:test And the pnj don't react.
Thank you for reading
@jwiik
What commands exactly did you input to do this?
Hello! I use your plugin on a server and I meet a problem. I try to give for target to a pnj a minecraft team but that doesn't work. The pnj don't react, nevertheless I am sure to have followed carefully the instructions. Can you help me? Thank you in advance. Sorry for my bad english, I'm french. If it help, I use the 1.8.0v of the plugin.
Hello there Sentry Boss gods. I am using Sentry 1.8.2 and love the stuff I can do with it but I am running into an issue. I did the following
/npc create Knight
/trait sentry
/sentry mount
at this point I had a dude riding a horse. Cool beans. But the they wont move. Even when I hit the player or the horse. The Rider hits me when I am nearby but he is all helpless since his horse is useless. Is there a fix for this?
I also haven't found a way to equip/unequip things from the horse.
all other mounts work fine. Only horses give me issues. I'd also like to mention that horses auto spawn with saddles from /sentry mount
@MrEASlol
Citizens error, not Sentry. Ask for help from the C2 team, not us.
[19:13:29 INFO]: [Citizens] Could not fetch NMS field b: b. [19:13:29 INFO]: [Citizens] Could not fetch NMS field bc: bc. [19:13:29 INFO]: [Citizens] Could not fetch NMS field b: b. [19:13:29 INFO]: [Citizens] Could not fetch NMS field n: n. [19:13:29 INFO]: [Citizens] Could not fetch NMS field m: m. [19:13:29 INFO]: [Citizens] Could not fetch NMS field e: e. [19:13:29 INFO]: [Citizens] Could not fetch NMS field e: e. [19:13:29 INFO]: [Citizens] Could not fetch entity id mapping fields: null. [19:13:29 INFO]: [Citizens] Could not fetch NMS field d: d.
these are the errors i got from my server console, i couldnt put it into pastebin because it was under heavy load for some reason, my server runs cauldron, i assume you know what that is.
@MrEASlol
Java* what error? Post it (pastebin)
Does this work with cauldron? i keep trying to create a citizen in cauldron and it gives me a javascript error.