Skip to content

Commit

Permalink
Merge pull request #647 from thijsvanloef/hotfix/hotfix
Browse files Browse the repository at this point in the history
fix typos, add missing config
  • Loading branch information
thijsvanloef authored Dec 23, 2024
2 parents 2df1903 + 975af41 commit f964160
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,8 @@ For example:
| Variable | Description | Default Value | Allowed Value |
|-------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|----------------------------------------|
| DIFFICULTY | Game Difficulty | None | `None`,`Normal`,`Difficult` |
| RANDOMIZER_TYPE | Randomizer Type | None | `None`, ? |
| RANDOMIZER_SEED | Randomizer Seed | "" | String |
| DAYTIME_SPEEDRATE | Day time speed - Larger number means shorter days | 1.000000 | Float |
| NIGHTTIME_SPEEDRATE | Night time speed - Larger number means shorter nights | 1.000000 | Float |
| EXP_RATE | EXP earn rate | 1.000000 | Float |
Expand Down Expand Up @@ -638,8 +640,9 @@ For example:
| USEAUTH | Use authentication | True | Boolean |
| BAN_LIST_URL | Which ban list to use | [https://api.palworldgame.com/api/banlist.txt](https://api.palworldgame.com/api/banlist.txt) | string |
| SHOW_PLAYER_LIST | Enable show player list | True | Boolean |
| CHAT_POST_LIMIT_PER_MINUTE | Amount of messages players can send per minute | 10 | Integer |
| SUPPLY_DROP_SPAN | Interval for supply drop (minutes) | 180 | Integer |
| ENABLE_PREDATOR_BOSS_PALL | Enable Predator boss as pals | true | boolean |
| ENABLE_PREDATOR_BOSS_PAL | Enable Predator boss as pals | true | boolean |
| MAX_BUILDING_LIMIT_NUM | Maximum number of buildings per base | 0 (unlimited) | Integer |
| SERVER_REPLICATE_PAWN_CULL_DISTANCE | Server Replicate Pawn Cull Distance | 15000.000000 | Float |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,12 @@ For example:
| USEAUTH | Use authentication | True | Boolean |
| BAN_LIST_URL | Which ban list to use | [https://api.palworldgame.com/api/banlist.txt](https://api.palworldgame.com/api/banlist.txt) | string |
| SHOW_PLAYER_LIST | Enable show player list | True | Boolean |
| CHAT_POST_LIMIT_PER_MINUTE | Amount of messages players can send per minute | 10 | Integer |
| SUPPLY_DROP_SPAN | Interval for supply drop (minutes) | 180 | Integer |
| TARGET_MANIFEST_ID | Locks game version to corespond with Manfiest ID from Steam Download Depot. | | See [Manifest ID Table](https://palworld-server-docker.loef.dev/guides/pinning-game-version) |
| ENABLE_PLAYER_LOGGING | Enables Logging and announcing when players join and leave | true | true/false |
| PLAYER_LOGGING_POLL_PERIOD | Polling period (in seconds) to check for players who have joined or left | 5 | !0 |
| ENABLE_PREDATOR_BOSS_PALL | Enable Predator boss as pals | true | boolean |
| ENABLE_PREDATOR_BOSS_PAL | Enable Predator boss as pals | true | boolean |
| MAX_BUILDING_LIMIT_NUM | Maximum number of buildings per base | 0 (unlimited) | Integer |
| SERVER_REPLICATE_PAWN_CULL_DISTANCE | Server Replicate Pawn Cull Distance | 15000.000000 | Float |

Expand Down
6 changes: 4 additions & 2 deletions scripts/compile-settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,11 @@ export BAN_LIST_URL=\"${BAN_LIST_URL:-https://api.palworldgame.com/api/banlist.t
export REST_API_ENABLED=\"${REST_API_ENABLED:-False}\"
export REST_API_PORT=\"${REST_API_PORT:-8212}\"
export SHOW_PLAYER_LIST=${SHOW_PLAYER_LIST:-True}
export CHAT_POST_LIMIT_PER_MINUTE=${CHAT_POST_LIMIT_PER_MINUTE:-10}
export ALLOW_CONNECT_PLATFORM=${ALLOW_CONNECT_PLATFORM:-Steam}
export USE_BACKUP_SAVE_DATA=${USE_BACKUP_SAVE_DATA:-True}
export SUPPLY_DROP_SPAN=${SUPPLY_DROP_SPAN:-180}
export ENABLE_PREDATOR_BOSS_PALL=${ENABLE_PREDATOR_BOSS_PALL:-True}
export ENABLE_PREDATOR_BOSS_PAL=${ENABLE_PREDATOR_BOSS_PAL:-True}
export MAX_BUILDING_LIMIT_NUM=${MAX_BUILDING_LIMIT_NUM:-0}
export SERVER_REPLICATE_PAWN_CULL_DISTANCE=${SERVER_REPLICATE_PAWN_CULL_DISTANCE:-15000.000000}

Expand Down Expand Up @@ -181,10 +182,11 @@ BAN_LIST_URL = $BAN_LIST_URL
REST_API_ENABLED = $REST_API_ENABLED
REST_API_PORT = $REST_API_PORT
SHOW_PLAYER_LIST = $SHOW_PLAYER_LIST
CHAT_POST_LIMIT_PER_MINUTE = $CHAT_POST_LIMIT_PER_MINUTE
ALLOW_CONNECT_PLATFORM = $ALLOW_CONNECT_PLATFORM
USE_BACKUP_SAVE_DATA = $USE_BACKUP_SAVE_DATA
SUPPLY_DROP_SPAN = $SUPPLY_DROP_SPAN
ENABLE_PREDATOR_BOSS_PALL = $ENABLE_PREDATOR_BOSS_PALL,
ENABLE_PREDATOR_BOSS_PAL = $ENABLE_PREDATOR_BOSS_PAL,
MAX_BUILDING_LIMIT_NUM = $MAX_BUILDING_LIMIT_NUM,
SERVER_REPLICATE_PAWN_CULL_DISTANCE = $SERVER_REPLICATE_PAWN_CULL_DISTANCE
====Debug====
Expand Down
3 changes: 2 additions & 1 deletion scripts/files/PalWorldSettings.ini.template
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ BanListURL=$BAN_LIST_URL,
RESTAPIEnabled=$REST_API_ENABLED,
RESTAPIPort=$REST_API_PORT,
bShowPlayerList=$SHOW_PLAYER_LIST,
ChatPostLimitPerMinute=$CHAT_POST_LIMIT_PER_MINUTE,
AllowConnectPlatform=$ALLOW_CONNECT_PLATFORM,
bIsUseBackupSaveData=$USE_BACKUP_SAVE_DATA,
SupplyDropSpan=$SUPPLY_DROP_SPAN,
EnablePredatorBossPal=$ENABLE_PREDATOR_BOSS_PALL,
EnablePredatorBossPal=$ENABLE_PREDATOR_BOSS_PAL,
MaxBuildingLimitNum=$MAX_BUILDING_LIMIT_NUM,
ServerReplicatePawnCullDistance=$SERVER_REPLICATE_PAWN_CULL_DISTANCE
)

0 comments on commit f964160

Please sign in to comment.