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 Honeydrowse Honeydrowse Jul 25, 2016 at 13:50 UTC - 0 likes

    Sentry works great, but the wiki is sooooooooooooooo slow/glitchy. Please put up a mirror site or something. Just a list of commands on this page would be a massive help.

  • Avatar of killerwars2000 killerwars2000 Jul 21, 2016 at 14:03 UTC - 0 likes

    Please update for 1.8.8, because Jekins version doesn't work + I think the author is afk for good, its not even necessary to keep posting comments here , he won't reply. This build my get deleted if the author keeps being inactive the whole time.

  • Avatar of ninjapigEPT ninjapigEPT Jul 17, 2016 at 09:11 UTC - 0 likes

    when i use sentry or builder on my server there is error

  • Avatar of robinpowder robinpowder Jul 05, 2016 at 15:55 UTC - 0 likes

    @mcmonkey4eva: Go

    O god yes! Thank you so much :) keep up the good work!! Gonne check it out right now!

  • Avatar of mcmonkey4eva mcmonkey4eva Jul 05, 2016 at 01:10 UTC - 1 like

    @robinpowder: Go

    Sentry has been replaced by Sentinel under the same author.

    https://github.com/mcmonkey4eva/Sentinel/blob/master/README.md

  • Avatar of robinpowder robinpowder Jul 04, 2016 at 15:11 UTC - 0 likes

    I AM BEGGING YOU TO UPDATE THIS TO 1.10, I KNOW IT MIGHT BE HARD WORK BUT THIS PLUGIN IS 50% OF WHAT MAKES THE BEST PLUGIN EVER MADE FOR MINECRAFT ALL OVER THE WORLD.

    Please keep working on this :] !

    Are you planning on updating it in the future? I never donated before that's how much of a prick I am but if you keep this thing running I will.

    Kind regards. Robin.

    Last edited Jul 04, 2016 by robinpowder
  • Avatar of UltiMCDK UltiMCDK Jun 29, 2016 at 20:09 UTC - 0 likes

    @SwahgnerDK: Go

    Which version should i download?? My server runs 1.8.

  • Avatar of Joshii2201 Joshii2201 Jun 25, 2016 at 16:49 UTC - 0 likes

    Don't work correctly

    I ues /trait sentry

    25.06 18:47:46 [Server] WARN java.lang.NoClassDefFoundError: net/minecraft/server/v1_9_R2/Packet
    25.06 18:47:46 [Server] WARN at net.aufdemrand.sentry.SentryTrait.ensureInst(SentryTrait.java:137)
    25.06 18:47:46 [Server] WARN at net.aufdemrand.sentry.SentryTrait.onSpawn(SentryTrait.java:119)
    25.06 18:47:46 [Server] WARN at net.citizensnpcs.api.npc.AbstractNPC.addTrait(AbstractNPC.java:110)
    25.06 18:47:46 [Server] WARN at net.citizensnpcs.api.npc.AbstractNPC.addTrait(AbstractNPC.java:89)
    25.06 18:47:46 [Server] WARN at net.citizensnpcs.commands.TraitCommands.addTrait(TraitCommands.java:64)
    25.06 18:47:46 [Server] WARN at net.citizensnpcs.commands.TraitCommands.toggle(TraitCommands.java:157)
    25.06 18:47:46 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    25.06 18:47:46 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    25.06 18:47:46 [Server] WARN at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    25.06 18:47:46 [Server] WARN at java.lang.reflect.Method.invoke(Unknown Source)
    25.06 18:47:46 [Server] WARN at net.citizensnpcs.api.command.CommandManager.executeMethod(CommandManager.java:152)
    25.06 18:47:46 [Server] WARN at net.citizensnpcs.api.command.CommandManager.execute(CommandManager.java:87)
    25.06 18:47:46 [Server] WARN at net.citizensnpcs.api.command.CommandManager.executeSafe(CommandManager.java:175)
    25.06 18:47:46 [Server] WARN at net.citizensnpcs.Citizens.onCommand(Citizens.java:236)
    25.06 18:47:46 [Server] WARN at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    25.06 18:47:46 [Server] WARN at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    25.06 18:47:46 [Server] WARN at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:646)
    25.06 18:47:46 [Server] WARN at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1351)
    25.06 18:47:46 [Server] WARN at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1186)
    25.06 18:47:46 [Server] WARN at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
    25.06 18:47:46 [Server] WARN at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
    25.06 18:47:46 [Server] WARN at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
    25.06 18:47:46 [Server] WARN at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    25.06 18:47:46 [Server] WARN at java.util.concurrent.FutureTask.run(Unknown Source)
    25.06 18:47:46 [Server] WARN at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
    25.06 18:47:46 [Server] WARN at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:733)
    25.06 18:47:46 [Server] WARN at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399)
    25.06 18:47:46 [Server] WARN at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672)
    25.06 18:47:46 [Multicraft] Skipped 13 lines due to rate limit (30/s)
    
  • Avatar of christiank2012 christiank2012 Jun 25, 2016 at 07:12 UTC - 0 likes

    If i do /npc create Town Guard --trait sentry does it set a npc named town guard but it comes with an error and it ses:

    [07:57:19 WARN]: java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R1/World
    [07:57:19 WARN]: at net.aufdemrand.sentry.SentryTrait.ensureInst(SentryTrait.java:132)
    [07:57:19 WARN]: at net.aufdemrand.sentry.SentryTrait.onSpawn(SentryTrait.java:114)
    [07:57:19 WARN]: at net.citizensnpcs.api.npc.AbstractNPC.addTrait(AbstractNPC.java:109)
    [07:57:19 WARN]: at net.citizensnpcs.commands.NPCCommands.create(NPCCommands.java:385)
    [07:57:19 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [07:57:19 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [07:57:19 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [07:57:19 WARN]: at java.lang.reflect.Method.invoke(Unknown Source)
    [07:57:19 WARN]: at net.citizensnpcs.api.command.CommandManager.executeMethod(CommandManager.java:152)
    [07:57:19 WARN]: at net.citizensnpcs.api.command.CommandManager.execute(CommandManager.java:87)
    [07:57:19 WARN]: at net.citizensnpcs.api.command.CommandManager.executeSafe(CommandManager.java:175)
    [07:57:19 WARN]: at net.citizensnpcs.Citizens.onCommand(Citizens.java:238)
    [07:57:19 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    [07:57:19 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    [07:57:19 WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:640)
    [07:57:19 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162)
    [07:57:19 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997)
    [07:57:19 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
    [07:57:19 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
    [07:57:19 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
    [07:57:19 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    [07:57:19 WARN]: at java.util.concurrent.FutureTask.run(Unknown Source)
    [07:57:19 WARN]: at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
    [07:57:19 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:714)
    [07:57:19 WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
    [07:57:19 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653)
    [07:57:19 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556)
    [07:57:19 WARN]: at java.lang.Thread.run(Unknown Source)
    [07:57:19 WARN]: Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R1.World
    [07:57:19 WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91)
    [07:57:19 WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)
    [07:57:19 WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
    [07:57:19 WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
    [07:57:19 WARN]: ... 28 more

    PS my server is on 1.8.8 and citizens 2.0.16-SNAPSHOT (build 1267) 1.8.1 and sentry 1.8.0 1.7.2
    Please help

  • Avatar of d0do63 d0do63 Jun 21, 2016 at 20:44 UTC - 0 likes

    i have an error with /trait sentry my version of citizens is 2.0.16 and i have sentry 1.8.8 jenkins please help

Your favorite Brigade?

  1. Choice:

  1. Results
  2. 2 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
188,026
Recent files

Authors