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 9, 2013@vJuggerz
pvp guarded areas, what does that mean?
-
View User Profile
-
Send Message
Posted Jan 9, 2013Hi, some players have been having an issue on my server where sometimes players log out of the server and an npc spawns. They aren't in combat when they log out. This npc is able to be killed and their items are dropped even in pvp guarded areas. (spawn) Plugins (if it helps) : WorldBorder, WorldEdit, iConomy, DragonAntiPvPLeaver, Vault, PlayerHeads, PermissionsEx, Modifyworld, Votifier, mcMMO, MobArena, WorldGuard, Essentials, ChatManager, EssentialsSpawn, CompatNoCheatPlus, WhatIsIt, Enjin Minecraft Plugin, ChestShop, EssentialsChat, Factions, floAuction, NoCheatPlus
-
View User Profile
-
Send Message
Posted Jan 1, 2013@nitr0burn
I refactor the plugin atm. I use RemoteEntities as base to have more options and a faster update. New spawn features, because people asks me, with a changeable timer ;) Take a look at the github issue an feel free to discuss or add a new one. http://dev.bukkit.org/server-mods/dragonantipvpleaver/#c176
My plugin doesn't spawn NPC's if a player is in a faction safezone, non pvp faction area or non pvp world guard region. I can pm you, if snapshot of the release it out ;)
It is atm not possible to detect if a player times out, crashed, or left ... :(
New features overview:
http://dev.bukkit.org/server-mods/dragonantipvpleaver/pages/dragon-anti-pvp-leaver-v2/
-
View User Profile
-
Send Message
Posted Dec 31, 2012@netherfoam
Netherfoam, have you tested the underattackcustom yet? Wondering how it worked out for you as this is what I need as well. Only want the NPC to spawn if there was actual PVP going on, not just because someone was close.Nevermind, just realized it hasn't been added yet.@IDragonfire
IDragonfire: If using the spawn if enemy in X # of blocks, does it only happen if a user actually quits, or for any type of disconnect? Wouldn't want a user who timed out to have a NPC spawn. Also, with the new underattackcustom method, can we specify the time or is 30 seconds hardcoded? Also, will this only be triggered on successful damage? Wouldn't want people in the Safezone or non-pvp areas to have an NPC spawn. Thanks! Look forward to using this plugin, many people have been begging for this feature on my server.
-edit- The description says Factions 1.7 support, does this mean the NPC will only spawn if the player nearby is a faction Enemy?
-
View User Profile
-
Send Message
Posted Dec 30, 2012Sounds great! Going to test this out
-
View User Profile
-
Send Message
Posted Dec 29, 2012@netherfoam
Ok, I recode atm the plugin so I can add these ;)
https://github.com/IDragonfire/DragonAntiPvPLeaver/issues/20
Fell free to post more ideas or comments on an issue :D
I changed the idea of you a little bit, so you must change "Npcspawnswhile" to "underattackcustom" and set "underattackcustom.players" to true.
-
View User Profile
-
Send Message
Posted Dec 28, 2012Hey Dragonfire,
Awesome plugin here! Though I have a request. Can you add the option to only spawn NPC's if the player has attacked or been attacked by another player in the last 30 seconds? So, for example, in the config:
http://privatepaste.com/06c79b7b41
I realise this is a decent sized feature, but it'd be great if you could add it! Because a lot of our players are being backstabbed by their 'friends' when they realise they're not going to attack back!
Thanks! :D
-
View User Profile
-
Send Message
Posted Dec 28, 2012@zag09
Did the overwrite mode fix the problem? I update the description today :)
-
View User Profile
-
Send Message
Posted Dec 27, 2012I have authme, thanks alot didn't know authme protected npcs
-
View User Profile
-
Send Message
Posted Dec 27, 2012@zag09
Can you activate the debug mode and send me the log?
If you use AuthMe please activate the overwrite mode.
Have you Essentials Protect? These plugin protects NPC and you must change the config of essentials protect.
-
View User Profile
-
Send Message
Posted Dec 27, 2012DragonFire, the plugin is perfect how ever the npc that spawns isnt able to be hurt and idk why thats happening
-
View User Profile
-
Send Message
Posted Dec 26, 2012@IDragonfire
hmmm very clever. Something as simple as that, I can't believe I didn't think of it before.
-
View User Profile
-
Send Message
Posted Dec 26, 2012@CeramicTitan
I remove all equals (=)
-
View User Profile
-
Send Message
Posted Dec 25, 2012how did you get rid of the table of contents?
-
View User Profile
-
Send Message
Posted Dec 24, 2012@FuRiouSOne
The NPC represent the player, if somebody kills the NPC it is like the player was killed.
-
View User Profile
-
Send Message
Posted Dec 23, 2012@FuRiouSOne
You mean it shows up a deathmessage again or it just kills him? It should kill him as when then NPC is killed the player is technically not death himself yet.
-
View User Profile
-
Send Message
Posted Dec 23, 2012Thanks for the update, everything seems to be working fine here.
Just curious, when NPC gets killed and player logs back in it kills them again, why is this? This has always happened by the way just thought id bring it up now.
-
View User Profile
-
Send Message
Posted Dec 23, 2012@Serilum
Thank you very much Serilum. Atm I have no computer available :(
-
View User Profile
-
Send Message
Posted Dec 23, 2012DragonAntiPvPLeaver 1.8 for CB1.4.6-R0.1
Since IDragonfire wasn't able to work on the plugin for a short amount of time I took the time to update the plugin. Tested and working in the bukkit beta build of 1.4.6.
Jar: https://dl.dropbox.com/u/100415565/DragonAntiPvPLeaver1.8.jar
This download will work until bukkit aproves the new file.
-
View User Profile
-
Send Message
Posted Dec 23, 2012@IDragonfire
Sure, send me a PM. I've got time