Skip to content

Commit

Permalink
Add SUPPLY_DROP_SPAN & fix AUTO_SAVE_SPAN description
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsvanloef committed Aug 4, 2024
1 parent 579150d commit 195be82
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ For example:
| BASE_CAMP_MAX_NUM_IN_GUILD | Max bases of Guild | 4 | Integer |
| PAL_EGG_DEFAULT_HATCHING_TIME | Time(h) to incubate massive egg | 72.000000 | Float |
| WORK_SPEED_RATE | Work speed muliplier | 1.000000 | Float |
| AUTO_SAVE_SPAN | Time between autosaves (minutes) | 30.000000 | Float |
| AUTO_SAVE_SPAN | Time between autosaves (seconds) | 30.000000 | Float |
| IS_MULTIPLAY | Enable multiplayer | False | Boolean |
| IS_PVP | Enable PVP | False | Boolean |
| CAN_PICKUP_OTHER_GUILD_DEATH_PENALTY_DROP | Allow players from other guilds to pick up death penalty items | False | Boolean |
Expand All @@ -636,6 +636,7 @@ 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 |
| SUPPLY_DROP_SPAN | Interval for supply drop (minutes) | 180 | Integer |

### Manually

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ For example:
| BASE_CAMP_MAX_NUM_IN_GUILD | Max bases of Guild | 4 | Integer |
| PAL_EGG_DEFAULT_HATCHING_TIME | Time(h) to incubate massive egg | 72.000000 | Float |
| WORK_SPEED_RATE | Work speed muliplier | 1.000000 | Float |
| AUTO_SAVE_SPAN | Time between autosaves (minutes) | 30.000000 | Float |
| AUTO_SAVE_SPAN | Time between autosaves (seconds) | 30.000000 | Float |
| IS_MULTIPLAY | Enable multiplayer | False | Boolean |
| IS_PVP | Enable PVP | False | Boolean |
| CAN_PICKUP_OTHER_GUILD_DEATH_PENALTY_DROP | Allow players from other guilds to pick up death penalty items | False | Boolean |
Expand All @@ -90,6 +90,7 @@ 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 |
| 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 |
Expand Down
2 changes: 2 additions & 0 deletions scripts/compile-settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export REST_API_PORT=\"${REST_API_PORT:-8212}\"
export SHOW_PLAYER_LIST=${SHOW_PLAYER_LIST:-True}
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}

if [ "${DEBUG,,}" = true ]; then
cat <<EOF
Expand Down Expand Up @@ -165,6 +166,7 @@ REST_API_PORT = $REST_API_PORT
SHOW_PLAYER_LIST = $SHOW_PLAYER_LIST
ALLOW_CONNECT_PLATFORM = $ALLOW_CONNECT_PLATFORM
USE_BACKUP_SAVE_DATA = $USE_BACKUP_SAVE_DATA
SUPPLY_DROP_SPAN = $SUPPLY_DROP_SPAN
====Debug====
EOF
fi
Expand Down
1 change: 1 addition & 0 deletions scripts/files/PalWorldSettings.ini.template
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,5 @@ RESTAPIPort=$REST_API_PORT,
bShowPlayerList=$SHOW_PLAYER_LIST,
AllowConnectPlatform=$ALLOW_CONNECT_PLATFORM,
bIsUseBackupSaveData=$USE_BACKUP_SAVE_DATA,
SupplyDropSpan=$SUPPLY_DROP_SPAN
)

0 comments on commit 195be82

Please sign in to comment.