PvPToggle
PvPToggle
Allows players to decide whether or not they want PvP to be enabled or disabled, and stops PvP attacks when either the attacker or defender has PvP disabled. Also allows admins to toggle global or world-specific PvP, or the PvP status of a specific player, in a specific world. Muti-world compatible, Permissions compatible.
Latest version: v3.0.0
Features:
- Pretty much stated above, but hey, here they are anyway:
- Individual, player-specific enabling or disabling of PvP
- Global PvP control
- World-specific PvP control
- Automatically enable PvP in combat
- Permissions support - only allow certain groups or players access to specific functions
- Multiworld support - configure which world you want the plugin to be active in
- Cooldown timer - set time since last conflict in seconds before users can disable PvP again
- Blocks projectile PvP damage (including damage from Arrows, Snowballs and Fireballs!)
- Block thrown poisonous potion damage
- Warmup timer - set time since enabling PvP in seconds before users can PvP
- Pick between three different commands
- Set your own custom messages on PvP and command events
- WorldGuard PVP flag integration!
Installation:
To install this plugin, all you have to do is place it in your Bukkit plugins folder, and run the server (or reload it) once. This automatically generates a configuration file. That's it! The plugin is now installed.
To read more information about how to set up the configuration, see the Configuration page.
Or, to see what permissions you need to give your users for them to be able to use certain commands, see the Permissions page.
Commands:
PvPToggle now has the functionality to allow you to set the command which it should use! This is settable in the configuration file, and by default, will be set to "/pvp". All command functionality of PvPToggle is accessed via one command.
Basic command overview:
Command | Description |
---|---|
/pvp | Toggle own PvP status |
/pvp [status| on| off] | Set or check own PvP status |
/pvp [status| on| off] <player> [world] | Set, reset or check another players' PvP status. Add [world] argument to work in specific world |
/pvp w:<world> [status| on| off| reset] | Check, set or reset world-wide PvP status of specified world |
/pvp global [status| on| off| reset] | Deals with server-wide plugin operations - used to enable, disable, reset or check status of server-wide global PvP |
/pvp region [add| remove] <region> <world> | Adds or removes a WorldGuard region from PvPToggle's usage |
For more detailed information on usage of each command, see the commands page!
For more detailed information on region management and WorldGuard integration, see the WorldGuard Integration page!
Upcoming:
- Blocking
potion andfire damage - Time-based PvP restrictions
- Announcements
For support, bugs and feature requests, DON'T COMMENT, please start a ticket instead!
whats the permisson for peaple to do /pvptoggle?
Is this plugin compatible in 1.11.2?
many thanks
--CL
Can you please update to WorldGuard 6? This plugin's worldguard integration is broken.
I have made my own version of this if anyone is interested: http://dev.bukkit.org/bukkit-plugins/pvpcontrol/
@CaniCraft
The last update was almost a year ago, so i assume it won't be updated...
is this plugin going to be updated to the latest bukkit version ?
Does this plugin have permissions?
This plugin needs a funtion to save the PvP status of players somehow, so they won't have to continually do /pvp whenever they login if they wish to have their pvp on/off.
@craftik7
Sorry for my slow reply, because before I tried in my test server, it show me some error, but when i move to the real server, it just works...
2013-07-25 02:55:44 [SEVERE] Could not pass event EntityDamageByEntityEvent to PvPToggle v3.0.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 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.v1_6_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:95) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:383) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:408) at net.minecraft.server.v1_6_R2.EntityLiving.damageEntity(EntityLiving.java:614) at net.minecraft.server.v1_6_R2.EntityHuman.damageEntity(EntityHuman.java:714) at net.minecraft.server.v1_6_R2.EntityPlayer.damageEntity(EntityPlayer.java:370) at net.minecraft.server.v1_6_R2.EntityHuman.attack(EntityHuman.java:884) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:1115) at net.minecraft.server.v1_6_R2.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.NoClassDefFoundError: net/citizensnpcs/api/CitizensAPI at com.sleelin.pvptoggle.listeners.EntityListener.onEntityDamage(EntityListener.java:51) at sun.reflect.GeneratedMethodAccessor43.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:425) ... 21 more Caused by: java.lang.ClassNotFoundException: net.citizensnpcs.api.CitizensAPI at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 26 more
@KelvinKam
Didnt you even try? While it dont imports NMS / Craftbukkit internals, it dont need any update surely long time (like iConomy for 1.2.5 is working on 1.6.2)
@KelvinKam
It works on 1.6.2 just fine.
We need this plugin so much... Please update this plugin to 1.6.2 :'(
Fuuuuuck the developer wasn't online for months and this plugin don't work anymore. :'(
since yesterday i get complains! the players says that they turns pvp off but it's on :O
@joserobjr
Usando /pvp global off
Joserobjr XD
How do I use this to enable disable pvp status in all worlds?
For example /pvp would disable PVPing with the sender in all words, not just in the world that the player is
If this plugin is still being updated, i'd suggest allowing player to keep their inventory upon death, but toggling it on or off, just like the pvp.
Otherwise, awesome plugin ^^
What he said :> CombatControl is a replacement for this as it seems to be abandoned.
This plugin appears to be abandoned, I don't see any comments or ticket help from the author or contributor since November 2012.
If you're looking for a replacement you might take a look at Combat Control, it's working well for me.
http://dev.bukkit.org/server-mods/combatcontrol/
My humble apologies if it's still active!