Skip to content

NPCDebugCommand

Package: com.hypixel.hytale.server.npc.commands

public class NPCDebugCommand extends AbstractCommandCollection

Implements /npc debug. A command collection for managing RoleDebugFlags on NPC entities. Debug flags control which debug overlays and trace outputs are active for an NPC (state display, sensor traces, pathfinder visualization, collision display, etc.).

When debug flags are modified, the NPC’s Nameplate component is removed to avoid conflicts with debug display rendering.

public NPCDebugCommand()

Registers as sub-command "debug" with translation key "server.commands.npc.debug.desc".

Sub-commandClassDescription
showShowCommandDisplays current debug flags on the target NPC
setSetCommandReplaces debug flags with the specified set
toggleToggleCommandToggles individual debug flags on/off
defaultsDefaultsCommandApplies the “default” preset flags
clearClearCommandRemoves all debug flags
presetsPresetsCommandLists available flag presets
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.