HonestPVP
HonestPVP handle a fair PVP system.
HonestPVP provides a system for fairer pvp. The differents functions are totally independent and each can be enable or disable.
Features
- HonestPVP provides a system for fairer pvp. The functions are :
- Protection of no stuff player :
- This protects the no stuff player being attacked but if a no stuff player attacks another player, he will loose his "no stuff protection" during a durate (defined in config file).
- Configurable protection depending of the zones of Factions plugin
- Configurable list of item considered like stuff !
- Configurable delay of loss "no stuff protection"
- Protection against disconnection during fight :
- Bored of the player who disconnects during the fight ? This is the solution ! This functions execute one or more commands when a player disconnect whereas he is in fight.
- Execute command(s) of your choice when a player disconnect during a fight
- Configurable duration of a fight
- Set if the functions handle the fight against the mobs
Language
This plugin is translated in :
- English
- French
- German (version 1.0) You can make your own traduction. Just change the language in config file and then customize the file lang_xx.yml.
- If you want to support the plugin, you can send me a translation in another language (or a better translation that the actual available translation) !
Configuration
- language:Look at above section
- antiKillNoStuff:
- "enabled": define if the protection of the no stuf is enabled or not
- "noProtectionTime": durate in seconds of loss "no stuff protection", when a no stuff player attacks another player
- "itemStuff": list of the item considered like stuff
- "factionSettings":
- "isEnabledInWarZone": Define if the anti kill no stuff system is activated in the WarZone
- "isEnabledInWilderness": Define if the anti kill no stuff system is activated in the wilderness
- "isEnabledInClaimZone": Define if the anti kill no stuff system is activated in the zone claimed by the factions
- "enableFightNostuffVSNostuff": Define if the no stuff players can fight between each others
- antiDisconnectInFight:
- "enabled": define if the protection of the no stuff is enabled or not
- "enabledMobFight": define if the mobs activate/trigger the fight mode
- "durationOfFight": duration of a fight
- "actionOnDisconnectInFight": action to execute when a player who was in fight disconnect. If you want to drop is inventory to ground, just write "dropinv;". You can execute multiples actions but each actions MUST BE SEPARATED by ";". To add the name of the player who disconnect in the command, just write "%p". To execute a command write "cmd:<your command and args>" and at the end don't forget ";". For example, if you want to drop the inv of the player and tell the others players that the player who disconnect is fearful. Write this : "dropinv;cmd:say %p is fearful. He tried to escape to the fight !;"
- forbiddenCmdInFight: list of command to disable during the fight If you want to disable it, just write []. You must not use the slash at the beginning of the command.
Commands
/hpvp reload reload the config file
Permissions
- honestpvp.reload : Allow access to the /hpvp reload command
- honestpvp.bypassantidisco : Bypass the anti disconnect system : the anti disconnect in fight system is disabled for you
License All rights reserved.
It seams to work with 1.8 but the console is spam of error.
Alphart : you better test your plugin in 1.8 to fix these errors, thank you
Support 1.8 ?
Salut, pourrais tu mettre à jour ton excellent plugin, pour la version 2.7.X de Factions et Massivecore, car il ne fonctionne plus avec ces nouvelles versions :/
Finally updated to 1.7.10. The file is wainting for approval.
Finalement mis à jour pour la 1.7.10, le fichier est en attente d'approbation.
Oui, je suis d'accord, il ne marche plus. Mettez-le à jour svp. :/
Ca fonctionne pas avec le dernier Factions et MassiveCore, je viens de mettre à jour ces 2 plugins et HonestPVP ne marche plus :/
@Hugo74
C'est une liste, voilà ce qu'il faudrait :
forbiddenCmdInFight:
- logout
- spawn
Bonjour , pour ajouter des commandes interdites en combat , comment il faut faire , si je fais ça cela ne marche pas :
forbiddenCmdInFight: logout;spawn;
Merci ;)
Très bon plugin, keep it updated, I'll really appreciate it ;)
@GregoriusMC
When you say "My server couldn't generate the config files", you mean the plugin doesn't work at all or you can't generate the language file ? If you have any issue please post your log, it will help me to improve the plugin by removing the bugs.
In any case, here is the english file : http://pastebin.com/yfPMkfQJ
@AlphartDev
My server couldn't generate the config files, but I would like to translate your plugin. Can you give me a copy of the english.yml ?
French :
Salut, j'aimerai savoir comment autoriser le PvP No stuff vs No Stuff ?
Car si un no stuff veut combattre contre un no stuff il ne peut pas ...
Vous pourriez me dire comment faire? Sinon le plugin est super !
Merci :)
@emfjop
Yes it works on 1.6.4 except if you have Faction 2, I have to release a version for Faction v2
Does it work on 1.6.4? Thanks!
@Wolfgang123321 Yes, my skype is: alphartdev
Do you have Skype?
To other people; just write this answer in French. Nothing of important.
@Qw4rtz Salut Qw4rtz, en fait la raison est très simple, une très grande partie de la communauté bukkit est anglophone ou au moins maitrise les bases de la langue alors que la communauté francophone utilisant bukkit est bien plus petite. C'est donc tout simplement pour viser le plus grand nombre que j'ai rédigé la doc. Alors maintenant tu vas me demander pourquoi je ne le fais pas en Francais et en Anglais ? J'ai la flemme de le faire et je pense que le gain est assez faible par rapport au temps utilisé. Mais si tu as des questions je t'aide avec plaisir et dans ce cas on continue par MP ou skype. A bientôt !
FR:
Merci pour ce plugin :) et bonne idée d'avoir ajouter un anti-déco par contre, je ne comprend pas pourquoi tu a mis la description en anglais alors que tu est français ?!?
Cordialement.
Ok thanks. A big update will be released for next weeks. It will fix a lot of bugs. Stay tuned !
I have faction v2.0.2 and mcore v6.5.1. When a player hit an other player, i gets this error :
... 22 more at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) at java.lang.reflect.Method.invoke(Method.java:606) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at fr.Alphart.HonestPVP.Manager.EListener.onPlayerGetDamage(EListener.java:113) at fr.Alphart.HonestPVP.AntiKNS.isProtected(AntiKNS.java:65) at fr.Alphart.HonestPVP.AntiKNS.isEnabledInThisZone(AntiKNS.java:102) Caused by: java.lang.NoClassDefFoundError: com/massivecraft/factions/FLocation at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230) at net.minecraft.server.v1_6_R2.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:1148) at net.minecraft.server.v1_6_R2.EntityHuman.attack(EntityHuman.java:885) at net.minecraft.server.v1_6_R2.EntityPlayer.damageEntity(EntityPlayer.java:379) at net.minecraft.server.v1_6_R2.EntityHuman.damageEntity(EntityHuman.java:715) at net.minecraft.server.v1_6_R2.EntityLiving.damageEntity(EntityLiving.java:643) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:425) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:400) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:96) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) org.bukkit.event.EventException 2013-08-25 02:21:17 [SEVERE] Could not pass event EntityDamageByEntityEvent to HonestPVP v1.3.1
And nostuff protection doen't run.