Update Valheim+ Metaconfig (#283)

The Valheim+ server changes the ini file to contain spaces in the config file even though the initial config does not. This allows AMP to parse either format and update the file as needed. This requires 2.4.1.4 Nightly to work.
This commit is contained in:
IceOfWraith 2023-01-26 20:16:26 -06:00 committed by GitHub
parent 49df023f0e
commit 0580f64220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,11 @@
[ [
{
"ConfigFile":"./BepInEx/config/valheim_plus.cfg",
"AutoMap":true,
"ConfigType":"ini",
"ConfigFormat":"{0}={1}",
"ConfigFormatRegex":"^(?<key>.+?)=(?<value>.*?)$"
},
{ {
"ConfigFile":"./BepInEx/config/valheim_plus.cfg", "ConfigFile":"./BepInEx/config/valheim_plus.cfg",
"AutoMap":true, "AutoMap":true,