mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-06 04:32:43 +00:00
Add ADMIN_PASSWORD env variable
# Motivations Being able to configure the admin password would be quite helpful # Modifications - Add `ADMIN_PASSWORD` to the list of environment variables, which adds `--adminpassword` to the server arguments
This commit is contained in:
@@ -24,6 +24,10 @@ if [ -n "${SERVER_PASSWORD}" ]; then
|
||||
STARTCOMMAND="${STARTCOMMAND} -serverpassword=${SERVER_PASSWORD}"
|
||||
fi
|
||||
|
||||
if [ -n "${ADMIN_PASSWORD}" ]; then
|
||||
STARTCOMMAND="${STARTCOMMAND} -adminpassword=${ADMIN_PASSWORD}"
|
||||
fi
|
||||
|
||||
if [ "${MULTITHREADING}" = true ]; then
|
||||
STARTCOMMAND="${STARTCOMMAND} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user