Skip to content

PvP Denied Message Sent to Both Players #15

@benrobson

Description

@benrobson

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:

  1. Player A has PvP disabled.

  2. Player B tries to attack Player A.

  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions