Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
Adding new config variables from patch 0.2.0.6
  • Loading branch information
Ballaual authored Apr 4, 2024
1 parent 4c6483b commit a2b38f9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
}

Expand Down Expand Up @@ -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="",

Check failure on line 195 in main.go

View workflow job for this annotation

GitHub Actions / Build (ubuntu-20.04, 1.21.4, linux, amd64)

duplicate key "Region" in map literal

Check failure on line 195 in main.go

View workflow job for this annotation

GitHub Actions / Build (ubuntu-20.04, 1.21.4, linux, arm64)

duplicate key "Region" in map literal

Check failure on line 195 in main.go

View workflow job for this annotation

GitHub Actions / Build (ubuntu-20.04, 1.21.4, windows, amd64)

duplicate key "Region" in map literal

Check failure on line 195 in main.go

View workflow job for this annotation

GitHub Actions / Build (ubuntu-20.04, 1.21.4, windows, arm64)

duplicate key "Region" in map literal
"bShowPlayerList": "TrueFalse", //bShowPlayerList=False

Check failure on line 196 in main.go

View workflow job for this annotation

GitHub Actions / Build (ubuntu-20.04, 1.21.4, linux, amd64)

duplicate key "bShowPlayerList" in map literal

Check failure on line 196 in main.go

View workflow job for this annotation

GitHub Actions / Build (ubuntu-20.04, 1.21.4, linux, arm64)

duplicate key "bShowPlayerList" in map literal

Check failure on line 196 in main.go

View workflow job for this annotation

GitHub Actions / Build (ubuntu-20.04, 1.21.4, windows, amd64)

duplicate key "bShowPlayerList" in map literal

Check failure on line 196 in main.go

View workflow job for this annotation

GitHub Actions / Build (ubuntu-20.04, 1.21.4, windows, arm64)

duplicate key "bShowPlayerList" in map literal
"RESTAPIEnabled": "TrueFalse", //RESTAPIEnabled=False
"RESTAPIPort": "Numeric", //RESTAPIPort=8212
"AllowConnectPlatform": "String", //AllowConnectPlatform=Steam
"bIsUseBackupSaveData": "TrueFalse", //bIsUseBackupSaveData=True
// Add other keys as needed
}

Expand Down

0 comments on commit a2b38f9

Please sign in to comment.