I put up a dedicated V Rising server for a few of us to use and while the documentation is generally decent I kept running into weird issues with file paths and the configuration files. I figured I would put my experience into a post to remember what I did and maybe help someone else.
The V Rising Dedicated Server documentation on GitHub is a good starting point. That said there seem to be some inconsistencies with where the dedicated server looks for your custom configuration files. Initially I was using the `"-persistentDataPath c:\servers\v-rising\save-data"
flag and expecting to find the configuration .json files in the .folder but it didn’t seem to find them there. Eventually after a bunch of trial and error I just decided to use the default path and it seemed to work as expected.
My final configuration looks like this:
VRisingServer.exe -serverName "The Bamboo Lounge" -saveName "bbl1" -logFile "C:\Servers\v-rising\logs\VRisingServer.log" -address "my.internal.ip.address"
C:\Users\<yourusername>\AppData\LocalLow\Stunlock Studios\VRisingServer\Saves\v1\bbl1
C:\Servers\v-rising\logs\VRisingServer.log
ServerHostSettings.json:
{
"Name": "The Bamboo Lounge",
"Description": "Standard PVE Server",
"Port": 9876,
"QueryPort": 9877,
"Address": "my.private.ip.address",
"MaxConnectedUsers": 24,
"MaxConnectedAdmins": 4,
"ServerFps": 30,
"SaveName": "bbl1",
"Password": "<supersecretpassword>",
"Secure": true,
"ListOnMasterServer": true,
"AutoSaveCount": 50,
"AutoSaveInterval": 600,
"AdminOnlyDebugEvents": true,
"DisableDebugEvents": false,
"API": {},
"Rcon": {
"Enabled": false,
"Port": 25575,
"Password": ""
}
}