Server startup parameters
This page was last verified for Vintage Story version 1.19.8.
To get a list of all the startup parameters (command line arguments) currently implemented, go to your game directory and call VintageStoryServer.exe --help
. Parameters with multiple values can be supplied with the values separated by space, for example: VintageStoryServer.exe --addModPath="path/to/dir1" "path/to/dir2"
Currently implemented server startup parameters are:
-v, --version
Print game version and exit
-h, --help
Print help info and exit
-s, --standby
Don't fully launch server. Instead wait until the first connection attempt before launching.
--tracelog
Print log also via Trace.WriteLine() to get it to show up in the visual studio output window
--append
Do not overwrite log files
--genconfig
Generate a new default serverconfig.json and exit. Warning, this deletes any existing config.
--setconfig
Set a config value. Generates a serverconfig.json if it doesn't exist. Use the format --setconfig="{ key: 3, foo:'value' }"
--withconfig
Can be used to override any config value. Launches the server. Use the format --setconfig="{ key: 3, foo: 'value' }"
--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
--ip
Bind server to given ip, overwrites configured value (default: all ips)
--port
Bind server to given port, overwrites configured value (default: 42420)
--maxclients
Maximum quantity of clients to be connected at the same time, overwrites configured value (default 16)
--archiveLogFileCount
The Amount of logs to archive and keep (default: 5)
--archiveLogFileMaxSizeMb
The max size (in MB) of a log file to be archived. If it exceeds this value it will not be archived. (default: 1024 MB)
Wondering where some links have gone?
The modding navbox is going through some changes! Check out Navigation Box Updates for more info and help finding specific pages.
Modding | |
---|---|
Modding Introduction | Getting Started • Theme Pack |
Content Modding | Content Mods • Developing a Content Mod • Basic Tutorials • Intermediate Tutorials • Advanced Tutorials • Content Mod Concepts |
Code Modding | Code Mods • Setting up your Development Environment |
Property Overview | Item • Entity • Entity Behaviors • Block • Block Behaviors • Block Classes • Block Entities • Block Entity Behaviors • Collectible Behaviors • World properties |
Workflows & Infrastructure | Modding Efficiency Tips • Mod-engine compatibility • Mod Extensibility • VS Engine |
Additional Resources | Community Resources • Modding API Updates • Programming Languages • List of server commands • List of client commands • Client startup parameters • Server startup parameters Example Mods • API Docs • GitHub Repository |
Wiki Navigation | |
---|---|
Vintage Story | Guides • Frequently Asked Questions • Soundtrack • Versions • Controls |
Game systems | Crafting • Knapping • Clay forming • Smithing • Cooking • Temperature • Hunger • Mining • Temporal stability • Mechanical power • Trading • Farming • Animal husbandry |
World | World generation • Biomes • Weather • Temporal storms |
Items | Tools • Weapons • Armor • Clothing • Bags • Materials • Food |
Blocks | Terrain • Plants • Decorative • Lighting • Functional • Ore |
Entities | Hostile entities • Animals • NPCs • Players |
Miscellaneous | List of client commands • List of server commands • Creative Starter Guide • Bot System • WorldEdit • Cinematic Camera • Adjustable FPS Video Recording • ServerBlockTicking |