Sentry for Citizens2

Sentry for Citizens2
Sentryhttp://wiki.citizensnpcs.co/images/1/1b/Wordmark.png

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

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.

http://wiki.citizensnpcs.co/images/thumb/f/fd/KnightSentry.png/800px-KnightSentry.png

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of THEREALbabyeater THEREALbabyeater Jul 18, 2015 at 07:28 UTC - 0 likes

    @mcmonkey4eva: Go

    Ahhh! Right on man, thanks a ton! Your time is appreciated. Enjoy the rest of your day! :)

  • Avatar of mcmonkey4eva mcmonkey4eva Jul 18, 2015 at 07:03 UTC - 1 like

    @THEREALbabyeater: Go

    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.

  • Avatar of THEREALbabyeater THEREALbabyeater Jul 18, 2015 at 06:49 UTC - 0 likes

    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

  • Avatar of THEREALbabyeater THEREALbabyeater Jul 18, 2015 at 06:46 UTC - 0 likes

    @mcmonkey4eva: Go

    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

  • Avatar of mcmonkey4eva mcmonkey4eva Jul 18, 2015 at 06:37 UTC - 1 like

    @THEREALbabyeater: Go

    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.

  • Avatar of THEREALbabyeater THEREALbabyeater Jul 18, 2015 at 06:21 UTC - 0 likes

    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

  • Avatar of Heliostorm Heliostorm Jul 18, 2015 at 04:55 UTC - 0 likes

    @AleNova15551: Go

    You can do it with a Denizen script.

  • Avatar of littleboy8399 littleboy8399 Jul 17, 2015 at 19:35 UTC - 0 likes

    @AleNova15551: Go

    Good idea if it isn't implemented already. Make yourself some sentry prison guards or something :P

    MineSnipe Network! Come check us out!

  • Avatar of AleNova15551 AleNova15551 Jul 17, 2015 at 09:29 UTC - 0 likes

    is it impossible to make npc attack if player holding a sword? Or anything else?

    Last edited Jul 17, 2015 by AleNova15551
  • Avatar of Heliostorm Heliostorm Jul 17, 2015 at 03:38 UTC - 0 likes

    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).

Your favorite Brigade?

  1. Choice:

  1. Results
  2. 1 comment

Facts

Date created
Sep 11, 2012
Categories
Last update
Jun 03, 2014
Development stage
Release
Language
  • enUS
License
Public Domain
Curse link
Sentry for Citizens2
Downloads
157,815
Recent files

Authors