NPCDebugCommand.ToggleCommand
Package: com.hypixel.hytale.server.npc.commands
public static class NPCDebugCommand.ToggleCommand extends NPCMultiSelectCommandBaseInner class of NPCDebugCommand. Toggles individual debug flags on the target NPC(s). For each specified flag, if it is currently set it is removed, and if it is not set it is added.
Arguments
Section titled “Arguments”| Argument | Type | Required | Description |
|---|---|---|---|
flags | String | yes | Comma-separated list of debug flag names to toggle |
Constructor
Section titled “Constructor”public ToggleCommand()Registers as sub-command "toggle" with translation key "server.commands.npc.debug.toggle.desc".
Related Types
Section titled “Related Types”- NPCDebugCommand — parent command collection
- NPCDebugCommand.SetCommand — replaces flags instead of toggling
- NPCMultiSelectCommandBase — 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.