Debug Commands
Debug commands are hidden and disabled by default. Enable them only while testing or diagnosing a problem.
Enabling Debug Mode
Section titled “Enabling Debug Mode”Add these settings to config.yml:
debug: true
event-profiling: enabled: true verbose: falsedebug: Registers command framework debug features.event-profiling.enabled: Records listener execution time for KOTL custom events.event-profiling.verbose: Logs every profiled event call. Keep this disabled outside short diagnostic sessions.
Reload KOTL after changing these settings.
Component Command
Section titled “Component Command”Parses direct MiniMessage input with KOTL’s chat manager and sends the rendered component back to the player.
/kotl debug component <message>Example:
/kotl debug component <gradient:#FFD700:#FF8F00><bold>King test</bold></gradient>This command is player-only.
Permission: kotl.debug.component
Dump Command
Section titled “Dump Command”Sends the accumulated KOTL custom event timing report to the command sender.
/kotl debug dumpThe report is useful only when event-profiling.enabled is true.
Permission: kotl.debug.dump