From 0580f64220a3544a5a0d44155bb94a0f0ae5d468 Mon Sep 17 00:00:00 2001 From: IceOfWraith <96364530+IceOfWraith@users.noreply.github.com> Date: Thu, 26 Jan 2023 20:16:26 -0600 Subject: [PATCH] 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. --- valheimmetaconfig.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/valheimmetaconfig.json b/valheimmetaconfig.json index 3977d42..db51751 100644 --- a/valheimmetaconfig.json +++ b/valheimmetaconfig.json @@ -3,7 +3,14 @@ "ConfigFile":"./BepInEx/config/valheim_plus.cfg", "AutoMap":true, "ConfigType":"ini", - "ConfigFormat": "{0}={1}", + "ConfigFormat":"{0}={1}", "ConfigFormatRegex":"^(?.+?)=(?.*?)$" + }, + { + "ConfigFile":"./BepInEx/config/valheim_plus.cfg", + "AutoMap":true, + "ConfigType":"ini", + "ConfigFormat":"{0} = {1}", + "ConfigFormatRegex":"^(?.+?) = (?.*?)$" } ] \ No newline at end of file