DragonAntiPvPLeaver
DragonAntiPvpLeaver (DAPL) is a lightweight version of AntiPvPLogger.
Based on NPCLib and AntiPvPLogger.
IMPORTANT
You need the right version since the Wolverness commit.
- Spawn an NPC if enemy player logs out
- DAPL/NPC spawn disabled if player got kicked *new in 2.1.6.4*
- WorldGuard support
- Factions 2.0+ support
- Possible to only spawn NPC if enemy player is nearby
- Increase in NPC lifetime if an NPC takes damage
- Multi-language support, messages configurable
- Broadcasts NPC events only around a specified radius
- Bypass permission (dragonantipvpleaver.bypass)
- Metrics statics
- h14ix Updater (default you get only a notification)
If a player logs out (if npc.spawn.onlyIfPlayerNearby is set on true a player must be in the config defined npc.spawn.distance)
an NPC spawns at the position of the left player. You can kill the NPC and loot the player. When the player rejoins the server, he dies.
The NPC despawns after a specified time (see npc.spawn.time). If the NPC takes any kind of damage, his despawn time increases by npc.spawn.additionalTimeIfUnderAttack.
- Maintenance the plugin
This plugin fetches the newest version from the dev.bukkit page. You can disable this feature in the config.yml. Set "autoupdate" to "off".
This plugin used Hidendra's plugin metrics system and send custom data to mcstats.org. For more details the see DAPL Metrics page.
Config: config.yml
Source: https:github.com/IDragonfire/DragonAntiPvPLeaver
Thanks to Serilum for maintenance.
Thanks to keptlv for the image banners.
Thanks to all users that updating the NPCLib from Top-Cat.
Jump to 38sec to skip installation and see the plugin in action
more videos: youtube.com
:( sad face.
1.5.1 Update please?
@IDragonfire
I'm running 1.9.5.2 on build 2700 of craftbukkit and I get:
2013-03-22 17:15:57 [SEVERE] Error occurred while enabling DragonAntiPvPLeaver v1.9.5.2 (Is it up to date?) java.lang.NoClassDefFoundError: net/minecraft/server/v1_5_R1/Entity at com.github.idragonfire.DragonAntiPvPLeaver.DAntiPvPLeaverPlugin.onEnable(DAntiPvPLeaverPlugin.java:71) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_5_R2.MinecraftServer.j(MinecraftServer.java:303) at net.minecraft.server.v1_5_R2.MinecraftServer.e(MinecraftServer.java:282) at net.minecraft.server.v1_5_R2.MinecraftServer.a(MinecraftServer.java:242) at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:150) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:381) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_5_R1.Entity at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 12 more
Your work is very much appreciated, thank you!
@LEOcab
I can support libigot, and CombatTag is a good alternative ... Maybe I publsh the DAPL RemoteEntity version ...
@IDragonfire
Noooooo, please don't leave... This is an epic plugin. Hell, leave it broken. I don't care about this bug. Just be here for 1.6 or I'll go insane. I can't run my server without DAPL. D:
@Mr_H4mm3r
You have not the current beta version of DAPL:
Since some month my plugin need a manual update ...
I'm having problems with this on 1.5.1 http://pastebin.com/z7LybUL1 - Server.log http://pastebin.com/bebw8QHa - Console
My dogs ain't losing life when they are in lava (I don't know if it's DragonANT that causes that)
@LEOcab
MobManager cause the error ...
see line 12 -14 ...
or I make something wrong ...
Atm. I have no motivation ...
http://forums.bukkit.org/threads/leaving.115684/
http://forums.bukkit.org/threads/good-bye-to-everyone.115866/
another reason is my limited time ...
@IDragonfire
Besides the [SEVERE] thing which as far as I can tell isn't causing any real problems besides making console hard to read, here's the error that pops up whenever someone leaves. Like I said before, NPCs spawn fine and everything's dandy except the console is oogleh:
http://pastebin.com/FAJKmZJw
Since you don't suffer from the same problem, I'm guessing it's a compatibility issue with another plugin. I'll do some trial and error to see which other plugin I can remove to make this go away.
@IDragonfire
Possibly and does not cause any performance decrease or bugs.
@deaddude22
Maybe a bukkit bug?
@netherfoam
I have been getting SEVERE on user logs and other things with no plugins at all even but not with every message.
@IDragonfire
I've disabled it, I'll wait for a reboot and see what happens...
@netherfoam
That happen only with my plugin?
@IDragonfire
I'm still getting the [SEVERE] bugged as mentioned by @LEOcab... Some log examples:
Plus, everything is double lined...
@LEOcab
Can you post the message?
@TesCZ
Besides that issue, I see a long error message every time someone leaves. I don't really mind because NPCs spawn properly and my server works fine otherwise, but it would be great if these issues were fixed. :I
@IDragonfire
Thanks!
Typo fixed ..
my fault ...
jar file updated ...
DAPL 1.9.5.2
https://www.dropbox.com/sh/p06j5z2mkmophrg/A7JsoI8-hG
@LEOcab
Same issue