Anti-PvP
AntiPvP is a plugin that allows you to toggle PvP by typing a command. It's very useful for big servers if you want to do maintenance without having to kick all the players or enable the whitelist.
Commands
- /pvp - Type to enable or disable PvP.
Permissions
- AntiPvP.pvp - Allows you to enable or disable PvP.
- AntiPvP.commandbypass - Allows you to use the blocked commands while PvP is disabled.
Potions
This is a list of splash potions that you cannot use while PvP is disabled:
- All Splash Potions of Poison
- All Splash Potions of Weakness
- All Splash Potions of Slowness
- All Splash Potions of Harming
Configuration
The configuration file is very basic and easy to configure. There are two configuration options:
If ForceEnable is true, every time the server is restarted or started, PvP will be enabled. If ForceEnable is false, every time the server is restarted or started, PvP will be disabled.
- ForceEnable: true
DisabledCommands is a list of commands that will be disabled when PvP is disabled. These can still be used by players that have the AntiPvP.commandbypass permission.
- DisabledCommands:
- - /example
- - /example2
Bugs and Issues
If you find any bugs or issues with this plugin please do not hesitate to post a comment. Please leave as much information as possible about the bug or issue. Thank you for your help. :D
is there a way to have no pvp in a certant area if ot i would like youto add that
Updated version coming very soon! :)
I was wondering if you could add a configuration option to disable/enable PvP in certain worlds (I have my reasons for not using Multiverse).
@AWSOMENESS1234567910
Yes, this plugin effects the whole world.
@AWSOMENESS1234567910
you need multiverse for that, change the config file so pvp is disabled/enabled in a world, you can also use the in-game command
Well does it effect the hole world or no :'(
if it doesn't please work on it
@nathnana2002
Oooh, nice idea! I might disable fishing rods as well because last time I checked they can hurt people as well.
I'm actually on holiday right now but I' will be back home soon so I will work on these ideas then. :)
Great!
I think you should disable snowballs as well cause they can hurt people too.
@blomman2
It can be easily done, so I will work on that when I get the time, I'm a little busy right now.
@ThaManOfPaper
I like your idea, I shall look into it :)
can u use a sign to do pvp on or off ?
that would be super nice if u can disable the command and only use the sign if u want ?:)
Looks cool, but I have an idea, you can make it so you can only disable PvP in a certain area. Most likely a World Edit selection.