Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos, add missing config #647

Merged
merged 2 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
)
Loading