PvPManager
Using multiple plugins to handle PvP? Don't want to use yet another plugin just for that one feature? Or even simply looking for an updated Combat Log plugin with great performance?
Supports servers running Spigot / Paper / Folia
Supports PlaceholderAPI - List of placeholders or /papi info pvpmanager
Features
- Prevent PvP Log with various punishments
- Toggle PvP with commands
- Disables Fly/GameMode/Disguises/Invisibility when entering combat
- Newbie Protection (New players are protected when they join)
- Auto Soup (Soup is instantly consumed and heals player)
- Anti Border Hopping (Players can't run to safe zones while tagged)
- Anti Kill Abuse (Killing the same player several times can be stopped)
- Respawn Protection
Other Features
- Blood animation on hit
- Block placing lava/fire near players with PvP disabled
- Block Commands and Enderpearls while in combat
- Block Placing blocks while in combat
- Detects Auto Disconnect hack and still punishes the player
- Transfer a player's drops directly to his killer
- Can be disabled in specific worlds
- Everything is configurable including messages
Commands
/pvp [player] - Toggles PvP/pvpstatus - Check your PvP status/pvptag - Check time left until out of combat/newbie [disable] - Check time left as newbie or disable protection
/pvplist <offline> - List the PvP state of all online or offline players/pvpinfo [player] - Shows info about you or other player/pvpstatus [player] - Check yours or other player PvP status/pvpoverride - Allows player to attack anywhere/newbie [add/checktime/remove] - Add/remove newbie protection or check time left/pvptag [player] [seconds] - Combat tags a player/untag [player] - Untags a player/pvpglobal <on|off> - Toggle PvP for the whole server/announce - Mainly to be used in the config, can broadcast messages without any prefix/pmr - Shows PvPManager help page/pmr cleanup- Clean players from database/pmr locale- Change your message file to another language/pmr reload - Reloads PvPManager/pmr worlds - Clickable menu to manage world PvP/pmr update - Update PvPManager to latest version
Aliases:
- /pvp - /toggle or /pvptoggle
- /pmr - /pvpmanager or /pvpm
To see all permissions check the Full List
Languages
You can customize the ingame PvPManager messages by editing the file "messages.properties". Change locale to your own language in config.yml or edit the default messages file, it supports color codes (&1, &2, etc) and hex color codes.
You can help translate to your language here: Crowdin
Notes
- PvPManager has an auto updater, it's optional and possible to disable by going to /plugins/PvPManager/config.yml and opt-out under the 'Update Check' section
- If you find a bug, please create a ticket so it can be fixed
- Do you want a similar plugin but directed to PvE? Try my other plugin PvEManager
- Looking for the old PvPTimer feature? Here it is: PvPCycle
Donations

If you appreciate my work and/or make profit from your server, donations are welcome!
PvPManager Premium
bStats
Since 02/10/2019 (Started tracking on v3.5)
-
View User Profile
-
Send Message
Posted Jun 4, 2014Hey,
Can you add option, that if you are in combat your invisibility disappears?
-
View User Profile
-
Send Message
Posted May 30, 2014Created a Developers page which should explain all the basics about how to use PvPManager
Also updated the Configuration page, it was really outdated.
-
View User Profile
-
Send Message
Posted May 27, 2014@TheDroneWolf
Sure, a PR is always welcome. I never focused on having an API but the methods available already allow to do pretty much anything. I think the tryCancel(attacker, attacked) is the same as what you are suggesting except it takes a PvPlayer instead of Player.
I know at least one other plugin is hooking into mine, i guess it would be pretty useful to be some kind of Vault of PvP. Allowing plugins to be easily compatible with other PvP plugins, i thought about it but never actually tried it. Would be awesome xD
@QuietRi0t
Hey, sounds good. The effect will be the same red color though, i guess it will look good anyway.
-
View User Profile
-
Send Message
Posted May 27, 2014Hey man. You think you can add blood effects to mobs too? That's the only thing I feel is missing. Thanks ;)
-
View User Profile
-
Send Message
Posted May 27, 2014@NoChanceSD
Would you be opposed to me submitting a PR for a some sort of simple API?
A couple of global methods could be really useful, like isPVPAllowed(attacker), and isPVPAllowed(attacker, attacked).
These could be in an interface that the main plugin class implements, or some other approach if you'd prefer.
It's not a big deal, like you said, not sure how many people other than me are tying in to your plugin- though if you wanted to become a sort of PVP "hub", like the Vault of PVP, that could be really handy.
-
View User Profile
-
Send Message
Posted May 27, 2014@TheDroneWolf
I might add that to my pom, not sure how many people are actually using my plugin but might as well add it. Thanks for the offer.
If you want to check all cases where PvP is blocked this method might be better Github. If it's FAIL or FAIL_OVERRIDE then the attack should not be blocked. I can't assure that method will remain unchanged but you could just copy those if-clauses instead of using the method.
-
View User Profile
-
Send Message
Posted May 27, 2014@NoChanceSD
Ah, thanks for the head's up! It's actually not me using it, but @xs0lidus so I will defer to him.
This other plugin would just set the player's PVP flag post-2.0, so I don't need to worry about it unless I want to support 1.9.6's TimerManager?
Thanks for all of your help!
I'll be hosting 2.1.4 at maven.elmakers.com. I can add more versions as you like, but for my purposes just having one in there is good. If you wanted to "advertise" this so other devs could use it, you're welcome to add this to your pom.xml:
Otherwise, doesn't really matter. You're also welcome to use my CI server if you like, it kind of comes with the Maven repo.
-
View User Profile
-
Send Message
Posted May 27, 2014@TheDroneWolf
Feel free to do it, i don't have any maven repository.
Btw, you mentioned wanting to check if it's day time or not, that feature was removed in 2.0.
I decided to split it to another plugin but if you wanted to check for that in v1.9.6 you would get the WorldTimerManager instead of the PlayerHandler.
-
View User Profile
-
Send Message
Posted May 27, 2014@NoChanceSD
Thank you, that's what it looked like, and should work perfectly for me- I basically just want to make my combat spells obey your PVP settings.
I forgot to ask, do you have a Maven repository set up? If not, would you mind if I host you in my repo (maven.elmakers.com)? Just to at least have one non-snapshot version in there to build against.
-
View User Profile
-
Send Message
Posted May 27, 2014@TheDroneWolf
Yes, that should work without any problem assuming you want to check his PvP state (which is changed when you do /pvp).
I didn't include any API documentation in here but should be pretty easy to use just by the method names.
You can check a lot of things on a player(basically almost all the methods in PvPlayer) and use it to do what you need.
-
View User Profile
-
Send Message
Posted May 27, 2014Hello! I'm looking to integrate with your plugin- I don't see an API, but this seems reasonably straightforward- would this code tell me if a player can currently PvP, given their current location, time of day, etc?
pvpManager.getPlayerHandler().get(player).hasPvPEnabled()
This is assuming I've got a reference to your plugin as "pvpManager" and a Player.
Thanks!
-
View User Profile
-
Send Message
Posted May 19, 2014@Bossminer093
Like i said in the ticket: I don't know what you mean by support. What part didn't work with factions?
I think everything should be working fine with Factions.
-
View User Profile
-
Send Message
Posted May 18, 2014Does this plugin support factions?
-
View User Profile
-
Send Message
Posted May 17, 2014@NoChanceSD
Sure!Thank you!
-
View User Profile
-
Send Message
Posted May 17, 2014@Sprunkas
They cause at least damage animation so they are considered as a hit. I might add an option to ignore damage from that kind of thing like snowballs and eggs, i can't say when that will be though.
-
View User Profile
-
Send Message
Posted May 17, 2014@NoChanceSD
I mean for example if you throwing snowball or hooking with fishing rod from outside residence to player which is in residence then both players are tagged as they're in combat and they can attack each other. I treat this as bug. So there can be option to disable snowballs or fishing rods to tag players.
-
View User Profile
-
Send Message
Posted May 17, 2014@honhon13579
Hm sure but leave a link to here.
@Sprunkas
What's the point of having it enabled then? Just disable it.
-
View User Profile
-
Send Message
Posted May 17, 2014Please add feature that if you have in your residence flag which don't allow PVP and if you have enabled "Disable Border Hopping" then in residence you can't be hitted
-
View User Profile
-
Send Message
Posted May 17, 2014May I reprinted at MCHK(forum of Minecraft in Hong Kong),plz?
-
View User Profile
-
Send Message
Posted May 16, 2014@pepper82
I will probably add a cooldown after a player respawns before he can be attacked again.
Guess it might help a bit with that issue.