## The default configuration is designed to be usable without any modification.
extendsNode
class_nameCoreConfiguration
@export_category("Global")
## Controls CORE's functionality.
## Renders GUI-related modules useless when set to [code]false[/code], which is the recommended behaviour on servers. For CORE's full functionality, set this to [code]true[/code].
@exportvarheadless:bool
## Allows debugging functionality if set to [code]true[/code], or not if set to [code]false[/code].[br]
## [br]
## Note: This will not enable the development mode automatically, only if you're developing on CORE itself.
@exportvardebugging:bool
## Allows or disallows custom modules.
@exportvarcustom_modules:bool
@export_category("Logger")
## I don't have to explain this, do I?
@exportvarlogger_level:CoreTypes.LoggerLevel
## Toggles colored output. Set to [code]false[/code] if you don't want that.
@exportvarlogger_colored:bool
## The format string the logger will operate on. Available placeholders are: [code]%time%[/code], [code]%time_ms%[/code], [code]%level%[/code], [code]%color%[/code], [code]%message%[/code], [code]%source%[/code], [code]%source_raw%[/code], [code]%function%[/code] and [code]%line%[/code]
@exportvarlogger_format:String
## This example should make it clear, what this does:
## [codeblock]
## logger_newlines_override = true:
## [09:47:00] [INFO Test.gd:69] This is a test message...
## with a newline!
## logger_newlines_override = false:
## [09:47:00] [INFO Test.gd:69] This is a test message...
## with a newline!
## [/codeblock]
@exportvarlogger_newlines_override:bool
## The maximum amount of characters than can appear before [code]%message%[/code] before newlines won't be overriden. Setting this variable to [code]-1[/code] disables this behaviour.
@exportvarlogger_newlines_sizelimit:int
@export_category("LogUI")
## Determines if [code]LogUI[/code] should be visible or not.
@exportvarlogui_enabled:bool
## The color the [code]LogUI[/code] background will have. Set to [code]Color.TRANSPARENT[/code] for a transparent background.