Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

V Rising Server: Enable PvP & Time Events

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

This guide shows you how to turn on player-versus-player combat and time-based events (like day/night cycles and castle sieges) on your own V Rising server. You'll edit the server's settings file, which controls everything from PvP damage to when the Blood Moon appears. This works for both dedicated servers and the "Play with Friends" option, but you'll need access to the server's files.

What You'll Need

  • Access to the server's ServerHostSettings.json file. For a dedicated server, this is in the server's install folder. For a friend-hosted game, it's on the host's PC.
  • A text editor like Notepad++ or VS Code (plain Notepad works too).
  • A way to restart the server (or, for a local game, to fully exit and reload the save).

Step-by-Step

  1. Stop the server completely. If it's a dedicated server, shut it down through your hosting panel or by closing the console window. For a local game, exit to the main menu and make sure the process is fully closed.
  2. Locate the settings file. Navigate to your server's folder. The file is named ServerHostSettings.json. If you don't see it, run the server once – it generates the file automatically on first launch.
  3. Open the file. Right-click and open with your text editor. You'll see a JSON structure with key-value pairs.
  4. Enable PvP. Find the line "GameModeType": "PvE" and change it to "GameModeType": "PvP". This is the master switch. Without this, no other PvP settings matter.
  5. Adjust PvP damage (optional). Look for "PvPProtectionMode". Set it to "Short" for a brief grace period after you log in, or "Indefinitely" to disable PvP damage entirely (not recommended if you want real PvP). For standard PvP, use "Short".
  6. Set the day/night cycle length. Find "DayDurationInSeconds" and "NightDurationInSeconds". The default is 1800 (30 minutes) for each. Lower values speed up the cycle, higher values slow it down. For example, set both to 1200 for a 20-minute day and 20-minute night.
  7. Enable castle sieges. Search for "CastleDamageMode". Change it from "Never" to "Always" (sieges can happen anytime) or "TimeBased" (sieges only during certain hours). If you choose "TimeBased", set "CastleDamageTime" to the hours you want, e.g., "18:00-06:00" for night sieges.
  8. Turn on time-based events. Look for "BloodMoonFrequency" – this controls how often the Blood Moon event occurs. Set it to a number like 3 (every 3 days) or 1 (every day). For the Solarus event (a buff during the day), find "SolarusFrequency" and set it similarly.
  9. Save the file. Press Ctrl+S (or Cmd+S on Mac). Make sure the file remains valid JSON – a missing comma or bracket will break the server.
  10. Restart the server. Launch the server again. For a dedicated server, start it via your hosting panel. For a local game, load your save from the main menu. The changes should apply immediately.
  11. Verify the changes. In-game, press Tab to open the server info panel. It should show "PvP" as the game mode. Also check the time – if you changed day/night length, the in-game clock should reflect the new duration.

Common Mistakes

  • Editing the wrong file. There's also a ServerGameSettings.json – that's for gameplay rules like loot drops and XP rates. The PvP and time settings live in ServerHostSettings.json.
  • Forgetting to stop the server first. If you edit the file while the server is running, it will overwrite your changes on shutdown. Always stop the server before editing.
  • Setting invalid values. For example, setting CastleDamageTime to a format like "18:00" without a range, or using a negative number for duration. The server may ignore the setting or crash.
  • Not using a JSON validator. A stray comma or missing quote will cause the server to fail to start. Use an online JSON validator if you're unsure.
  • Confusing PvP with PvE. If you set GameModeType to "PvE", all PvP settings are ignored. Double-check this line.

Tips

  • Backup the file. Copy ServerHostSettings.json to a safe location before editing. If something goes wrong, you can restore it.
  • Test on a separate server. If you're new to this, spin up a temporary server to test your settings before applying them to your main world.
  • Use a JSON editor. Tools like VS Code or Notepad++ will highlight syntax errors, making it easier to spot mistakes.
  • Start with small changes. Change one setting at a time and test in-game. This way, if something breaks, you know exactly which setting caused it.
  • Consider the player experience. Very short nights (e.g., 5 minutes) can make it hard to gather blood or hunt V Blood carriers. Balance the cycle to keep the game fun.

Troubleshooting

  • Server won't start after editing. The most likely cause is invalid JSON. Open the file and check for missing commas, brackets, or quotes. Use a validator like jsonlint.com to find the exact error.
  • PvP still not working. Verify that GameModeType is set to "PvP" and that you restarted the server. Also check that PvPProtectionMode is not set to "Indefinitely", which disables damage.
  • Time events not appearing. Ensure the server is running the latest version. Also, check that you set the frequency to a positive integer. If you set BloodMoonFrequency to 0, the event never occurs.
  • Castle sieges not happening. If you set CastleDamageMode to "TimeBased", make sure CastleDamageTime is in the correct format (e.g., "18:00-06:00"). Also, sieges only happen when at least one player is online.
  • Changes revert after restart. This usually means you edited the file while the server was running. Stop the server, make your changes, save, and then start it again.
  • Can't find the settings file. If you're using a hosting provider, look in the file manager under the server root. If you're hosting locally, it's in the same folder as the server executable (e.g., VRisingServer.exe).

Frequently Asked Questions

  1. Can I enable PvP on an existing PvE server? Yes. Change GameModeType to "PvP" and restart. Your world will remain, but now players can attack each other.
  2. Does changing day/night length affect gameplay? Yes. Shorter days mean less time to gather resources and build, while longer nights make it harder to fight V Blood carriers that require sunlight. Adjust to your preferred pace.
  3. What is the default Blood Moon frequency? The default is 3, meaning the Blood Moon occurs every 3 in-game days. You can set it to 1 for daily events.
  4. Can I set different siege times for weekends? No, the game only supports a single time window for sieges via CastleDamageTime. You'd need to manually change it on weekends.
  5. Do these settings apply to solo play? Yes, if you host a local game, the same settings apply. However, PvP is irrelevant if you're alone, but time events still work.
  6. Will my changes affect other players' experience? Yes, all players on the server share the same settings. Make sure everyone agrees on the PvP and event rules before changing them.