Skip to content

Debug Commands

Debug commands are hidden and disabled by default. Enable them only while testing or diagnosing a problem.


Add these settings to config.yml:

debug: true
event-profiling:
enabled: true
verbose: false
  • debug: 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.


Parses direct MiniMessage input with KOTL’s chat manager and sends the rendered component back to the player.

Terminal window
/kotl debug component <message>

Example:

Terminal window
/kotl debug component <gradient:#FFD700:#FF8F00><bold>King test</bold></gradient>

This command is player-only.

Permission: kotl.debug.component


Sends the accumulated KOTL custom event timing report to the command sender.

Terminal window
/kotl debug dump

The report is useful only when event-profiling.enabled is true.

Permission: kotl.debug.dump