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 aoe2exp aoe2exp Sep 22, 2014 at 22:10 UTC - 0 likes

    Hello,

    Is it possible to group them for stats? like all archers, guards, etc? it'd make it real easy to change all archers' range at once.

    Thank you and great work!

    Last edited Sep 22, 2014 by aoe2exp
  • Avatar of mcmonkey4eva mcmonkey4eva Sep 20, 2014 at 00:28 UTC - 1 like

    @flyingfencepost: Go

    /npc skin <skinname>

    skin search: http://mcmonkey.org/denizen/skin/npc

  • Avatar of flyingfencepost flyingfencepost Sep 19, 2014 at 14:38 UTC - 0 likes

    How do i get my sentrys to have skins like its shown here?

  • Avatar of woeterman94 woeterman94 Sep 08, 2014 at 21:32 UTC - 0 likes

    @mcmonkey4eva: Go

    I can't find a 1.7.10 version for citizens...

    Banner

  • Avatar of mcmonkey4eva mcmonkey4eva Sep 05, 2014 at 23:21 UTC - 0 likes

    @MrHollick: Go

    You're running 1.7.10 Citizens on a 1.7.9 server. Update the server or downdate Citizens.

  • Avatar of MrHollick MrHollick Sep 05, 2014 at 05:06 UTC - 0 likes

    Hoping you might take a look at this small clip from server restart and see why Im getting these trait errors http://pastebin.com/dt7HMqdN

    thank you

  • Avatar of mcmonkey4eva mcmonkey4eva Sep 03, 2014 at 01:48 UTC - 0 likes

    @Teddestroyer: Go

    You're running Sentry for 1.7.10 on a 1.7.9 server - downdate Sentry or update the server.

  • Avatar of Teddestroyer Teddestroyer Sep 03, 2014 at 01:16 UTC - 0 likes

    ERROR here [21:50:45 WARN]: java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R4/Packet [21:50:45 WARN]: at net.aufdemrand.sentry.SentryTrait.ensureInst(SentryTrait.java:134) [21:50:45 WARN]: at net.aufdemrand.sentry.SentryTrait.onSpawn(SentryTrait.java:116) [21:50:45 WARN]: at net.citizensnpcs.api.npc.AbstractNPC.addTrait(AbstractNPC.java:111) [21:50:45 WARN]: at net.citizensnpcs.api.npc.AbstractNPC.addTrait(AbstractNPC.java:90) [21:50:45 WARN]: at net.citizensnpcs.commands.TraitCommands.addTrait(TraitCommands.java:59) [21:50:45 WARN]: at net.citizensnpcs.commands.TraitCommands.toggle(TraitCommands.java:152) [21:50:45 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [21:50:45 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [21:50:45 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [21:50:45 WARN]: at java.lang.reflect.Method.invoke(Unknown Source) [21:50:45 WARN]: at net.citizensnpcs.api.command.CommandManager.executeMethod(CommandManager.java:153) [21:50:45 WARN]: at net.citizensnpcs.api.command.CommandManager.execute(CommandManager.java:90) [21:50:45 WARN]: at net.citizensnpcs.api.command.CommandManager.executeSafe(CommandManager.java:177) [21:50:45 WARN]: at net.citizensnpcs.Citizens.onCommand(Citizens.java:236) [21:50:45 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [21:50:45 WARN]: at me.Incomprehendable.WorldPlugins.FakeSimpleCommandMap.dispatch(FakeSimpleCommandMap.java:99) [21:50:45 WARN]: at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:701) [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:956) [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:817) [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:47) [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [21:50:45 WARN]: at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [21:50:45 WARN]: Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R4.Packet [21:50:45 WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67) [21:50:45 WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [21:50:45 WARN]: at java.lang.ClassLoader.loadClass(Unknown Source) [21:50:45 WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)

  • Avatar of mcmonkey4eva mcmonkey4eva Sep 02, 2014 at 19:34 UTC - 0 likes

    @madtomic: Go

    1.7.9 build is compatible with all 1.7.9-r0.x. If you're getting an error, you might want 1.8.2b2 from the wiki http://wiki.citizensnpcs.co/Sentry#Updates

    Last edited Sep 02, 2014 by mcmonkey4eva

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
127,819
Recent files

Authors