Client startup parameters

From Vintage Story Wiki
Revision as of 09:46, 6 April 2020 by P3t3rix (talk | contribs)

To get a list of all the startup parameters currently implemented, go to your game directory and call VintageStory.exe --help. Parameters with multiple values can be supplied with the values separated by space, for example: VintageStory.exe --addModPath="path/to/dir1" "path/to/dir2"

Currently implemented startup parameters are:

-v, --version Print game version and exit

-h, --help Print help info and exit

--tracelog Print log also via Trace.WriteLine() to get it to show up in the visual studio output window

-o, --openWorld Opens given world. If it doesn't exist it will be created

-c, --connect Connect to given server

--pw Password for the server (if any)

--rndWorld Creates a new world with a random name. Use -p modifier to set playstyle

-p, --playStyle (Default: creativebuilding) Used when creating a new world

--dataPath Set a custom data path, default is Environment.SpecialFolder.ApplicationData

--logPath Default logs folder is in dataPath/Logs/. This option can only set an absolute path.

--addOrigin Tells the asset manager to also load assets from this path

--addModPath Tells the mod loader to also load mods from this path

--help Display the help screen.