Comments (11)
I would love to be able to edit any value in the "Pal/Saved/Config/LinuxServer/PalWorldSettings.ini" file, but I'm not sure the best way to do it. Maybe with some guidance, I could submit a PR. Would the best way to handle it just be cd /.../Pal/Saved/Config/LinuxServer/
and something like: sed -i 's/RCONEnabled=False/RCONEnabled=true/' PalWorldSettings.ini
?
from palworld-server-docker.
@xHyperElectric Probably just sed
the RCONEnabled in the DefaultPalServerSettings.ini
and after all the changes have been made, copy it to the PalServerSettings.ini
in /.../Pal/Saved/Config/LinuxServer/
from palworld-server-docker.
What would be the best way to allow all of the settings in PalWorldSettings.ini to be changed in the docker file?
from palworld-server-docker.
@xHyperElectric Feel free to open a PR even if you are unsure, we can always take a look at it together :)
from palworld-server-docker.
@xHyperElectric most user friendly way would be via environment variables
from palworld-server-docker.
So is it practical to make an environment variable option for all 62 options?
from palworld-server-docker.
@xHyperElectric no not really practical, that is partly the reason i've yet to work on it, because there isn't really any other "user friendly" way
from palworld-server-docker.
I think the best way to do it is to add a second Volume for Server Config Storage and have the PalWorldSettings.ini file in there and it overwrites the one in /.../Pal/Saved/Config/LinuxServer/
. I think it's recommended to use a bind-mount for this but I am by no means a docker expert.
from palworld-server-docker.
On theorizing, it may be possible to dynamically search for environment variables based off DefaultPalServerSettings.ini
For example, given this setting found in DefaultPalServerSettings.ini
, bEnablePlayerToPlayerDamage
, check if a value is in B_ENABLE_PLAYER_TO_PLAYER_DAMGE
, and if so, write to PalServerSettings.ini
This would require generating a PalServerSettings.ini
on init. You could loop through all given settings in DefaultPalServerSettings.ini
using regex, then see if the given setting has a value in the environment converting the setting string from camelCase to SNAKE_CASE, and then write each setting as you loop to PalServerSettings.ini
, defaulting to the default value if the environment variable isn't present.
from palworld-server-docker.
This is unreal engine, meaning https://docs.unrealengine.com/5.2/en-US/configuration-files-in-unreal-engine/ applies.
As such ("Override Configuration from the Command-line" section), you are able to override specific values via commandline
from palworld-server-docker.
This is unreal engine, meaning https://docs.unrealengine.com/5.2/en-US/configuration-files-in-unreal-engine/ applies. As such ("Override Configuration from the Command-line" section), you are able to override specific values via commandline
Even better, need to figure out the right syntax for palworld-specific ini settings
from palworld-server-docker.
Related Issues (20)
- steamclient.so - No such file or directory HOT 3
- "SERVER_SETTINGS_MODE is set to 'manual', NOT using environment variables to configure the server!" HOT 1
- Can't change ENV parameters in docker-compose.yml (PalWorldSettings.ini doesn't work) HOT 2
- Palworld Server is not updating HOT 6
- steamcmd missing file permissions HOT 12
- MacOS Docker Desktop cant run the image HOT 25
- Old server LGSM to new server docker Plaword HOT 3
- BaseCampMaxNumInGuild HOT 2
- Dedicated server client crash when 3-4 players HOT 9
- Rubber banding on client side HOT 5
- ARM Oracle server is crashing HOT 3
- Server instability and crashes due to higher-than-expected ram usage (possible memory leak) HOT 2
- unsupported config option fer services : 'palworld' HOT 1
- ARM64 Exec format error HOT 6
- /palworld is not writable HOT 4
- How to Configure and Use Mod in Docker Service? HOT 1
- Signal 11 caught on x86-64 docker HOT 2
- Incorrect time unit in AUTO_SAVE_SPAN description
- SupplyDropSpan - Interval for supply drop (minutes)
- How to Modify PalworldServer Settings 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 palworld-server-docker.