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
-
View User Profile
-
Send Message
Posted Jan 25, 2013@EnderdragonDE
same deal here cant use this. using combat tag for the time been
-
View User Profile
-
Send Message
Posted Jan 24, 2013http://pastebin.com/xUYSPzQS
Using 1.9.1
-
View User Profile
-
Send Message
Posted Jan 23, 2013@iAlexak
I can't clairvoyance ...
Your Bukkit Version?
Your DAPL Plugin Version?
Your server log?
-
View User Profile
-
Send Message
Posted Jan 23, 2013I have a problem. When i try to kill the NPC the server crashes. why?
-
View User Profile
-
Send Message
Posted Jan 23, 2013@vJuggerz
Yu have a pm ..
-
View User Profile
-
Send Message
Posted Jan 23, 2013@IDragonfire
It says 1.9.1
-
View User Profile
-
Send Message
Posted Jan 23, 2013@vJuggerz
Can you please type "version DragonAntiPvpLeaver". Do you have 1.9 or 1.9.1? If you have version 1.9 please redownload the jar ;)
-
View User Profile
-
Send Message
Posted Jan 23, 2013I just recently updated to the 1.4.7-R0.1 craftbukkit and also to the v1.9 version of this plugin and i am getting alot of errors. Well the same error every second spamming my console.
console paste: http://pastebin.com/T4iEsC47
What have i done wrong?
-
View User Profile
-
Send Message
Posted Jan 20, 2013@netherfoam
Yes, me wonder, why it is 1.9 oO I uploaded 1.9.1 ...
-
View User Profile
-
Send Message
Posted Jan 20, 2013So.. 1.9 won't work on 1.4.6?
EDIT: 1.4.6 I meant, 1.4.6
-
View User Profile
-
Send Message
Posted Jan 20, 2013Current config file for version 2.0:
https://gist.github.com/4579276
Hope I have not forgot something ...
-
View User Profile
-
Send Message
Posted Jan 20, 2013@noxturno
Which error? What versionn do you use? Please control the version via "version DragonAntiPvpLeaver"
-
View User Profile
-
Send Message
Posted Jan 20, 2013@IDragonfire
same error still with 1.4.7
-
View User Profile
-
Send Message
Posted Jan 18, 2013new version ONLY for 1.4.7-R0.1 released !!
Wait for approvel or download via dropbox on own risk:
DragonAntiPvPLeaver.jar (v1.9.1)
-
View User Profile
-
Send Message
Posted Jan 17, 2013@EnderdragonDE
Atm I don't support 1.4.7. Wait for an update.
-
View User Profile
-
Send Message
Posted Jan 17, 2013Using 1.4.7-R0.1 (Build #02602)
2013-01-17 17:19:00 [SEVERE] Error occurred while enabling DragonAntiPvPLeaver v1.8 (Is it up to date?)
java.lang.NoClassDefFoundError net/minecraft/server/v1_4_6/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_4_R1.CraftServer.loadPlugin(CraftServer.java:282)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264)
at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321)
at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300)
at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259)
at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.ClassNotFoundException net.minecraft.server.v1_4_6.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
-
View User Profile
-
Send Message
Posted Jan 16, 2013@deaddude22
Atm they can use commands in combat, but I add these to my todo list.
-
View User Profile
-
Send Message
Posted Jan 15, 2013When a player is hit in combat can the player use commands whilst in combat? If they can this is a bad thing with mobarena.
-
View User Profile
-
Send Message
Posted Jan 12, 2013@Dathmineboy
Try the overwrite mode, if something not working contact me ;)
-
View User Profile
-
Send Message
Posted Jan 12, 2013Compatible with xauth? Because of the teleporting back and seperate inventory before join?