Skip to content
baris edited this page Apr 14, 2022 · 3 revisions

Summary List of Console addons

Addons are located in src/com/junkbyte/console/addons
These add functionality on top of base console.

Memory Tracker *New*

  • With Cc.watch, you can track whether the objects you watch are cleaned by the garbage collector.
  • Start from code: MemoryTrackerAddon.start();
  • Add to menu: MemoryTrackerAddon.addToMenu();
  • Register to commandLine: MemoryTrackerAddon.registerCommand();
  • You can override sort function with "MemoryTrackerAddon.sort"

HScript *New*

  • You can execute script code using the junkbyte interface.
  • Start from code: HScriptAddon.start();
  • Add to menu: HScriptAddon.addToMenu();
  • Register to commandLine: HScriptAddon.registerCommand();
  • Important: In order to use the plugin, hscript library must be added into the project.

Display Map

  • Displays a panel mapping the display tree/map.
  • Start from code: DisplayMapAddon.start();
  • Add to menu: DisplayMapAddon.addToMenu();
  • Register to commandLine: DisplayMapAddon.registerCommand(); use /mapdisplay, starts mapping from current command scope.

HTML Export

  • Export console logs to a HTML file. preserves channels and priorities.
  • It also have all those filtering features in HTML page.
  • Add to menu: ConsoleHtmlExportAddon.addToMenu();

Command Prompt

  • Simulates 'command prompt' style user input.
  • Ask to choose from a selection of input, user enter into command line to choose a selection.
  • Could be useful for 'utility' sort of app where there is no GUI to represent user options.

CommandLine Auto focus

  • Sets focus to commandLine input field whenever Console becomes visible, e.g after entering password key.