V Rising Server Scheduled Wipes: Setup Guide
This guide walks you through setting up scheduled wipes on your V Rising dedicated server. You’ll learn how to configure automatic server resets at fixed intervals, so you don’t have to manually delete save files every time. You’ll need access to your server’s file system (either via a hosting control panel or direct FTP/SSH) and basic familiarity with editing text files.
What You’ll Need
- Access to your V Rising server’s root directory (where the
VRisingServer.exeorsave-datafolder is located). - A text editor (Notepad++, VS Code, or even Notepad on Windows).
- If your server runs on Linux, basic command-line knowledge (for cron jobs). If on Windows, access to Task Scheduler.
- A backup solution (optional but highly recommended before any wipe).
Step-by-Step
- Stop your server. Before making any changes, shut down the V Rising server process to avoid file corruption.
- Locate the save file. Navigate to
save-datafolder inside your server directory. The main world save is typically namedWorlds(or similar). Note the exact path. - Create a backup (optional but recommended). Copy the entire
save-datafolder to a safe location. This ensures you can restore if something goes wrong. - Decide on your wipe method. You have two main options:
- Full wipe: Delete the entire
save-datafolder. This resets all player progress, buildings, and world state. - Partial wipe: Delete only certain files (e.g.,
PlayerDataorWorlds/.../subfolders) to reset only characters or buildings. This is more complex and may not be fully supported.
- Full wipe: Delete the entire
- Set up a scheduled task on Windows:
- Open Task Scheduler (search for it in the Start menu).
- Click Create Basic Task and give it a name (e.g., “V Rising Weekly Wipe”).
- Choose a trigger (e.g., weekly on Sunday at 3:00 AM).
- For the action, select Start a program.
- In the Program/script field, enter
cmd.exe. - In the Add arguments field, type:
/c rd /s /q "C:\path\to\save-data"(replace with your actual path). - Finish the wizard. The task will run the command and delete the save folder.
- Set up a cron job on Linux:
- Open a terminal and type
crontab -e. - Add a line like:
0 3 * * 0 rm -rf /path/to/save-data(this runs every Sunday at 3:00 AM). - Adjust the path to your actual save folder. Save and exit.
- Ensure the server user has permissions to delete that folder.
- Open a terminal and type
- Restart your server. After the scheduled task runs, the server will start fresh. You may need to restart the server process manually if it was stopped, or you can schedule a second task to start the server after the wipe.
- Test the wipe. Manually run the command or task once to verify it works before relying on it.
Common Mistakes
- Wrong path: Using a path that doesn’t exist or has spaces without quotes. Always test the command manually.
- Deleting the wrong folder: Double-check you’re deleting the correct
save-datafolder, not the server executable or config files. - Not stopping the server: If the server is running while the wipe occurs, files may be in use, leading to errors or partial deletion.
- Forgetting to restart the server: The wipe deletes the save, but the server may still be running with old data in memory. You must restart it.
- Using Windows Task Scheduler without quotes: If your path has spaces, the command fails. Always enclose the full path in quotes.
Tips
- Announce wipes to players: Post on Discord or in-game chat to set expectations.
- Use a backup script: Instead of just deleting, copy the save to a backup folder first, then delete. This gives you a rollback option.
- Consider a restart-only schedule: If you just want to refresh the world, a full wipe is harsh. Some servers use a “restart” that reloads the world but keeps player data. That requires a different script (just restart the server process).
- Test with a dummy folder: Create a test folder with junk files and run your scheduled command on it to confirm it works.
- Document your schedule: Keep a note of when wipes occur so you can plan updates or events.
Troubleshooting
- The wipe didn’t happen: Check that the scheduled task is enabled and the trigger time has passed. Verify the command manually. If using Windows, check the Task Scheduler’s “Last Run Result” for errors.
- The server crashes after wipe: This usually means the server can’t create a new save. Ensure the
save-datafolder is recreated by the server (it should). If not, create an empty folder with the same name and set permissions. - Players’ characters are still there: Your wipe may have only deleted the world, but player data is stored elsewhere. Check the
save-datafolder structure; you may need to delete subfolders likePlayerDataorUserDataas well. - Permission denied on Linux: The cron job runs as your user, but the server might run as another user (e.g.,
steam). Usesudo crontab -eor adjust the cron job to run as the correct user withsu. - Task Scheduler runs but nothing happens: The command may be failing silently. Add
cmd /cto the arguments and redirect output to a log file (e.g.,> C:\wipe.log 2>&1) to see errors.
Frequently Asked Questions
Can I schedule a wipe without stopping the server?
It’s not recommended. The server will have file locks, and the deletion may fail or corrupt the save. Always stop the server before wiping.
Will a wipe reset server settings like passwords or admin lists?
No. Server settings are stored in the ServerHostSettings.json file, which is separate from the save data. Your config remains intact.
Can I wipe only the map but keep player levels?
V Rising stores player data and world data in the same save structure. There is no official way to selectively wipe only the map. Some third-party tools exist, but they are not officially supported.
How do I set a wipe schedule that also restarts the server automatically?
Create two scheduled tasks: one to stop the server (or kill the process) and wipe, then a second task to start the server again. On Windows, you can use a single batch file that does both.
What happens to clan bases and castles after a wipe?
Everything is deleted. Players start from scratch. This is the point of a wipe.
Is there a way to wipe automatically every X days without writing a script?
Some hosting panels (like those from G-Portal or Nitrado) offer a built-in auto-restart or wipe feature. Check your hosting provider’s control panel. If not, you must use the OS scheduler.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.