Configuration

Description about the configuration file.The configuration file can be found in <game_directory>/red4ext/config.ini.

circle-info

If there is no configuration file present then the file is automatically generated, with the default values, when the game is started.

circle-info

Even if the configuration file has ini extension, in fact, it is a TOML file See toml.ioarrow-up-right for more information.

Options

Name

Type

Default

Description

version

unsigned integer

0

The file's version.

โ€‹

โ€‹

โ€‹

โ€‹

logging

โ€‹

โ€‹

โ€‹

level

string

info

The global log level.โ€‹Accepted values:

  • off

  • trace

  • debug

  • info

  • warning

  • error

  • critical

flush_on

string

info

The minimum log level that will trigger the flush.Accepted values:

  • trace

  • debug

  • info

  • warning

  • error

  • critical

max_files

integer

5

The maximum number of rotated log files.โ€‹Note: A log file is rotated every time the game starts.

max_file_size

integer

10

The maximum size, in megabytes, of a log file.

โ€‹

โ€‹

โ€‹

โ€‹

plugins

โ€‹

โ€‹

โ€‹

enabled

boolean

true

Enable / disable plugins system.

ignored

string[]

[]

The specified plugins are ignored and will not loaded.

โ€‹

โ€‹

โ€‹

โ€‹

dev

โ€‹

โ€‹

โ€‹

console

boolean

true

Enable / disable the external console (useful for development).

wait_for_debugger

boolean

false

Block the process until a debugger is attached.

Example

An example of the configuration file.

Last updated