How to Set Up a FiveM Server: Step-by-Step Guide
Complete FiveM server setup guide on REXE VDS: installation, txAdmin configuration, port settings, and performance optimization tips for GTA V roleplay servers.
Set up a V Rising dedicated server on REXE VDS with SteamCMD, PvP/PvE mode configuration, and castle settings. Complete installation guide.
V Rising is an open-world vampire survival game developed by Stunlock Studios. By setting up your own dedicated server, you can create a custom vampire experience for your friends or community. This guide covers the complete V Rising server installation on REXE VDS, including PvP/PvE configuration and castle settings.
| Resource | Minimum | Recommended |
|---|---|---|
| CPU | 2 Cores | 4+ Cores |
| RAM | 6 GB | 8+ GB |
| Disk | 10 GB SSD | 20+ GB NVMe |
| OS | Ubuntu 22.04+ | Ubuntu 22.04 LTS |
| Network | 10 Mbps | 50+ Mbps |
V Rising server RAM consumption increases with player count. At least 8 GB RAM is recommended for a 40-player server.
SteamCMD is Valve's command-line tool for downloading and updating game server files.
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install lib32gcc-s1 lib32stdc++6 -y
Create a dedicated Steam user:
sudo adduser steam --disabled-login
sudo su - steam
mkdir ~/steamcmd && cd ~/steamcmd
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xzf steamcmd_linux.tar.gz
Download the V Rising dedicated server files using SteamCMD:
cd ~/steamcmd
./steamcmd.sh +force_install_dir ~/vrising +login anonymous +app_update 1829350 validate +quit
V Rising Dedicated Server App ID: 1829350. The initial download is approximately 3-5 GB.
Configure the basic server settings:
mkdir -p ~/vrising/save-data/Settings
nano ~/vrising/save-data/Settings/ServerHostSettings.json
{
"Name": "REXE V Rising Server",
"Description": "REXE Technology V Rising Dedicated Server",
"Port": 9876,
"QueryPort": 9877,
"MaxConnectedUsers": 40,
"MaxConnectedAdmins": 4,
"ServerFps": 30,
"SaveName": "world1",
"Password": "",
"Secure": true,
"ListOnSteam": true,
"ListOnEOS": true,
"AutoSaveCount": 25,
"AutoSaveInterval": 120,
"GameSettingsPreset": "",
"AdminOnlyDebugEvents": true,
"DisableDebugEvents": false
}
| Parameter | Description | Default |
|---|---|---|
| Port | Game port (UDP) | 9876 |
| QueryPort | Steam query port (UDP) | 9877 |
| MaxConnectedUsers | Maximum players | 40 |
| ServerFps | Server tick rate | 30 |
| AutoSaveInterval | Auto-save interval (seconds) | 120 |
| ListOnSteam | Show in Steam server list | true |
nano ~/vrising/save-data/Settings/ServerGameSettings.json
{
"GameModeType": "PvE",
"ClanSize": 4,
"CastleDamageMode": "Never",
"SiegeWeaponHealth": "Normal",
"PlayerDamageMode": "Always",
"CastleHeartDamageMode": "CanBeDestroyedOnlyWhenDecaying",
"PvPProtectionMode": "Medium",
"DeathContainerPermission": "Anyone",
"RelicSpawnType": "Unique",
"CanLootEnemyContainers": false,
"BloodBoundEquipment": true,
"TeleportBoundItems": true,
"FreeCastleClaim": false,
"FreeCastleDestroy": false,
"CastleMinimumDistanceInFloors": 2,
"CastleLimitType": "Clan",
"CastleLimit": 2
}
{
"GameModeType": "PvP",
"ClanSize": 4,
"CastleDamageMode": "TimeRestricted",
"SiegeWeaponHealth": "Normal",
"PlayerDamageMode": "Always",
"CastleHeartDamageMode": "CanBeDestroyedByPlayers",
"PvPProtectionMode": "Short",
"DeathContainerPermission": "Anyone",
"RelicSpawnType": "Unique",
"CanLootEnemyContainers": true,
"BloodBoundEquipment": false,
"TeleportBoundItems": false,
"FreeCastleClaim": false,
"FreeCastleDestroy": false,
"CastleMinimumDistanceInFloors": 3,
"CastleLimitType": "Clan",
"CastleLimit": 1,
"VSPlayerWeekdayTime": { "StartHour": 18, "StartMinute": 0, "EndHour": 23, "EndMinute": 0 },
"VSPlayerWeekendTime": { "StartHour": 14, "StartMinute": 0, "EndHour": 23, "EndMinute": 0 },
"VSCastleWeekdayTime": { "StartHour": 19, "StartMinute": 0, "EndHour": 22, "EndMinute": 0 },
"VSCastleWeekendTime": { "StartHour": 15, "StartMinute": 0, "EndHour": 22, "EndMinute": 0 }
}
In PvP mode, adjust castle raid hours according to your server community. Most communities prefer evening hours.
The castle system is one of V Rising's core mechanics. Important castle-related server parameters:
{
"CastleDecayRateModifier": 1.0,
"CastleBloodEssenceDrainModifier": 1.0,
"CastleSiegeTimer": 420,
"CastleUnderAttackTimer": 60,
"AnnounceSiegeWeaponSpawn": true,
"ShowSiegeWeaponMapIcon": true
}
| Parameter | Description |
|---|---|
| CastleDecayRateModifier | Castle decay speed multiplier (1.0 = normal) |
| CastleBloodEssenceDrainModifier | Blood Essence consumption rate |
| CastleSiegeTimer | Siege duration (seconds) |
| CastleUnderAttackTimer | Under attack notification duration |
nano ~/vrising/start.sh
#!/bin/bash
export LD_LIBRARY_PATH="~/vrising/linux64:$LD_LIBRARY_PATH"
export SteamAppId=1604030
cd ~/vrising
./VRisingServer.exe \
-persistentDataPath ./save-data \
-serverName "REXE V Rising Server" \
-saveName "world1" \
-logFile ./logs/VRisingServer.log
chmod +x ~/vrising/start.sh
V Rising server runs on Windows. On Linux, you need Wine/Proton or the official Linux build from Stunlock.
Since V Rising server is Windows-based, you need Wine to run it on Linux:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install wine64 wine32 xvfb -y
Create a virtual display with Xvfb:
Xvfb :1 -screen 0 1024x768x16 &
export DISPLAY=:1
Start the server with Wine:
cd ~/vrising
wine VRisingServer.exe -persistentDataPath ./save-data -serverName "REXE V Rising" -saveName "world1"
| Port | Protocol | Usage |
|---|---|---|
| 9876 | UDP | V Rising game port |
| 9877 | UDP | Steam query port |
sudo ufw allow 9876/udp comment "V Rising Game"
sudo ufw allow 9877/udp comment "V Rising Query"
sudo ufw reload
From the REXE Path panel:
sudo nano /etc/systemd/system/vrising.service
[Unit]
Description=V Rising Dedicated Server
After=network.target
[Service]
Type=simple
User=steam
WorkingDirectory=/home/steam/vrising
ExecStart=/home/steam/vrising/start.sh
Restart=on-failure
RestartSec=30
TimeoutStartSec=180
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable vrising
sudo systemctl start vrising
nano ~/update_vrising.sh
#!/bin/bash
echo "Stopping V Rising server..."
sudo systemctl stop vrising
echo "Checking for updates..."
~/steamcmd/steamcmd.sh +force_install_dir ~/vrising +login anonymous +app_update 1829350 +quit
echo "Restarting server..."
sudo systemctl start vrising
echo "Update complete."
chmod +x ~/update_vrising.sh
crontab -e
0 4 * * * /home/steam/update_vrising.sh
To add admins, edit the adminlist.txt file:
nano ~/vrising/save-data/Settings/adminlist.txt
Add one Steam64 ID per line:
76561198012345678
76561198087654321
V Rising dedicated server setup can be completed quickly with SteamCMD. With proper PvP or PvE mode selection, castle configuration, and correct port settings, you can provide an ideal vampire survival experience for your community. REXE VDS high-performance infrastructure and Path.net DDoS protection ensure your server runs securely.
A minimum of 6 GB RAM is required. For a 40-player server, 8 GB or more is recommended. Each player consumes approximately 100-150 MB of additional RAM.
In PvE mode, players cannot attack each other and castles are protected. In PvP mode, player combat and castle sieges are active. You can set raid hours in PvP mode for a balanced experience.
V Rising server is Windows-based. You can run it on Linux using Wine or Proton. You will need to create a virtual display with Xvfb.
Castles are powered by Blood Essence. When Blood Essence runs out, the castle begins to decay. You can adjust decay speed with CastleDecayRateModifier and consumption rate with CastleBloodEssenceDrainModifier.
Add Steam64 IDs to the save-data/Settings/adminlist.txt file. Place one ID per line.
By default, port 9876 (UDP) for the game and port 9877 (UDP) for Steam queries. Both ports must be opened in your firewall.
Complete FiveM server setup guide on REXE VDS: installation, txAdmin configuration, port settings, and performance optimization tips for GTA V roleplay servers.
Complete Minecraft server setup guide on REXE VDS: Paper/Spigot installation, Java configuration, plugin management, and performance optimization for stable gameplay.
Complete CS2 dedicated server setup guide on REXE VDS: SteamCMD installation, GSLT token, server configuration, game modes, and DDoS protection with Path Panel.