Skip to content

Commit

Permalink
Merge pull request thijsvanloef#461 from MusclePr/update/v0.1.5.0-Sho…
Browse files Browse the repository at this point in the history
…wPlayerListAlways

add default bShowPlayerList=True to PalWorldSettings.ini
  • Loading branch information
thijsvanloef authored Feb 27, 2024
2 parents b47272c + fa3cff8 commit 884350d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,5 @@ ENABLE_DEFENSE_OTHER_GUILD_PLAYER=False
COOP_PLAYER_MAX_NUM=4
REGION=
USEAUTH=True
BAN_LIST_URL=https://api.palworldgame.com/api/banlist.txt
BAN_LIST_URL=https://api.palworldgame.com/api/banlist.txt
SHOW_PLAYER_LIST=True
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ For example:
| REGION | Region | | String |
| 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 |

### Manually

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ For example:
| REGION | Region | | String |
| 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 |
| 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 @@ -83,6 +83,7 @@ export RCON_PORT=${RCON_PORT:-25575}
export REGION=\"${REGION:-""}\"
export USEAUTH=${USEAUTH:-True}
export BAN_LIST_URL=\"${BAN_LIST_URL:-https://api.palworldgame.com/api/banlist.txt}\"
export SHOW_PLAYER_LIST=${SHOW_PLAYER_LIST:-True}

if [ "${DEBUG,,}" = true ]; then
cat <<EOF
Expand Down Expand Up @@ -149,6 +150,7 @@ RCON_PORT = $RCON_PORT
REGION = $REGION
USEAUTH = $USEAUTH
BAN_LIST_URL = $BAN_LIST_URL
SHOW_PLAYER_LIST = $SHOW_PLAYER_LIST
====Debug====
EOF
fi
Expand Down
5 changes: 3 additions & 2 deletions scripts/files/PalWorldSettings.ini.template
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,6 @@ RCONEnabled=$RCON_ENABLED,
RCONPort=$RCON_PORT,
Region=$REGION,
bUseAuth=$USEAUTH,
BanListURL=$BAN_LIST_URL
)
BanListURL=$BAN_LIST_URL,
bShowPlayerList=$SHOW_PLAYER_LIST
)

0 comments on commit 884350d

Please sign in to comment.