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 Akemei Akemei Feb 12, 2016 at 19:42 UTC - 0 likes

    @Berkolino: Go

    I keep getting the same error

  • Avatar of Blamo27 Blamo27 Feb 05, 2016 at 19:17 UTC - 0 likes

    jrbudda's last connection: "Aug 21, 2014"

  • Avatar of cp123907444 cp123907444 Feb 04, 2016 at 19:35 UTC - 0 likes

    @Berkolino: Go yes,My server1.8.4Also have this problem

  • Avatar of Berkolino Berkolino Feb 01, 2016 at 11:43 UTC - 1 like

    Hey, I have a problem, the sentry plugin does not work. I can't do the Command ''/trait sentry''. Here is the Log, please can someone help me, thanks!

    [12:35:16 INFO]: PikaLino issued server command: /trait sentry [12:35:16 WARN]: java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R3/Packet [12:35:16 WARN]: at net.aufdemrand.sentry.SentryTrait.ensureInst(SentryTrait.java:134) [12:35:16 WARN]: at net.aufdemrand.sentry.SentryTrait.onSpawn(SentryTrait.java:116) [12:35:16 WARN]: at net.citizensnpcs.api.npc.AbstractNPC.addTrait(AbstractNPC.java:109) [12:35:16 WARN]: at net.citizensnpcs.api.npc.AbstractNPC.addTrait(AbstractNPC.java:88) [12:35:16 WARN]: at net.citizensnpcs.commands.TraitCommands.addTrait(TraitCommands.java:64) [12:35:16 WARN]: at net.citizensnpcs.commands.TraitCommands.toggle(TraitCommands.java:157) [12:35:16 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [12:35:16 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [12:35:16 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [12:35:16 WARN]: at java.lang.reflect.Method.invoke(Method.java:497) [12:35:16 WARN]: at net.citizensnpcs.api.command.CommandManager.executeMethod(CommandManager.java:154) [12:35:16 WARN]: at net.citizensnpcs.api.command.CommandManager.execute(CommandManager.java:90) [12:35:16 WARN]: at net.citizensnpcs.api.command.CommandManager.executeSafe(CommandManager.java:178) [12:35:16 WARN]: at net.citizensnpcs.Citizens.onCommand(Citizens.java:236) [12:35:16 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [12:35:16 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [12:35:16 WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [12:35:16 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [12:35:16 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [12:35:16 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [12:35:16 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [12:35:16 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [12:35:16 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [12:35:16 WARN]: at java.util.concurrent.FutureTask.run(FutureTask.java:266) [12:35:16 WARN]: at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [12:35:16 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [12:35:16 WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [12:35:16 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [12:35:16 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [12:35:16 WARN]: at java.lang.Thread.run(Thread.java:745) [12:35:16 WARN]: Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R3.Packet [12:35:16 WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) [12:35:16 WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) [12:35:16 WARN]: at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [12:35:16 WARN]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [12:35:16 WARN]: ... 30 more

  • Avatar of BredBear BredBear Jan 31, 2016 at 15:13 UTC - 0 likes

    Thank you for such a wonderful plugin! Dear developer, and please tell me you can recompile the plug-in for the new version of Minecraft ???

    Last edited Jan 31, 2016 by BredBear
  • Avatar of silentspectr silentspectr Jan 27, 2016 at 14:23 UTC - 0 likes

    @jrbudda

    My citizens with the sentry trait duplicate for no reason

    they also are very slow and retarded :p

    can you fix that? thanks

  • Avatar of Blamo27 Blamo27 Jan 23, 2016 at 15:24 UTC - 0 likes

    @jrbudda Can you fix this bug :

    When I come to an area with a lot of NPC with the sentry trait :

    http://timings.aikar.co/?url=14608817

    Task: SentryInstance$SentryLogic(interval 10) => 89.30 % ?

  • Avatar of sami37 sami37 Jan 22, 2016 at 18:04 UTC - 0 likes

    @jrbudda Hello,

    is there any way to set guardTarget like "setGuardTarget(player.getName());" ?

    Actually i am able to create a npc, set skin, spawn/despawn, equip item but the npc just stay there and don't follow the creator. How i can do that ?

    Last edited Jan 22, 2016 by sami37
  • Avatar of Blamo27 Blamo27 Jan 14, 2016 at 13:16 UTC - 0 likes

    /!\ TPS => 5 /!\

    When I'm going to an area with some NPC's While they are targeting me, the server is very slow

    Timings paste :

    Last edited Jan 14, 2016 by Blamo27
  • Avatar of Pr0totype2 Pr0totype2 Dec 24, 2015 at 18:49 UTC - 0 likes

    @FearlessOne37: Go

    There was a command which sets the NPC's movement-speed. Try to play around with that a bit?

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
174,573
Recent files

Authors