-
Notifications
You must be signed in to change notification settings - Fork 66
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
[forge 1.18.2 server] Additional fml arguments not passed #65
Comments
Shouldn't that be
to get the desired effect and keep the arguments in the same order as if you added the extras to |
Thank you for the reply and the support. I removed the lines in The server crashes
I see in the arguments dump (line 2)
I see there is a comma between So i decided to further divide arguments and parameters.
And now it indeed works! I humbly suggest to "document better" this "unintuitive approach". At least for me, the "issue" can be closed; or if you prefer, you may handle argument parameters in a different way. Thank you anyway. |
Thinking about it, that actually makes perfect sense that it works that way. The win_args.txt is really just an array of arguments stored in an external file. startCommand is also an array, so would need the same argument separation. This includes separating the option values from their respective options. The final argument handling is handled by forge itself, so it'll be better to add some more intuitive documentation to the config file comments. |
Add further information about how the list should be formatted. Solves user error in regards to issue BloodyMods#65
Hello,
i'm using serverstarter-2.3.1.jar
I have a 1.18.2 server, Forge 40.1.16.
I need to add two additional arguments to target 'forgeserver'.
--fml.mavenRoots ../modsrepo
--fml.modLists ../modsrepo/server.list
I expected them to work, if i add them to startCommand section.
They're indeed recognized but take no effect
[11:37:38] [main/INFO]: Launching target 'forgeserver' with arguments [nogui, fml.mavenRoots ../modsrepo, fml.modLists ../modsrepo/server.list]
To make them effective, i have to add them to "winargs.txt" file.
Is it an expected behiavour? Or is it expected that the arguments in startCommand should be properly managed?
Thanks
The text was updated successfully, but these errors were encountered: