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 MarioTimeSTeam MarioTimeSTeam Feb 11, 2015 at 17:10 UTC - 0 likes
  • Avatar of mcmonkey4eva mcmonkey4eva Feb 10, 2015 at 20:06 UTC - 0 likes

    @MarioTimeSTeam: Go

    Wrong version of Sentry. Get the correct one here: http://wiki.citizensnpcs.co/Sentry#Updates

  • Avatar of MarioTimeSTeam MarioTimeSTeam Feb 10, 2015 at 18:47 UTC - 0 likes

    What is this ?????

    When i wold made a Guard it say this in the consol:

    [19:40:57] [Server thread/WARN]: java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R3/Packet [19:40:57] [Server thread/WARN]: at net.aufdemrand.sentry.SentryTrait.ensureInst(SentryTrait.java:134) [19:40:57] [Server thread/WARN]: at net.aufdemrand.sentry.SentryTrait.onSpawn(SentryTrait.java:116) [19:40:57] [Server thread/WARN]: at net.citizensnpcs.api.npc.AbstractNPC.addTrait(AbstractNPC.java:109) [19:40:57] [Server thread/WARN]: at net.citizensnpcs.api.npc.AbstractNPC.addTrait(AbstractNPC.java:88) [19:40:57] [Server thread/WARN]: at net.citizensnpcs.commands.TraitCommands.addTrait(TraitCommands.java:59) [19:40:57] [Server thread/WARN]: at net.citizensnpcs.commands.TraitCommands.toggle(TraitCommands.java:152) [19:40:57] [Server thread/WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [19:40:57] [Server thread/WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [19:40:57] [Server thread/WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [19:40:57] [Server thread/WARN]: at java.lang.reflect.Method.invoke(Unknown Source) [19:40:57] [Server thread/WARN]: at net.citizensnpcs.api.command.CommandManager.executeMethod(CommandManager.java:154) [19:40:57] [Server thread/WARN]: at net.citizensnpcs.api.command.CommandManager.execute(CommandManager.java:90) [19:40:57] [Server thread/WARN]: at net.citizensnpcs.api.command.CommandManager.executeSafe(CommandManager.java:178) [19:40:57] [Server thread/WARN]: at net.citizensnpcs.Citizens.onCommand(Citizens.java:236) [19:40:57] [Server thread/WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [19:40:57] [Server thread/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) [19:40:57] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:643) [19:40:57] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1083) [19:40:57] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:918) [19:40:57] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [19:40:57] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53) [19:40:57] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [19:40:57] [Server thread/WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [19:40:57] [Server thread/WARN]: at java.util.concurrent.FutureTask.run(Unknown Source) [19:40:57] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:686) [19:40:57] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [19:40:57] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:627) [19:40:57] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:530) [19:40:57] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source) [19:40:57] [Server thread/WARN]: Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R3.Packet [19:40:57] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) [19:40:57] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) [19:40:57] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source) [19:40:57] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source) [19:40:57] [Server thread/WARN]: ... 29 more

    What shuld i do

    Sry for my bad english

    PLS help me

  • Avatar of Adurath Adurath Jan 27, 2015 at 20:18 UTC - 0 likes

    Hey i have some problem with sentry, i use build 1.8.2 build 3 for 1.7.10. I have create a example sentry for testing feight, but the npc is hard laggy when he hit players. He move like a player with 999 ping.

    How can i fix this problem?

  • Avatar of KayrokMagick KayrokMagick Jan 23, 2015 at 08:40 UTC - 0 likes

    I know is too much ask but you think you can support cauldron servers? In my 1.7.10 server when the sentry dies, this keep attacking his fow, I mean; him respawn inmediatly after death, but "something" invisible keep attacking the enemy who kill him and then my server crash X_X. Thanks a lot I hoe you can make this, your plugin is awesome : 3

  • Avatar of Quaziz Quaziz Jan 13, 2015 at 13:35 UTC - 0 likes

    @mcmonkey4eva: Go

    I checked the next last version out and that seems to work better at first. Though as soon as i add waypoints to them the server crashes. Where do you want my error log?

    Last edited Jan 13, 2015 by Quaziz
  • Avatar of mcmonkey4eva mcmonkey4eva Jan 12, 2015 at 21:31 UTC - 0 likes

    @Quaziz: Go

    Try the various version available on http://wiki.citizensnpcs.co/Versions in the "Updates" box, there should be multiple for 1.7.10 if I remember right... if none of them work, grab the most recent one and post a startup log from running it.

    Note that none of the recommend version are flipping 1.7.9, which is, if you can't tell, the /wrong/ version.

    Last edited Jan 12, 2015 by mcmonkey4eva
  • Avatar of Quaziz Quaziz Jan 12, 2015 at 18:28 UTC - 0 likes

    Hi! I use citizens-2.0.13-1.7.10-Cauldron-B2.jar for Cauldron 1.7.10 and have got that and denizen working on the server. Those are my favorite plugins togather with Sentry. I was converting everything on my bukkit server to the latest cauldron (spigotMC) server. The only plugin i have'nt got to work is Sentry (R: Sentry 1.8.2 for CB 1.7.9-R0.1 Jun 03, 2014). Citizens 2.0 did'nt work at first, than i downloaded the Cauldron version that works fine. So i was wondering if its possible for you to make a modification for us hwo uses spigot|Cauldron, or whatever fix there needs to be? Thank you for your time and a great plugin!

    Cheers!

    Last edited Jan 12, 2015 by Quaziz
  • Avatar of mcmonkey4eva mcmonkey4eva Jan 10, 2015 at 21:44 UTC - 0 likes

    @InTheSavaGe: Go

    Your Vault and Permissions versions are mismatched and incompat with each other, update them both to latest for best chance at functionality. Nothing to do with Sentry.

  • Avatar of mcmonkey4eva mcmonkey4eva Jan 07, 2015 at 00:37 UTC - 0 likes

    @jammylow29: Go

    Look at literally the post directly below yours @.@

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
139,278
Recent files

Authors