Comments (1)
Root of this issue is:
I am creating PalWorldSettings.ini in this format:
if [[ ${use_custom_palworldsettings} == "false" ]]; then
mkdir -p /palworld-server/Pal/Saved/Config/LinuxServer/
cat > /palworld-server/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini <<EOF
[/Script/Pal.PalGameWorldSettings]
OptionSettings=(Difficulty=${difficulty},
...
...
ServerDescription="${server_description}",
%{ if admin_password != "" ~}
AdminPassword="${admin_password}",
%{ else ~}
AdminPassword="",
%{ endif ~}
%{ if server_password != "" ~}
ServerPassword="${server_password}",
%{ else ~}
ServerPassword="",
%{ endif ~}
PublicPort=${public_port},
%{ if public_ip != "" ~}
PublicIP="${public_ip}",
%{ else ~}
PublicIP="",
%{ endif ~}
RCONEnabled=${enable_rcon},
%{ if rcon_port != "" ~}
RCONPort=${rcon_port},
%{ else ~}
RCONPort="",
%{ endif ~}
%{ if region != "" ~}
Region="${region}",
%{ else ~}
Region="",
%{ endif ~}
bUseAuth=${use_auth},
BanListURL="${ban_list_url}"
)
EOF
fi
This is generating the PalWorldSettings.ini file on the host in the correct format with the correct inputs.
HOWEVER, once Palworld starts it is overwriting some of the values and stripping quotes from strings, a missing closing ), and commas after some values. I believe this has something to do with Palworld doing something in the background to format the file, but because my file is multiple lines its doing whacky stuff.
I have verified that changing the PalWorldSettings.ini file to 1 line and adding "" quotations around the strings such as AdminPassword and restarting Palworld fixes the issue.
Will update module with a fix to prevent this.
from terraform-aws-palworld.
Related Issues (12)
- How do I restore from S3 backup? HOT 1
- I Can't run terraform init HOT 2
- Palworld/Feature: Input for custom AMI ID
- Backup to S3 not working HOT 1
- Palworld/Bug Backup to S3 Not Working in Newer Regions HOT 1
- How can I create the EC2 on a local zone to reduce latency? HOT 3
- How to get the backup of dedicated server save file on S3? can you guide me? HOT 13
- Error: Failed to download module HOT 5
- What is the preferable way to install mods? HOT 4
- New Feature Request: An Input to Install Mods During Server Creation HOT 2
- creating EC2 Subnet 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 terraform-aws-palworld.