Skip to content

Commit

Permalink
Merge pull request #11 from pedrotski/patch-2
Browse files Browse the repository at this point in the history
Add missing variables
  • Loading branch information
QuintenQVD0 authored Aug 31, 2024
2 parents 96b10f7 + 69b38f5 commit 96b76bd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
34 changes: 18 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you want to support my work:

## Key with Variables

| Config Keyword | ENV Variable | Pterodactyl Stock |
| Config Keyword | ENV Variable | Pterodactyl Stock |
|-----------------------------------------|-------------------------------------------|-------------------|
| Difficulty | DIFFICULTY | |
| DayTimeSpeedRate | DAY_TIME_SPEED_RATE | |
Expand Down Expand Up @@ -42,7 +42,7 @@ If you want to support my work:
| DeathPenalty | DEATH_PENALTY | |
| bEnablePlayerToPlayerDamage | ENABLE_PLAYER_TO_PLAYER_DAMAGE | |
| bEnableFriendlyFire | ENABLE_FRIENDLY_FIRE | |
| bEnableInvaderEnemy | ENABLE_ENEMY | |
| bEnableInvaderEnemy | ENABLE_ENEMY ||
| bActiveUNKO | ACTIVE_UNKO | |
| bEnableAimAssistPad | ENABLE_AIM_ASSIST_PAD | |
| bEnableAimAssistKeyboard | ENABLE_AIM_ASSIST_KEYBOARD | |
Expand All @@ -54,6 +54,7 @@ If you want to support my work:
| bAutoResetGuildNoOnlinePlayers | AUTO_RESET_GUILD_NO_ONLINE_PLAYERS | |
| AutoResetGuildTimeNoOnlinePlayers | AUTO_RESET_GUILD_TIME_NO_ONLINE_PLAYERS | |
| GuildPlayerMaxNum | GUILD_PLAYER_MAX_NUM | |
| BaseCampMaxNumInGuild | BASE_CAMP_MAX_NUM_IN_GUILD | |
| PalEggDefaultHatchingTime | PAL_EGG_DEFAULT_HATCHING_TIME | |
| WorkSpeedRate | WORK_SPEED_RATE | |
| bIsMultiplay | IS_MULTIPLAY | |
Expand All @@ -65,24 +66,25 @@ If you want to support my work:
| bExistPlayerAfterLogout | EXIST_PLAYER_AFTER_LOGOUT | |
| bEnableDefenseOtherGuildPlayer | ENABLE_DEFENSE_OTHER_GUILD_PLAYER | |
| CoopPlayerMaxNum | COOP_PLAYER_MAX_NUM | |
| ServerPlayerMaxNum | MAX_PLAYERS | |
| ServerName | SERVER_NAME | |
| ServerDescription | SERVER_DESCRIPTION | |
| ServerPassword | SERVER_PASSWORD | |
| AdminPassword | ADMIN_PASSWORD | |
| PublicIP | PUBLIC_IP / SERVER_IP (v1.0.10 or later) | |
| PublicPort | SERVER_PORT | |
| RCONPort | RCON_PORT | |
| RCONEnabled | RCON_ENABLE | |
| ServerPlayerMaxNum | MAX_PLAYERS ||
| ServerName | SERVER_NAME ||
| ServerDescription | SERVER_DESCRIPTION ||
| ServerPassword | SERVER_PASSWORD ||
| AdminPassword | ADMIN_PASSWORD ||
| PublicIP | PUBLIC_IP / SERVER_IP (v1.0.10 or later) ||
| PublicPort | SERVER_PORT ||
| RCONPort | RCON_PORT ||
| RCONEnabled | RCON_ENABLE ||
| bUseAuth | USE_AUTH | |
| 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 | |
| LogFormatType | LOG_FORMAT_TYPE | |
| RESTAPIEnabled | REST_API_ENABLED | |
| RESTAPIPort | REST_API_PORT | |
| AllowConnectPlatform | ALLOW_CONNECT_PLATFORM | |
| bIsUseBackupSaveData | USE_BACKUP_SAVE_DATA | |
| LogFormatType | LOG_FORMAT_TYPE | |
| SupplyDropSpan | SUPPLY_DROP_SPAN | |


# Notes
Expand Down
6 changes: 5 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.15"
const Version = "v1.0.16"

func main() {
fmt.Println("Program Version:", Version)
Expand Down Expand Up @@ -94,6 +94,7 @@ func main() {
"bAutoResetGuildNoOnlinePlayers": "AUTO_RESET_GUILD_NO_ONLINE_PLAYERS",
"AutoResetGuildTimeNoOnlinePlayers": "AUTO_RESET_GUILD_TIME_NO_ONLINE_PLAYERS",
"GuildPlayerMaxNum": "GUILD_PLAYER_MAX_NUM",
"BaseCampMaxNumInGuild": "BASE_CAMP_MAX_NUM_IN_GUILD",
"PalEggDefaultHatchingTime": "PAL_EGG_DEFAULT_HATCHING_TIME",
"WorkSpeedRate": "WORK_SPEED_RATE",
"bIsMultiplay": "IS_MULTIPLAY",
Expand Down Expand Up @@ -122,6 +123,7 @@ func main() {
"AllowConnectPlatform": "ALLOW_CONNECT_PLATFORM",
"bIsUseBackupSaveData": "USE_BACKUP_SAVE_DATA",
"LogFormatType": "LOG_FORMAT_TYPE",
"SupplyDropSpan": "SUPPLY_DROP_SPAN",
// Add other environment variables and corresponding INI keys here
}

Expand Down Expand Up @@ -169,6 +171,7 @@ func main() {
"AutoResetGuildTimeNoOnlinePlayers": "Floating", //AutoResetGuildTimeNoOnlinePlayers=72.000000,
"bAutoResetGuildNoOnlinePlayers": "TrueFalse", //bAutoResetGuildNoOnlinePlayers=False,
"GuildPlayerMaxNum": "Numeric", //GuildPlayerMaxNum=20,
"BaseCampMaxNumInGuild": "Numeric", //BaseCampMaxNumInGuild=4,
"PalEggDefaultHatchingTime": "Floating", //PalEggDefaultHatchingTime=72.000000,
"WorkSpeedRate": "Floating", //WorkSpeedRate=1.000000,
"bIsMultiplay": "TrueFalse", //bIsMultiplay=False,
Expand Down Expand Up @@ -198,6 +201,7 @@ func main() {
"AllowConnectPlatform": "String", //AllowConnectPlatform=Steam
"bIsUseBackupSaveData": "TrueFalse", //bIsUseBackupSaveData=True
"LogFormatType": "String", //LogFormatType=Text
"SupplyDropSpan": "Numeric", //SupplyDropSpan=180
// Add other keys as needed
}

Expand Down

0 comments on commit 96b76bd

Please sign in to comment.