docker-palworld-dedicated-server
docker-palworld-dedicated-server copied to clipboard
Server issue with passwords
Have you read the Important information text above
- [X] Yes i did
Current behavior
After entering a password for the server, the game fails to connect with the following error. The game never prompts for a password. Not sure where the disconnect is.
Desired behavior
The server appears to be handling password incorrectly somehow.
Links to screenshots
To Reproduce
Steps to reproduce the behavior:
- Setup the docker container with the following env variables.
environment:
- ALWAYS_UPDATE_ON_START=true
- MAX_PLAYERS=10
- MULTITHREAD_ENABLED=true
- COMMUNITY_SERVER=false
- PUBLIC_IP=[Enter your public IP here]
- PUBLIC_PORT=8211
- SERVER_NAME=Server Name
- SERVER_DESCRIPTION=A default server description
- SERVER_PASSWORD=Password123
- ADMIN_PASSWORD=NotAPassword123*
-
Load game and connect to server
-
See error mentioned in earlier screenshot
Software setup
- OS: Windows 11 v22621.3007
- Docker: 4.26.1 (131620)
Hardware setup
Processor: 12th Gen Intel(R) Core(TM) i7-12700K 3.60 GHz Installed RAM: 32.0 GB (31.8 GB usable) System type: 64-bit operating system, x64-based processor
Additional context
No response
Likely related to #10
Likely related to #10
No, the game wont accept the password. Look at the error.
Hey @BSweet16 Try Community True and Password None please.
This is a known issue with the game.
https://tech.palworldgame.com/dedicated-server-guide#:~:text=Q%2C%20I%27ve%20set%20up%20a%20dedicated%20server%2C%20but%20when%20I%20set%20a%20ServerPassword%2C%20I%20don%27t%20get%20prompted%20for%20a%20password%20when%20logging%20in%20via%20direct%20IP%20entry%2C%20and%20I%20can%27t%20log%20in.
Kinda have the same issue here. Even with community variable set to true and password set to None is does not work. This is established on a completely fresh system with only docker installed.
Log output
[+] Running 1/1
⠿ Container palworld Started 1.8s
>>> Doing a fresh install of the gameserver
tid(11) burning pthread_key_t == 0 so we never use it
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
[ 0%] Downloading update...
[ 0%] Checking for available updates...
[----] Download complete.
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
tid(23) burning pthread_key_t == 0 so we never use it
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1705108307
-- type 'quit' to exit --
Loading Steam API...OK
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x1) running, progress: 0.00 (0 / 0)
Update state (0x61) downloading, progress: 1.27 (60233520 / 4729437191)
Update state (0x61) downloading, progress: 2.78 (131455138 / 4729437191)
Update state (0x61) downloading, progress: 5.97 (282229292 / 4729437191)
Update state (0x61) downloading, progress: 11.47 (542347390 / 4729437191)
Update state (0x61) downloading, progress: 15.89 (751334530 / 4729437191)
Update state (0x61) downloading, progress: 22.37 (1057906078 / 4729437191)
Update state (0x61) downloading, progress: 28.52 (1348922562 / 4729437191)
Update state (0x61) downloading, progress: 34.49 (1631409182 / 4729437191)
Update state (0x61) downloading, progress: 38.63 (1826911500 / 4729437191)
Update state (0x61) downloading, progress: 39.28 (1857700748 / 4729437191)
Update state (0x61) downloading, progress: 39.41 (1863992204 / 4729437191)
Update state (0x61) downloading, progress: 39.59 (1872380812 / 4729437191)
Update state (0x61) downloading, progress: 41.59 (1967022964 / 4729437191)
Update state (0x61) downloading, progress: 41.59 (1967022964 / 4729437191)
Update state (0x61) downloading, progress: 41.59 (1967022964 / 4729437191)
Update state (0x61) downloading, progress: 41.77 (1975411572 / 4729437191)
Update state (0x61) downloading, progress: 42.59 (2014208884 / 4729437191)
Update state (0x61) downloading, progress: 45.23 (2138989428 / 4729437191)
Update state (0x61) downloading, progress: 47.33 (2238604148 / 4729437191)
Update state (0x61) downloading, progress: 48.54 (2295469001 / 4729437191)
Update state (0x61) downloading, progress: 50.49 (2387968175 / 4729437191)
Update state (0x61) downloading, progress: 59.14 (2797093023 / 4729437191)
Update state (0x61) downloading, progress: 63.35 (2996306106 / 4729437191)
Update state (0x61) downloading, progress: 66.00 (3121468893 / 4729437191)
Update state (0x61) downloading, progress: 67.11 (3173773878 / 4729437191)
Update state (0x61) downloading, progress: 68.35 (3232645678 / 4729437191)
Update state (0x61) downloading, progress: 69.57 (3290494631 / 4729437191)
Update state (0x61) downloading, progress: 72.62 (3434585639 / 4729437191)
Update state (0x61) downloading, progress: 72.75 (3440877095 / 4729437191)
Update state (0x61) downloading, progress: 72.78 (3442272434 / 4729437191)
Update state (0x61) downloading, progress: 73.13 (3458664301 / 4729437191)
Update state (0x61) downloading, progress: 73.22 (3463026645 / 4729437191)
Update state (0x61) downloading, progress: 73.22 (3463026645 / 4729437191)
Update state (0x61) downloading, progress: 73.22 (3463026645 / 4729437191)
Update state (0x61) downloading, progress: 73.22 (3463026645 / 4729437191)
Update state (0x61) downloading, progress: 73.83 (3491792029 / 4729437191)
Update state (0x61) downloading, progress: 74.93 (3543577945 / 4729437191)
Update state (0x61) downloading, progress: 81.47 (3853038240 / 4729437191)
Update state (0x61) downloading, progress: 82.77 (3914758530 / 4729437191)
Update state (0x61) downloading, progress: 84.13 (3979009824 / 4729437191)
Update state (0x61) downloading, progress: 85.63 (4050009137 / 4729437191)
Update state (0x61) downloading, progress: 87.07 (4117825595 / 4729437191)
Update state (0x61) downloading, progress: 88.43 (4182034179 / 4729437191)
Update state (0x61) downloading, progress: 89.81 (4247710425 / 4729437191)
Update state (0x61) downloading, progress: 91.26 (4315855566 / 4729437191)
Update state (0x61) downloading, progress: 92.88 (4392551100 / 4729437191)
Update state (0x61) downloading, progress: 92.88 (4392551100 / 4729437191)
Update state (0x61) downloading, progress: 93.09 (4402595436 / 4729437191)
Update state (0x61) downloading, progress: 93.11 (4403663412 / 4729437191)
Update state (0x61) downloading, progress: 95.51 (4517274710 / 4729437191)
Update state (0x61) downloading, progress: 96.88 (4581887216 / 4729437191)
Update state (0x61) downloading, progress: 99.84 (4722097159 / 4729437191)
Update state (0x81) verifying update, progress: 18.40 (870368062 / 4729437191)
Update state (0x81) verifying update, progress: 43.97 (2079496613 / 4729437191)
Update state (0x81) verifying update, progress: 69.30 (3277504935 / 4729437191)
Update state (0x81) verifying update, progress: 94.55 (4471598589 / 4729437191)
Success! App '2394010' fully installed.
>>> Doing an update of the gameserver
tid(83) burning pthread_key_t == 0 so we never use it
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1705108307
-- type 'quit' to exit --
Loading Steam API...OK
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Update state (0x5) verifying install, progress: 0.27 (12582912 / 4729437191)
Update state (0x5) verifying install, progress: 16.23 (767362295 / 4729437191)
Update state (0x5) verifying install, progress: 41.48 (1961711131 / 4729437191)
Update state (0x5) verifying install, progress: 67.03 (3170367182 / 4729437191)
Update state (0x5) verifying install, progress: 92.41 (4370679241 / 4729437191)
Success! App '2394010' fully installed.
>>> Starting the gameserver
Checking if config exists
No config found, generating one
Setting public ip to [REDACTED]
Setting public port to 8211
Setting server name to [REDACTED]
Setting server description to Palworld community server for VRL Community
Setting server password to None
Setting server admin password to [REDACTED]
Setting max-players to 8
sh: 1: xdg-user-dir: not found
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
Shutdown handler: initalize.
- Existing per-process limit (soft=1048576, hard=1048576) is enough for us (need only 1048576)
Increasing per-process limit of core file size to infinity.
- Existing per-process limit (soft=18446744073709551615, hard=18446744073709551615) is enough for us (need only 18446744073709551615)
CAppInfoCacheReadFromDiskThread took 1 milliseconds to initialize
Setting breakpad minidump AppID = 2394010
[S_API FAIL] Tried to access Steam interface SteamUser021 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamFriends017 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface STEAMAPPS_INTERFACE_VERSION008 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded.
Docker compose file
version: '3.9'
services:
palworld-dedicated-server:
build: .
container_name: palworld
image: jammsen/palworld-dedicated-server:latest
restart: always
network_mode: bridge
ports:
- "8211:8211/udp"
env_file: .env
volumes:
- ./game:/palworld
Environment variable file
TIMEZONE=Europe/Oslo
DEBIAN_FRONTEND=noninteractive
PUID=1000
PGID=1000
ALWAYS_UPDATE_ON_START=true
MAX_PLAYERS=8
MULTITHREAD_ENABLED=true
COMMUNITY_SERVER=true
PUBLIC_IP=[REDACTED]
PUBLIC_PORT=8211
SERVER_NAME=[REDACTED]
SERVER_DESCRIPTION="Palworld community server for VRL Community"
SERVER_PASSWORD=None
ADMIN_PASSWORD=[REDACTED]
Result
The Fix
nano game/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
I went in to the config file itself and changed the values of:
- ServerPassword to None
- PublicIP to 0.0.0.0
- Region to "EU"
[/Script/Pal.PalGameWorldSettings]
OptionSettings=(Difficulty=None,DayTimeSpeedRate=1.000000,NightTimeSpeedRate=1.000000,ExpRate=1.000000,PalCaptureRate=1.000000,PalSpawnNumRate=1.000000,PalDamageRateAttack=1.000000,PalDamageRateDefense=1.000000,PlayerDamageRateAttack=1.000000,PlayerDamageRateDefense=1.000000,PlayerStomachDecreaceRate=1.000000,PlayerStaminaDecreaceRate=1.000000,PlayerAutoHPRegeneRate=1.000000,PlayerAutoHpRegeneRateInSleep=1.000000,PalStomachDecreaceRate=1.000000,PalStaminaDecreaceRate=1.000000,PalAutoHPRegeneRate=1.000000,PalAutoHpRegeneRateInSleep=1.000000,BuildObjectDamageRate=1.000000,BuildObjectDeteriorationDamageRate=1.000000,CollectionDropRate=1.000000,CollectionObjectHpRate=1.000000,CollectionObjectRespawnSpeedRate=1.000000,EnemyDropItemRate=1.000000,DeathPenalty=All,bEnablePlayerToPlayerDamage=False,bEnableFriendlyFire=False,bEnableInvaderEnemy=True,bActiveUNKO=False,bEnableAimAssistPad=True,bEnableAimAssistKeyboard=False,DropItemMaxNum=3000,DropItemMaxNum_UNKO=100,BaseCampMaxNum=128,BaseCampWorkerMaxNum=15,DropItemAliveMaxHours=1.000000,bAutoResetGuildNoOnlinePlayers=False,AutoResetGuildTimeNoOnlinePlayers=72.000000,GuildPlayerMaxNum=20,PalEggDefaultHatchingTime=72.000000,WorkSpeedRate=1.000000,bIsMultiplay=False,bIsPvP=False,bCanPickupOtherGuildDeathPenaltyDrop=False,bEnableNonLoginPenalty=True,bEnableFastTravel=True,bIsStartLocationSelectByMap=True,bExistPlayerAfterLogout=False,bEnableDefenseOtherGuildPlayer=False,CoopPlayerMaxNum=4,ServerPlayerMaxNum=8,ServerName="[REDACTED]",ServerDescription="Palworld community server for VRL Community",AdminPassword="[REDACTED]",ServerPassword=None,PublicPort=8211,PublicIP="0.0.0.0",RCONEnabled=False,RCONPort=25575,Region="EU",bUseAuth=True,BanListURL="https://api.palworldgame.com/api/banlist.txt")
Added region
Changes made:
- PUBLIC_IP to 0.0.0.0
- Added REGION and set to "EU"
- SERVER_PASSWORD set to blank
TIMEZONE=Europe/Oslo
DEBIAN_FRONTEND=noninteractive
PUID=1000
PGID=1000
ALWAYS_UPDATE_ON_START=true
MAX_PLAYERS=8
MULTITHREAD_ENABLED=true
COMMUNITY_SERVER=true
PUBLIC_IP=0.0.0.0
PUBLIC_PORT=8211
SERVER_NAME="[REDACTED]"
SERVER_DESCRIPTION="Palworld community server for VRL Community"
SERVER_PASSWORD=
ADMIN_PASSWORD=[REDACTED]
REGION="EU"
The fix should be SERVER_PASSWORD= in your compose file, thats it.
Is the problem now solved?
I am getting the same error with a server password
Scroll to the bottom of this page, it is a know issue, they provide a workaround: https://tech.palworldgame.com/dedicated-server-guide
Q&A ...
Q, I've set up a dedicated server, but when I set a ServerPassword, I don't get prompted for a password when logging in via direct IP entry, and I can't log in.
A, We're aware of this issue and plan to address it in the next update. In the meantime, if you need to secure the server with a password, you can configure it as a community server. This will make it accessible from the in-game community server list, prompting you to enter a password upon entry.
There exists an alternative workaround to connect to dedicated servers by IP that are password protected. Doesn't require you to have your server configured to appear in the community server list.
- Open the community servers list
- Pick a random password-protected server
- Enter the password for the server you actually want to connect to and click OK/Submit
- When it confirms you want to join the server, click No
- Enter the IP of the server you want to directly connect to and click connect
@drkinkykinkles Work-around works 100%
@BSweet16 can this issue be closed? If this helped you, please consider giving this repo and the docker-hub-repo a Star.