Comments (26)
我找到一个项目可以自动生成config
github: https://github.com/DysonCheng/PalWorldSettingGenerator
web: https://dysoncheng.github.io/PalWorldSettingGenerator/setting.html
我昨天生成 config.ini 以后删掉了 ServerPassword 字段(因为我没有设置密码,他配置文件中是这样的 ServerPassword="")以后就成功应用配置了
可以考虑用这个试试
from docker-palworld-dedicated-server.
Hi @Nevaehni,
can you check the contents of DefaultPalWorldSettings.ini?
It should be in the root of your bind at /dockerdata/palworld/DefaultPalWorldSettings.ini
If this file is empty, the steamcmd probably didn't download the server correctly.
The easiest fix would be to empty the folder and restart the container.
For reference, the script in ths container copies the Default Config to the correct folder
And then replaces the values with the variables you have supplied.
from docker-palworld-dedicated-server.
I think this is related to #10
Editing DefaultPalWorldSettings.ini
does not persist a startup.
from docker-palworld-dedicated-server.
Editing
DefaultPalWorldSettings.ini
does not persist a startup.
You're not supposed to edit an example ^^
But since his target file is completely empty, I think the issues are unrelated.
from docker-palworld-dedicated-server.
@ComputersWithTimo DefaultPalWorldSettings.ini is not empty.
from docker-palworld-dedicated-server.
Editing
DefaultPalWorldSettings.ini
does not persist a startup.You're not supposed to edit an example ^^ But since his target file is completely empty, I think the issues are unrelated.
Editing PalWorldSettings.ini
doesn't persist either. I thought since the script copies DefaultPalWorldSettings.ini
to PalWorldSettings.ini
, editing Default...
would work as editing the PalWorldSettings
doesn't persist either.
from docker-palworld-dedicated-server.
Editing
DefaultPalWorldSettings.ini
does not persist a startup.You're not supposed to edit an example ^^ But since his target file is completely empty, I think the issues are unrelated.
Editing
PalWorldSettings.ini
doesn't persist either. I thought since the script copiesDefaultPalWorldSettings.ini
toPalWorldSettings.ini
, editingDefault...
would work as editing thePalWorldSettings
doesn't persist either.
I think you missed the following part of the container:
docker-palworld-dedicated-server/servermanager.sh
Lines 93 to 95 in de32bb5
docker-palworld-dedicated-server/servermanager.sh
Lines 13 to 14 in de32bb5
iirc this should always reset the DefaultPalWorldSettings.ini
file cause steamcmd always thinks it got changed and pulls it again.
Try setting ALWAYS_UPDATE_ON_START=false
from docker-palworld-dedicated-server.
@ComputersWithTimo DefaultPalWorldSettings.ini is not empty.
@Nevaehni Can you try deleting the /dockerdata/palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
file and restarting the container?
You should see the following entry in the containers log
Also you might want to do an docker pull jammsen/palworld-dedicated-server
since the image got updated only 4 hours ago on Docker Hub and some of the changes might not be included in your version
from docker-palworld-dedicated-server.
Small correction i already published again, its now 34m 😎 added Backup functionality.
You're not supposed to edit an example ^^
This is right, your default is there and copied so when Pocketpair updates the config, you already get a new version out of the box. The copy gets then searched and replaced based on your settings in your Docker-Compose file or the default values in the Dockerfile that you should overload.
You can check your settings either via explorer on gamePal/Saved/Config/LinuxServer/PalWorldSettings.ini
or using the command in the readme
from docker-palworld-dedicated-server.
Is there any way to get the game specific settings to stick in the game/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini file? The ones not covered by environmental variables I mean. At the moment they get wiped on restart.
from docker-palworld-dedicated-server.
Is there any way to get the game specific settings to stick in the game/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini file? The ones not covered by environmental variables I mean. At the moment they get wiped on restart.
Please see #10 (comment)
from docker-palworld-dedicated-server.
I'll jump in on this one to say that I have the exact same issue. It doesn't look like gameserver/palworld/game/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
ever gets reset either, it has the correct values. Even starting the container I get:
>>> Starting the gameserver
Checking if config exists
Setting public ip to 0.0.0.0
Setting public port to 8211
Setting server name to Starlight
Setting server description to Palworld-Dedicated-Server running in Docker by jammsen
Setting server password to -redacted-
Setting server admin password to -redacted-
Setting max-players to 32
sh: 1: xdg-user-dir: not found
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
Shutdown handler: initalize.
...
...
My gameserver/palworld/game/DefaultPalWorldSettings.ini
remains unchanged also.
from docker-palworld-dedicated-server.
gameserver/palworld/game/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
@Sectimus your PalWorldSettings.ini is empty too?
Maybe a quick copy of gameserver/palworld/game/DefaultPalWorldSettings.ini
to gameserver/palworld/game/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
will fix it.
The Script itself will update the settings once the container restarts
from docker-palworld-dedicated-server.
@Sectimus your PalWorldSettings.ini is empty too?
If that is the case, then the copy might be flaky on the container.
What Version OS and Docker are u running?
from docker-palworld-dedicated-server.
My PalWorldSettings.ini is not empty. I'll try the copy in an hour or so, don't want to kick off the other players prematurely.
from docker-palworld-dedicated-server.
My PalWorldSettings.ini is not emptym i'll try the copy in an hour or so, don't want to kick off the other players prematurely.
@Sectimus I'm going to guess the settings in PalWorldSettings.ini don't correspond with the settings you set as an environment variable.
Which makes it an interesting thing: the sed doesn't appear to work. ^^
from docker-palworld-dedicated-server.
Maybe a quick copy of gameserver/palworld/game/DefaultPalWorldSettings.ini to gameserver/palworld/game/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini will fix it.
I've now copied the DefaultPalWorldSettings.ini to PalWorldSettings.ini and that seemed to do the trick. PalWorldSettings.ini was not autogenerated so I built it based on some templates on the wiki. Perhaps an update to the documentation to use the format provided in DefaultPalWorldSettings.ini and not any other.
Not sure if this is the same as OP, but resolved for me! 🎉
from docker-palworld-dedicated-server.
@ComputersWithTimo DefaultPalWorldSettings.ini is not empty.
@Nevaehni Can you try deleting the
/dockerdata/palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
file and restarting the container?You should see the following entry in the containers log
Also you might want to do an
docker pull jammsen/palworld-dedicated-server
since the image got updated only 4 hours ago on Docker Hub and some of the changes might not be included in your version
After deleting it, it recreated the PalWorldSettings.ini with all the keys, but it didn't copy the env variables into it. These are the default settings. Also, when I edit these files and restart with ALWAYS_UPDATE_ON_START=false, it doesn't have any effect. My server is still not password protected, even if I have a password set.
from docker-palworld-dedicated-server.
@Sectimus @Nevaehni you guys might want to update the docker-compose file and the image i pushed serveral times yesterday and today, also "all" vars to set is in the work from one of your people in the community - See #40
from docker-palworld-dedicated-server.
@jammsen I've removed all palworld volumes/images and host folders. Updated docker compose and ran a fresh pull/install. I can see in the logs which values he's updating/adding. I can also see those ENV variables being inserted into /dockerdata/palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
file. But the those aren't loaded in. I can still enter the game without a password, and the game tells me that I don't have an admin password set. The changes aren't reflected in the game.
I started the server first with ALWAYS_UPDATE_ON_START=true
after that turned of the server and updated it to ALWAYS_UPDATE_ON_START=false
and ran the server again.
Docker compose:
version: '3.9'
services:
palworld-dedicated-server:
container_name: palworld-dedicated-server
image: jammsen/palworld-dedicated-server:latest
restart: unless-stopped
network_mode: bridge
ports:
- target: 8211
published: 8211
protocol: udp
mode: host
- target: 25575
published: 25575
protocol: tcp
mode: host
environment:
- ALWAYS_UPDATE_ON_START=false
- MAX_PLAYERS=16
- MULTITHREAD_ENABLED=false
- COMMUNITY_SERVER=false
- RCON_ENABLED=true
- RCON_PORT=25575
- PUBLIC_IP=10.0.0.5
- PUBLIC_PORT=8211
- SERVER_NAME="ROCvA"
- SERVER_DESCRIPTION="Palworld Dedicated Server"
- SERVER_PASSWORD="112211"
- ADMIN_PASSWORD="Test"
- BACKUP_ENABLED=false
- BACKUP_CRON_EXPRESSION=0 * * * *
volumes:
- /dockerdata/palworld:/palworld
Container log:
>>>>>> Starting the gameserver
Checking if config exists
Setting rcon-enabled to true
Setting public ip to 10.0.0.5
Setting public port to 8211
Setting server name to "ROCvA"
Setting server description to "Palworld Dedicated Server"
Setting server password to "112211"
Setting server admin password to "Test"
Setting max-players to 16
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)
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 0 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.
from docker-palworld-dedicated-server.
@Nevaehni thats really weird, i might need to take a look at this over Discord tomorrow sometime you are available.
from docker-palworld-dedicated-server.
I've found out why changing /Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
didn't work for me. The server appears to save current settings on exit. So if you change settings while the server is running and then restart the container, the server will overwrite your settings with the current game settings before restarting. To change settings in the ini file you need to first stop the server and then make changes to your settings before starting the server again.
from docker-palworld-dedicated-server.
Thats on almost every dedicated server this way, especially with Unreal Engine, ASE ASA etc.
from docker-palworld-dedicated-server.
After deleting it, it recreated the PalWorldSettings.ini with all the keys, but it didn't copy the env variables into it. These are the default settings. Also, when I edit these files and restart with ALWAYS_UPDATE_ON_START=false, it doesn't have any effect. My server is still not password protected, even if I have a password set.
@Nevaehni Did you add the line breaks yourself? They are not allowed in the PalWorldSettings file.
The "OptionsSettings" should just be a single line, otherwise it won't work.
See: https://tech.palworldgame.com/optimize-game-balance
Edit:
Also, I think the region variable doesn't actually work in the game yet.
I kept it default which is ,Region="",
and it works fine. There is no region selection for community servers (yet?)
from docker-palworld-dedicated-server.
After deleting it, it recreated the PalWorldSettings.ini with all the keys, but it didn't copy the env variables into it. These are the default settings. Also, when I edit these files and restart with ALWAYS_UPDATE_ON_START=false, it doesn't have any effect. My server is still not password protected, even if I have a password set.
@Nevaehni Did you add the line breaks yourself? They are not allowed in the PalWorldSettings file. The "OptionsSettings" should just be a single line, otherwise it won't work.
See: https://tech.palworldgame.com/optimize-game-balance
Edit: Also, I think the region variable doesn't actually work in the game yet. I kept it default which is
,Region="",
and it works fine. There is no region selection for community servers (yet?)
I guess its reserved for the "official" server that working with theese files too. Maybe down the line for us, who knows 😄
from docker-palworld-dedicated-server.
This issue should be solved with the commit and release from earlier today.
You can find it here 8546c89#diff-3b41cd2eeb76ac64c4b71b9cc6b253b358ab737f50d54e333b631ca27357e98e
Im closing this issue als resolved, feel free to try it out and reopen again if needed.
If you like this project, please consider giving this repo and the docker-hub-repo a Star.
from docker-palworld-dedicated-server.
Related Issues (20)
- [Bug Report] Player join/left issue with character creation HOT 1
- [Bug Report] Player join/leave cannot have commas in name HOT 1
- [Bug Report] Player join/leave doesn't work with players of the same name HOT 1
- [Bug Report] Crash Loop (LowLevelFatalError) HOT 4
- [Feature Request] Automatic Restart should not wait 15 minutes when no player is on the server
- [Bug Report] RCON Port setting change in 1.50 HOT 6
- [Bug Report] Error when auto restart HOT 3
- docker部署后无法正常使用RCON,cli: execute: auth: rcon: dial tcp: lookup tcp/###RCON_PORT###:unknown port HOT 6
- [Feature Request] Make gosu-binary building more transparent
- [Bug Report] Log file consumes all remaining HDD space associated with Docker system HOT 3
- [Feature Request] Implement server OoM crash detection and restart HOT 2
- [Bug Report] RCON Log gets cut off
- [Bug Report] New alias for rconcli with timestamp
- [Bug Report] After docker container update Server failed to start with permission denied HOT 11
- [Bug Report] Container backups also backup the Palworld built-in backups HOT 1
- [Bug Report] Automatic Restart stopped working HOT 2
- [Question] 您好,我在游戏中,会接受到容器显示的备份 通知,我想询问下这个备份通知能否不在游戏内显示,可以在容器日志中 HOT 3
- [Feature Request] use semantic versioning HOT 7
- [Bug Report] No config found, generating one HOT 3
- [Bug Report] Your descriptive title here! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-palworld-dedicated-server.