-
Notifications
You must be signed in to change notification settings - Fork 1
Addons
baris edited this page Apr 14, 2022
·
3 revisions
Addons are located in src/com/junkbyte/console/addons
These add functionality on top of base console.
- 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"
- 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.
- 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.
- 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();
- 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.
- Sets focus to commandLine input field whenever Console becomes visible, e.g after entering password key.