AntiPvPLogger
I decided to get off my bum and re-code AntiLogger completely. This time it is a lot more efficient and so far no dupes/glitches!
AntiPvPLogger is one of the most advanced CombatLogging plugin. It will solve all your problems. (Relating to combat logging). When a player logs out (By default) A.P.L. will spawn a clone NPC of that player for 15 seconds. If there are players nearby. Other players can then kill the NPC and get the loot. When the player logs back in his inventory will be cleared and he will be sent to spawn.
Thanks to everyone who has helped with this project. Whether it is if Bug reporting, suggestions, or beta testing. Thanks.
Here are some features:
- When a player logs out it will spawn a NPC clone of your player for 15 seconds. Only if there are enemies nearby.
- Config to edit options relating to the NPC spawn style.
- When you kill an NPC it drops the players items, and when the player logs back in their inventory will be cleared and they will die.
- Config option to make the NPC fight back.
- Configurable distance for detecting nearby players
- Does not spawn the NPC if they player is in Creative.
ChangeLog:
- Added configurable distance for detecting players.
- Added a bypass permission node: "antilogger.bypass"
- Removed fighting back option.
- Fixed inventories disapearing glitch.
A VIDEO THAT NEEDS AWARENESS
http://www.youtube.com/watch?v=6KEMCNAR504
@IDragonfire
Using your build: 2012-09-13 16:44:07 [SEVERE] Could not pass event PlayerDeathEvent to DragonAntiPvP org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:322) at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:307) at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:663) at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:595) at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:349) at net.minecraft.server.EntityHuman.attack(EntityHuman.java:762) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1026) at net.minecraft.server.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:111) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:578) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at com.github.idragonfire.listener.AntiPvPListener.onPlayerDeath(AntiPvPListener.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339) ... 20 more
If you need help on any dev. work just toss me a PM, I've already sent you one.
@IDragonfire
Works perfectly
@IDragonfire
I sent you a message, waiting for your reply.
Plugin released: http://dev.bukkit.org/server-mods/dragonantipvpleaver/
I rewrote the whole plugin: https://github.com/IDragonfire/DragonAntiPvP/downloadsAtm. I wait on an answer from DylanHolmes for publication.IDragonfire
@IDragonfire
dl
Is duping gone?
Is duping gone?
@joehot200
I am looking for a Dev to take over this, want to?
@EricPickup
just make his npc spawn for 200 seconds, he will be sure to die in that time, otherwise, there is other plugins for that.
I rewrote the whole plugin, but still waiting for an respone from the author.
+Fix config files reset +Fix double items drops +NPC stay longer, if there got damage from Players, Mobs, ... ...
Are there any issues with duping anymore?
Is there an option to make the player be killed instantly instead of having an NPC spawn etc?
@LEOcab
Okay well this was a main reason why our server resest o.o Maybe i'll hold off on it and do some more research. Thank you mate!
@KevinEssence Several of my players offered to test this (the dupe became pretty known after a group of three players and some other player totally depreciated the value of diamonds and f*cked up the whole server's economy this way and I had to explain the bans to everyone else) and it looks like the dupe bug was indeed fixed.
Is there anyway to dupe with this before I add it? Like were dupes tested?
@Zell3664
Citizens is an incompatible I am pretty sure.
ModifyWorld in PermissionEx disable hitting my NPCs for some reason.
Oh yay! You updated it! In the name of me and all of the players on my server, THANK YOU! :D
I have one request: is there a way you could add an option to create an NPC regardless of whether the player was in combat or not? That way players won't use the method to avoid death by fall or by mobs. You know, you can just log out while falling and when you log back on you take zero fall damage. It makes falling traps useless. :/
I don't know if this is because of citizens or not but when i log out in combat in my server (deopped myself to make this work) I can come back in instantly and still dupe my stuff cuz my NPC is there
@Zardizstuhr
No, I believe Citizens brakes this plugin, unless there is some sort of config option...