From a2b38f913464c047981ffc60c96d88c95e24e91d Mon Sep 17 00:00:00 2001 From: Alexander Ballauf Date: Thu, 4 Apr 2024 12:34:13 +0200 Subject: [PATCH] Update main.go Adding new config variables from patch 0.2.0.6 --- main.go | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index bb53bc8..bf1ba99 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,7 @@ import ( ) // Version of the program -const Version = "v1.0.12" +const Version = "v1.0.13" func main() { fmt.Println("Program Version:", Version) @@ -117,6 +117,10 @@ func main() { "BanListURL": "BAN_LIST_URL", "Region": "SERVER_REGION", "bShowPlayerList": "SHOW_PLAYER_LIST", + "RESTAPIEnabled": "REST_API_ENABLED", + "RESTAPIPort": "REST_API_PORT", + "AllowConnectPlatform": "ALLOW_CONNECT_PLATFORM", + "bIsUseBackupSaveData": "USE_BACKUP_SAVE_DATA", // Add other environment variables and corresponding INI keys here } @@ -188,6 +192,12 @@ func main() { "BanListURL": "String", //BanListURL="https://api.palworldgame.com/api/banlist.txt" "Region": "String", //Region="", "bShowPlayerList": "TrueFalse", //bShowPlayerList=False + "Region": "String", //Region="", + "bShowPlayerList": "TrueFalse", //bShowPlayerList=False + "RESTAPIEnabled": "TrueFalse", //RESTAPIEnabled=False + "RESTAPIPort": "Numeric", //RESTAPIPort=8212 + "AllowConnectPlatform": "String", //AllowConnectPlatform=Steam + "bIsUseBackupSaveData": "TrueFalse", //bIsUseBackupSaveData=True // Add other keys as needed }