Closed MrBretze closed 6 months ago
Hello, it's possible to add a config key to the command args directly like
./PalworldServerConfigParser -BUILD_OBJECT_DETERIORATION_DAMAGE_RATE=0.00000 -DEATH_PENALTY=NONE -EXP_RATE=5
Because it's not very user-friendly to add a variable to the pterodactyl eggs for every parameter
Regards, MrBretzel.
To be honest it is way cleaner as else the startup command will be huge, and you would still need a variable for every thing that should be changeable. as it still would be -BUILD_OBJECT_DETERIORATION_DAMAGE_RATE={{VARIABLE}}
But ENV variables that not exitis will not be parsed, so its up to yourself to change / add the ones you want to be able to be parsed / changed.
I could do it but I personally find that not needed
But ENV variables that not exitis will not be parsed, so its up to yourself to change / add the ones you want to be able to be parsed / changed.
Oh okay, I didn't know it sorry
https://github.com/QuintenQVD0/Palword-server-config-parser/blob/main/main.go#L263-L270
if you were interested, this is the logic that will be false (the ok variable) if the variable does not exits and then just skip
Hello, it's possible to add a config key to the command args directly like
./PalworldServerConfigParser -BUILD_OBJECT_DETERIORATION_DAMAGE_RATE=0.00000 -DEATH_PENALTY=NONE -EXP_RATE=5
Because it's not very user-friendly to add a variable to the pterodactyl eggs for every parameter
Regards, MrBretzel.