Skip to content

DesyncDamageCommand

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

public class DesyncDamageCommand extends CommandBase

A debug command (/desyncdamage) that toggles the CAUSE_DESYNC flag on DamageSystems.FilterUnkillable. When enabled, all damage to all entities is cancelled, useful for debugging damage desynchronization issues.

public DesyncDamageCommand()

Registers the command with name "desyncdamage" and description key "server.commands.damage.desyncdamage.desc".

@Override
protected void executeSync(@Nonnull CommandContext context)

Toggles DamageSystems.FilterUnkillable.CAUSE_DESYNC and sends a feedback message indicating the new state.

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