DamageSystems.PlayerDamageFilterSystem
Package: com.hypixel.hytale.server.core.modules.entity.damage
public static class DamageSystems.PlayerDamageFilterSystem extends DamageEventSystemCancels damage to players who have spawn protection active, and cancels player-vs-player damage when PvP is disabled in the world config. Part of the filter damage group. Checks Player.hasSpawnProtection() first; if the player is not protected, checks if PvP is disabled and the source is another player, cancelling the damage if so.
Related Types
Section titled “Related Types”- DamageSystems — parent class
- Damage.EntitySource — checked for PvP source detection
- DamageEventSystem — base class
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.