diff --git a/README.md b/README.md index 32f5ba6e..e8ca18b2 100644 --- a/README.md +++ b/README.md @@ -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 | @@ -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 | diff --git a/docusaurus/docs/getting-started/configuration/game-settings.md b/docusaurus/docs/getting-started/configuration/game-settings.md index dc477139..da6a903d 100644 --- a/docusaurus/docs/getting-started/configuration/game-settings.md +++ b/docusaurus/docs/getting-started/configuration/game-settings.md @@ -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 | diff --git a/scripts/compile-settings.sh b/scripts/compile-settings.sh index f1ebecd3..4cbb3cfd 100755 --- a/scripts/compile-settings.sh +++ b/scripts/compile-settings.sh @@ -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} @@ -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==== diff --git a/scripts/files/PalWorldSettings.ini.template b/scripts/files/PalWorldSettings.ini.template index 9a151d97..2a3e555e 100644 --- a/scripts/files/PalWorldSettings.ini.template +++ b/scripts/files/PalWorldSettings.ini.template @@ -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 )