Skip to content

DamageSystems.PlayerDamageFilterSystem

Package: com.hypixel.hytale.server.core.modules.entity.damage

public static class DamageSystems.PlayerDamageFilterSystem extends DamageEventSystem

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

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.