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

  • Install Citizens2 Please use latest build
  • 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.

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 mcmonkey4eva mcmonkey4eva Jul 29, 2014 at 04:51 UTC - 0 likes

    @Mexbotdude: Go

    Update: It's been fixed in the /new/ latest Citizens build (I just spoke with the developer of C2 and he pushed a fix)

    EDIT: He fixed the error behind the issue at least. The error message may still show, but it's /definitely/ safe to ignore now.

    Last edited Jul 29, 2014 by mcmonkey4eva
  • Avatar of mcmonkey4eva mcmonkey4eva Jul 28, 2014 at 22:20 UTC - 0 likes

    @Mexbotdude: Go

    You can probably just ignore it for now - it shouldn't harm anything.

  • Avatar of Mexbotdude Mexbotdude Jul 28, 2014 at 20:35 UTC - 0 likes

    @mcmonkey4eva: Go

    I have the latest craftbukkit and I downloaded the latest Citizens, sentry and denizen

    and this still happens

    [15:30:25 WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2444ms behind, skipping 48 tick(s) [15:30:25 ERROR]: [Quests] Stone Miner inside quests: Requirement for Quest Mob Hunter is not a valid Quest name! [15:30:25 ERROR]: Make sure you are using the Quest name: value, and not the block name. [15:30:25 ERROR]: [Quests] Stone Miner inside quests: Requirement for Quest Catch Fish is not a valid Quest name! [15:30:25 ERROR]: Make sure you are using the Quest name: value, and not the block name. [15:30:25 INFO]: [Quests] 1 Quest(s) loaded. [15:30:25 INFO]: [Quests] 1 Event(s) loaded. [15:30:25 INFO]: [Quests] 813 Phrase(s) loaded. [15:30:26 INFO]: [Vault] Checking for Updates: [15:30:26 INFO]: [Vault] No new version available [15:30:29 WARN]: Couldn't look up profile properties for net.minecraft.util.com.mojang.authlib.GameProfile@2ffdf62c[id=0fc345e8-a4c1-4897-880b-734f8fe3826d,name=,properties={},legacy=false] net.minecraft.util.com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time at net.minecraft.util.com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.minecraft.util.com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:135) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.citizensnpcs.npc.entity.HumanController$SkinFetcher.run(HumanController.java:120) [citizens-2.0.13-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [?:1.7.0_51] [15:30:29 WARN]: Couldn't look up profile properties for net.minecraft.util.com.mojang.authlib.GameProfile@7f0d194d[id=5683c55d-986d-4e05-ac0e-fb41d730d286,name=,properties={},legacy=false] net.minecraft.util.com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time at net.minecraft.util.com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.minecraft.util.com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:135) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.citizensnpcs.npc.entity.HumanController$SkinFetcher.run(HumanController.java:120) [citizens-2.0.13-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [?:1.7.0_51] [15:30:29 WARN]: Couldn't look up profile properties for net.minecraft.util.com.mojang.authlib.GameProfile@1327f6cd[id=acc2d6e0-58ad-4c26-9b8b-4273606f4515,name=,properties={},legacy=false] net.minecraft.util.com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time at net.minecraft.util.com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.minecraft.util.com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:135) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.citizensnpcs.npc.entity.HumanController$SkinFetcher.run(HumanController.java:120) [citizens-2.0.13-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [?:1.7.0_51] [15:30:29 WARN]: Couldn't look up profile properties for net.minecraft.util.com.mojang.authlib.GameProfile@7d7b3aff[id=5aeb39c6-5c22-44d4-b511-9ae688cfbf40,name=,properties={},legacy=false] net.minecraft.util.com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time at net.minecraft.util.com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.minecraft.util.com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:135) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.citizensnpcs.npc.entity.HumanController$SkinFetcher.run(HumanController.java:120) [citizens-2.0.13-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [?:1.7.0_51] [15:30:29 WARN]: Couldn't look up profile properties for net.minecraft.util.com.mojang.authlib.GameProfile@484d428[id=a6396dc5-e4e6-4b8d-b916-d5480044cf2d,name=,properties={},legacy=false] net.minecraft.util.com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time at net.minecraft.util.com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.minecraft.util.com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:135) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.citizensnpcs.npc.entity.HumanController$SkinFetcher.run(HumanController.java:120) [citizens-2.0.13-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [?:1.7.0_51] [15:30:29 WARN]: Couldn't look up profile properties for net.minecraft.util.com.mojang.authlib.GameProfile@3f24d107[id=6e9d25c8-5f23-40e4-87b5-6fed24c96f41,name=,properties={},legacy=false] net.minecraft.util.com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time at net.minecraft.util.com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.minecraft.util.com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:135) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at net.citizensnpcs.npc.entity.HumanController$SkinFetcher.run(HumanController.java:120) [citizens-2.0.13-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftTask.run(CraftTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at org.bukkit.craftbukkit.v1_7_R4.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-16-g37c7969-b3105jnks] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [?:1.7.0_51]

  • Avatar of mcmonkey4eva mcmonkey4eva Jul 28, 2014 at 00:57 UTC - 0 likes

    @fastlockel: Go

    Sentry for 1.7.10 is on the wiki http://wiki.citizensnpcs.co/Sentry

  • Avatar of fastlockel fastlockel Jul 27, 2014 at 21:58 UTC - 0 likes

    Please update to 1.7.10 : removed this nice plugin until new build

  • Avatar of mcmonkey4eva mcmonkey4eva Jul 26, 2014 at 23:07 UTC - 0 likes

    @MrEASlol: Go

    Select the mount with /npc select or using a stick and ... add the waypoints as normal.

  • Avatar of MrEASlol MrEASlol Jul 26, 2014 at 07:43 UTC - 0 likes

    Ok ive been searching on the internet for this for a while now and i havent had any luck, but im trying to get sentries to move with their horses on a waypoint path, but when i do they just spin in a wild circle and dont do that at all, i read you had to add the waypoints to the mount, how do you do that exactly? i would appreciate a reply soon

  • Avatar of thor54 thor54 Jul 25, 2014 at 10:18 UTC - 0 likes

    @thor54: Go

    here is one for the wtf files... I rmove citizen2 and sentry restatered server ran it for 30 mins got bored reinstalled citizens 2 ran it for 30 mins installed sentry (keep in mind all files I had been using when I had the error) ran the server and sentry now works again! lol don't ask me... all I know is im happy camper again lol

  • Avatar of budopey budopey Jul 23, 2014 at 21:24 UTC - 0 likes

    @KnightcraftRPGServer: Go

    lil late, maybe you could read responses? thanks for being a dick though! Is quite helpful...

    -BuDoPeY-
    -Hack the planet, not my server!
    -Seek a good Admin to help build your servers? PM me for details! I can provide customization to your server and help install up-to-date plugins to help you acquire the content you seek for your server!
  • Avatar of KnightcraftRPGServer KnightcraftRPGServer Jul 23, 2014 at 15:34 UTC - 0 likes

    @budopey: Go

    Dude I'm running Spigot, read what people say before suggesting a fix.

    knightcraft.org.uk

    Knightcraft RPG server
    ✪Cities✪Villages✪Factions✪Quests✪Boss battles✪Dungeons✪Changing world✪
    ✪✪ play.knightcraft.org.uk ✪✪

    http://i.imgur.com/UyKNpNL.gif

Your favorite Brigade?

  1. Choice:

  1. Results
  2. 0 comments

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
113,336
Recent files

Authors