V Rising Dedicated Server

Server Requirements

 * Windows 10 or Server 2016+ & 64-Bit
 * Quad Core processor (requires up to 2 full cores)
 * Up to 16GB memory (currently uses around 4GB memory minimum)
 * 5GB disk space

Installation
There are two ways to install:
 * Steam - install V Rising Dedicated Server which is freely available to anyone
 * SteamCMD - install app 1604030

Running the Server
Run the server once to generate a new config file:


 * To run the server, its recommended to go to your install directory and copy  to a new file called
 * Edit   with notepad, it's recommended to at least update serverName.
 * Run  and the server will load.

Start Server Batch File
@echo off REM Copy this script to your own file and modify to your content. This file can be overwritten when updating. set SteamAppId=1604030 echo "Starting V Rising Dedicated Server - PRESS CTRL-C to exit" @echo on VRisingServer.exe -persistentDataPath .\save-data -serverName "My V Rising Server" -saveName "world1" -logFile ".\logs\VRisingServer.log" * After you run the default batch file, it is recommended to copy/paste VRisingServer_Data/StreamingAssets/Settings/ServerHostSettings.json, ServerGameSettings.json, adminlist.txt, and banlist.txt into a new folder called \save-data\Settings. Not doing so could result in losing your configuration changes with new updates.

Launch Commands
Note, the launch commands will override settings in your ServerHostSettings.json mentioned later on in this wiki.

Settings File Location
After a server runs for the first time, it generates default config files into the folder: VRisingServer_Data/StreamingAssets/Settings/


 * ServerHostSettings.json (ports, server name, etc)
 * ServerGameSettings.json (day/night cycle lengths, etc)
 * adminlist.txt (put a list of Steam64 IDs that should have admin power, see example)
 * banlist.txt (put a list of Steam64 IDs that should be banned, see example)

As mentioned previously, it's recommended NOT to edit the above files, or your changes could be lost with new updates.

If you haven't done so already, copy the files next to your Save folder, in a folder called Settings:


 * If you are using the example start server batch file, then you will want to paste the files into: \save-data\Settings\
 * If you're not using the batch file, (ie, you don't specify a persistentDataPath), then you will want to paste your config files into: %USERPROFILE%\AppData\LocalLow\Stunlock Studios\VRisingServer\Settings

Port Forwarding
Windows should automatically prompt you to allow V Rising Server through your firewall. If not, make sure to add an incoming rule to your Windows Firewall for UDP port (game port) 9876 and (Steam query port) 9877.

You may additionally need to add a forwarding rule to your network router. You can use PortForward.com to read how to do this.

ServerHostSettings.json "Port": 9876, "QueryPort": 9877,



Server Host Settings
The ServerHostSettings.json file will let you configure network and administrative settings.

Server Game Settings
The ServerGameSettings.json file will let you configure the gameplay settings. Note, there is a known issue that several settings do not take, even after restarting the server. See: Ignored Game Settings After Creation for more details.

Admin List
Place a users Steam64 ID into the adminlist.txt settings file to give them admin rights. You will need to put one Steam64 ID per line, save the file, and restart the server for changes to take affect. Note, any user you give admin rights with the admin console will also appear on this list.

Example adminlist.txt: 76561197960287930 76561198026449175

Ban List
Place a users Steam64 ID into the banlist.txt settings file to ban them from the server. You will need to put one Steam64 ID per line, save the file, and restart the server for changes to take affect. Note, any user you ban with the admin console will also appear on this list. 76561197960287920 76561198026440594

Server VoIP Settings
Voice chat can be enabled if you have a key from the Vivox developer portal. After obtaining a key (can take 1-2 days), create a new config file: ServerVoipSettings.json, located in your ~StreamingAssets/Settings folder.

Fill in the configuration below with your key information: {    "VOIPEnabled": true, "VOIPIssuer": "", "VOIPSecret": "", "VOIPAppUserId": "", "VOIPAppUserPwd": "", "VOIPVivoxDomain": "", "VOIPAPIEndpoint": "", "VOIPConversationalDistance": 14, "VOIPAudibleDistance": 40, "VOIPFadeIntensity": 2.0 }

Game Setting Presets
Pre-made configurations can be found in the folder: VRisingServer_Data\StreamingAssets\GameSettingPresets

Sandbox Mode
You need to add a file in the settings directory and call it: ServerDebugMode.json

Recommended sandbox configuration: {    "CooldownsDisabled":true, "BuildCostsDisabled":true, "PlayersInvulernabilityEnabled":true, "AllProgressionUnlocked":true, "BuildingAreaRestrictionDisabled": true, "BuildingPlacementRestrictionsDisabled":true, "FreeBuildingPlacementEnabled":true, "BuildingFloorTerritoryDisabled":true, "AllWaypointsUnlocked":true, "HighCastleRoofsEnabled":true, "LinnCastleRoofsEnabled":true, "CastleHeartBloodEssenceDisabled":true, "CastleLimitsDisabled":true } Additional settings: DefaultPath LocalPath SunDamageDisabled DurabilityDisabled BloodDrainDisabled CooldownsDisabled BuildCostsDisabled TutorialPopupsDisabled AllProgressionUnlocked PlayersInvulernabilityEnabled DayNightCycleDisabled NPCsDisabled BuildingAreaRestrictionDisabled BuildingPlacementRestrictionsDisabled FreeBuildingPlacementEnabled BuildingReplacementDisabled BuildingFloorTerritoryDisabled BuildingEnableDebugging AllWaypointsUnlocked AggroDisabled DropsDisabled Use3DHeight TileCollisionDisabled DynamicCollisionDisabled DynamicCloudsDisabled HitEffectsDisabled HighCastleRoofsEnabled LinnCastleRoofsEnabled UseDeathSequencesInsteadOfRagdolls FeedWoundedRequirementDisabled SkipNetworkVersionCheck UseSunblockerChecksForFly CastleHeartBloodEssenceDisabled CastleLimitsDisabled

Ignored Game Settings After Creation
Changing certain settings after the world has already been created does not appear to take effect, even after a server restart. Problematic settings include:



Workaround
The solution is not fully tested, but one user (pernahajder) reported if you create a new server with a custom  the settings will take hold. Unfortunately, this means you need to create a new server. To do this, you need to:


 * go to \VRisingServer_Data\StreamingAssets\GameSettingPresets\
 * select a profile you want to use and make a copy of it
 * rename the profile and add the settings you want
 * edit your  and set the  to the profilename you have created
 * Launch the new server