Description:
When a PvP attempt is blocked (e.g., attacker tries to hit someone with PvP disabled), the plugin sends a chat message to both the attacker and the target. This can be confusing for the target, who may not need to be notified every time someone tries to attack them.
Expected Behavior:
Only the attacker should receive the PvP denied message, as they are the one attempting an action that is not allowed.
Steps to Reproduce:
-
Player A has PvP disabled.
-
Player B tries to attack Player A.
-
Both players receive a message like "You can't attack that player."
Suggested Change:
Only show the PvP denial message to the attacker by default. Optionally, a config setting could allow server owners to choose if both players should see it.
Description:
When a PvP attempt is blocked (e.g., attacker tries to hit someone with PvP disabled), the plugin sends a chat message to both the attacker and the target. This can be confusing for the target, who may not need to be notified every time someone tries to attack them.
Expected Behavior:
Only the attacker should receive the PvP denied message, as they are the one attempting an action that is not allowed.
Steps to Reproduce:
Player A has PvP disabled.
Player B tries to attack Player A.
Both players receive a message like "You can't attack that player."
Suggested Change:
Only show the PvP denial message to the attacker by default. Optionally, a config setting could allow server owners to choose if both players should see it.