open class Console
The main class of the console mod. Most of its methods aren't publicly accessible, so this is mainly used to display messages to the player.
Author
LazyWizard
Since
2.0
open static fun getCommandTarget(context: CommandContext): Any |
|
open static fun getSettings(): ConsoleSettings |
|
open static fun reloadSettings(): Unit
Forces the console to reload its settings from the settings file. |
|
open static fun showDialogOnClose(dialog: InteractionDialogPlugin, token: SectorEntityToken): Unit open static fun showDialogOnClose(token: SectorEntityToken): Unit |
|
open static fun showException(message: String, ex: Throwable): Unit
Displays the stack trace of a Throwable. |
|
open static fun showMessage(message: String, logLevel: Level): Unit open static fun showMessage(message: String): Unit
Displays a message to the user. The message will be formatted and shown to the player when they reach a section of the game where it can be displayed properly (combat/campaign map). |