Skip to content

Console Module

PiggyPiglet edited this page Aug 17, 2019 · 1 revision

The console module is a fairly basic addon, simply adding in support for console commands. It does this by dedicating a thread with a scanner, constantly waiting for any stin (System.in) new lines. Commands are processed in a command handler called console.

Commands

The addon only provides one new command, the stop command. Simply type <commandPrefix> stop into console, and the application will exit with code 0.