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
@cjm721
Good idea ;)
Btw do you want bug / suggestions in the comments or on your github?
Post it here as I also posted it on GitHub then thought about it.
"It would be nice if the npc that spawned still had their armor on. possibly config configurable as I can see the benefits either way."
Might want to add where you want them to the description.
@rangewonk
Normaly the player should be killed. Maybe some plugins interrupt these ... Can you activate the debug option and send me the console logs?
@BioBG
@1: It is not possible atm, because Minecraft is running on the client side and the server only know that a client has left the game: http://jd.bukkit.org/apidocs/org/bukkit/event/player/PlayerQuitEvent.html
@2: Exp is implemented in a simple way look at the gitb config, armor should be dropped, or not? Factions power is a good idea :) Normaly I kill the player, drop a percentage make no sense.
@3: I am not sure, but I though if you kick the player my plugin ignore them.
@4: I can add these things to the feature list.
Did you use Factions and have not disable metrics statics? because metrics say, that nobody use factions :(
When the player is killed during the pvp logout, Their items are dropped. Although when they log in they are still in the same place where they died. Could you make it so they login at spawn?
Hi there, i'm looking of a plugin like this but cant find the right one :)
i have some suggestions the can make this plugin awesome! :)
1 Can you add to check if the player( quit event ) quit or game/client crash and only drops items if player quit.
2 Can you add to lose money, drop all( or % ) items in inventory, all( or % ) Armors, all( or % ) Exp, if you use Faction to lose all( or % ) you'r power(if its possible)
3 Can you add to detect if the server kick( my server is Restarting every 3 hours and kick all players before restart ) player or be banned or server Restarting( or Crash if its possible).
4 Also if it is possible to drop some levels from McMMo and Jobs will be perfect :)
@Squirzy
No ...
you use 1.5
look the first line of your paste:
Could not pass event PlayerQuitEvent to DragonAntiPvPLeaver v1.5
@IDragonfire
I was on the 1.6 from github
@Squirzy
Did you use version 1.5 or 1.6 from github? Please read the comments bellow, if you use 1.5 ...
Have a few more errors in console with the Latest Factions that is causing my server to crash every 2-3 hours:
http://pastebin.com/HU3kArC9
Thanks
@KevinGelking
If that works I upload it ;)
Using Bukkit v1.4.2_r0.2 (b2455) with factions 1.6.6 (as recommended build for 1.4.2) It doesn't work at all~ Getting this error when someone (except OP it seems) logs out: http://pastebin.com/XDUZvpzW
Using the same bukkit version but factions 1.7.8 (beta branch) It does work - but factions is completely fucked up for us and would need a full re-config~ (no /f commands work, factions exist but have no members, faction tag derped again)
Using the same bukkit version, factions 1.6.6 and disabling this plugins "Factions integration" still prevents the plugin from operating at all. Unfortunately the errors from above still apply to factions - but I made a backup so that shouldn't be a problem~
Any chance of making this work properly without factions integration? If possible I'd like to avoid a re-config of factions and not use beta builds for it.. ;o
@IDragonfire version 1.6 (available on github) supports also 1.6.X Ah! Gonna try that then :3
Edit: this works perfectly! :3 For everyone not using the BETA branch of factions, use the link the author provided further downwards
Thank you! I'mma try this out :3 we got a whole lot of pussies on our server~
Does 1.5 now work with Modifyworld installed?
Forgot to tell you that it's working awesum, cheers!
@IDragonfire
Oh I apologize haha. Awesome works thank you so much!
@KevinEssence
Did you try version 1.6? From here: https://github.com/downloads/IDragonfire/DragonAntiPvPLeaver/DragonAntiPvPLeaver%20v1.6.jar See comments below...
@IDragonfire
I tried it with 1.6.9.1, the latest faction version and it gives me and error along with factions in the console. I should of gotten than error for you. I'll try and recreate it later. The plugin works fine on my PVP Games server but something with factions is making it not work in the main server after some test.
@KevinEssence
Version 1.5 of my plugin supports Factions 1.7.7 ...
version 1.6 (available on github) supports also 1.6.X
Can you describe what does not work?
In Factions 1.7.7 no safezomes exists ... You must set the flag of the factions ;)
Does't work with factions