-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SERVER_ARGS not passing. #641
Comments
The problem with "$SERVER_ARGS" is that you can then only pass a single arg. Since everything inside the quotes is handled as one argument. The quotes are deliberately left out here so that you can pass more than one arg to the server. Ideally we'd use an array, but since these variables are coming from the environment that's not an option. |
That makes sense but for what ever reason the server_args aren't being
passed through until I put them in quotes.. So maybe something else is
broke?
…On Mon, Sep 25, 2023 at 7:08 AM Lukas Lösche ***@***.***> wrote:
The problem with "$SERVER_ARGS" is that you can then only pass a single
arg. Since everything inside the quotes is handled as one argument. The
quotes are deliberately left out here so that you can pass more than one
arg to the server. Ideally we'd use an array, but since these variables are
coming from the environment that's not an option.
—
Reply to this email directly, view it on GitHub
<#641 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWFQCKVA23A6PQYYI37VZDX4FQ33ANCNFSM6AAAAAA47CPNUI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
aye i have a question in the same vein, how do i pass multiple varriables is it server_args= "-preset blah1","-modifier blah1" or each has to have server_args=? |
So figured this out, -e SERVER_ARGS="-modifier combat veryhard -modifier raids muchmore" just incase anyone else was trying to figure this out |
Sorry to revive this thread, but I seem to be having issues with multiple args in my .env file where only the crossplay & portals are being applied. Any help would be truly appreciated and thanks for the awesome write-up! My file looks like |
valheim-server line:112 need to update $SERVER_ARGS to "$SERVER_ARGS".
This fixed it for me! I couldn't get Crossplay to work because it wasn't passing the arguement.
The text was updated successfully, but these errors were encountered: