Skip to content

Debugging a PvP damage issue

ChanceSD edited this page Mar 2, 2024 · 3 revisions

If you can't understand why damage is being blocked or you're not getting tagged, try running /pmr debug damagedebug

It will print many details in your console about why an attack is or isn't getting cancelled, at least from PvPManager's side.
If PvPManager indicates the proper result, it's likely another plugin messing with the damage.

After you're done, run the command again to make the plugin function normally.


The premium version has a more powerful command that can tell which plugin blocked damage to a player.
It can be run with /pmr debug testdamage <targetPlayer>
Which will cause an attack from the <targetPlayer> against the player running the command and reveal what blocked it.

(Credit to WorldGuard for most of that code)

Clone this wiki locally