mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-01-19 18:14:44 +00:00
We can now parse arbitrary INI configuration entries. This will allow server customization and testing without recompiling the server.
20 lines
292 B
INI
20 lines
292 B
INI
# This is a comment
|
|
[default]
|
|
string = a string
|
|
string_quoted = "a string"
|
|
int = 31
|
|
time = 1 second
|
|
time2 = 100 milliseconds
|
|
float = 0.1
|
|
bool_true = yes
|
|
bool_false = no
|
|
# missing
|
|
|
|
[bad]
|
|
bad_int = not a number
|
|
bad_time = 10
|
|
bad_float = A
|
|
bad_bool = dunno
|
|
bad_int_range = -1
|
|
bad_int_range2 = 3
|