Lua Console/Log
The Lua Console can be used to run Lua commands interactively and also displays
log messages. Lua commands are run as coroutines, long running commands that
yield properly will not cause the UI to freeze.
Settings
The settings for the Lua Console are stored in settings/console.lua.json
.
-
window.x
- Type:
- integer
- Default:
- 200
The window position x coordinate.
Version History
-
window.y
- Type:
- integer
- Default:
- 30
The window position y coordinate.
Version History
-
window.width
- Type:
- integer
- Default:
- 600
The window width.
Version History
-
window.height
- Type:
- integer
- Default:
- 300
The window height.
Version History
-
window.show
- Type:
- boolean
- Default:
- false
Show the Lua Console window?
Version History
-
maxLines
- Type:
- integer
- Default:
- 1000
The maximum lines to show in the console window. This includes
input/commands, output and log messages.
Version History
-
colors.ERROR
- Type:
- integer
- Default:
- 0x911717FF
The color used to display ERROR messages.
Version History
-
colors.WARNING
- Type:
- integer
- Default:
- 0xb58326FF
The color used to display WARNING messages.
Version History
-
colors.DEBUG
- Type:
- integer
- Default:
- 0x676F80FF
The color used to display DEBUG messages.
Version History
-
colors.INFO
- Type:
- integer
- Default:
- 0xFFFFFFFF
The color used to display INFO messages.
Version History