PVPEvent

constructor(damager: Player, victim: Player, cause: EntityDamageEvent.DamageCause, damage: Double)

Parameters

damager

The player who damaged the other player.

victim

The player who was damaged.

cause

The cause of the damage.

damage

The amount of damage dealt.