Page MenuHomeFeedback Tracker

Server Launch Parameters
Feedback, UrgentPublic

Description

Some servers will not load all mods due to character command line length limit (8192 characters) imposed by windows command prompt. The client launcher doesn't have this problem as it does not spawn the game process by command prompt. But the game launcher does have a parameter called -par which the game will read the file for additional launch parameters. This would be extremely helpful to include on the server executable, as a lengthy amount of mods can prevent a server from starting up correctly.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

OfficialWardog renamed this task from Launch Parameters to Server Launch Parameters.
ntepup added a subscriber: ntepup.May 5 2024, 8:52 PM
Geez changed the task status from New to Feedback.May 6 2024, 10:44 AM
This comment was removed by Geez.
ntepup added a subscriber: Geez.May 10 2024, 3:06 PM

@Geez bot or spam post above.

Geez added a comment.Jul 9 2024, 3:39 PM

Hello everyone.
The -par parameter should also work with the server. Can you please try? Start the server with the "-par" option. Example: "DayZServer_x64.exe -server -config=serverDZ.cfg -par=D:\path_to_file\parameter.txt -profiles=%userProfile%\Documents\DayZServer". The parameter.txt is the file with list of parameters. Example: "-mods=@mod1;@mod2;@mod3"

Seems to work, yes.

Thank you, I'll admit I didn't even try it, as it was not on the wiki. I'll have the wiki updated to include this launch parameter.