This is a plugin for WindowsGSM which allows you to:
- Create a new Rust server Oxide and RustEdit
- Auto update Oxide and RustEdit to the latest version
- Schedule automatic wipes of maps, blueprints
- Download this project as a zip file
- Click the Plugin button in Windows GSM
- Click "Import Plugin" and select the zip file you downloaded
- RustOxideWithRustEdit should have been added to your "Loaded Plugin List"
- Click the "Servers" menu at the top of the window
- Click "
Install Game Server" from the menu
- Click the Game Server dropdown and select "Rust Dedicated Server with Oxide and RustEdit [RustOxideWithRustEdit.cs]"
- Set your server name
- Click "Install"
- You server should now be created and will also install the latest version of Oxide and RustEdit
- Identify the ID of the server you wish to migrate
- Open the WindowsGSM folder in windows explorer
- Navigate to servers/[serverid]/configs
- Open the WindowsGSM.cfg file in an editor
- Change the first line from:
servergame="Rust Dedicated Servertoservergame="Rust Dedicated Server with Oxide and RustEdit [RustOxideWithRustEdit.cs]" - Save the file and restart WindowsGSM
- Select the server and click the "Update" button
- This should install the latest versions of Oxide and RustEdit onto the server
Wipes will occur at the next restart after a scheduled wipe. For this to work the server must be start by WindowsGSM
- Identify the ID of the server you wish to set a wipe schedule on
- Open the WindowsGSM folder in windows explorer
- Navigate to servers/[serverid]/configs
- If you did a clean install you should find a file called auto_wipe.template.cfg
- Rename this to auto_wipe.cfg
- Adjust the setting to match your requirements
The wipe schedule is a json file with each schedule being an json object.
"[Schedule Name]": {
"weeks":
"day":
"time":
"files"
}Each schedule has:
- A primary key which is the [Schedule Name] this must be unique for each schedule
- A "weeks" property
- This indicates which weeks of the month the schedule should run on
"weeks": [1,2,3,4,5]would wipe on every week in the month"weeks": [1]would only wipe on the 1st week in the month
- This indicates which weeks of the month the schedule should run on
- A "day" property
- This indicates which day of the week the schedule should run on
- 0 = Sunday, 1 = Monday, 2 = Tuesday, 3 = Wednesday, 4 = Thursday, 5 = Friday, 6 = Saturday
"day": 4would wipe on a Thursday
- This indicates which day of the week the schedule should run on
- A "time" property
- This indicates what time the wipe should occur.
"time": "12:00"The wipe will occur at 12:00 (midday server time)
- This indicates what time the wipe should occur.
- A "files" property
- This indicates which files should be deleted from the server instance folder. This allows for wildcard pattern matching
"files": ["*.sav"]Will delete all files with the .sav extension"files": ["player.blueprints.5.db"]will delete the player blueprints file only"files": ["*.*"]Will delete all files in the server instance folder
- This indicates which files should be deleted from the server instance folder. This allows for wildcard pattern matching
Once the server has run up at least once you will see an additional property added:
- A "next" property
- This indicates the next schedule wipes date and time.
{
"Map Wipe": { // Name for this wipe schedule (must be unique)
"weeks": [2,4], // Wipe on 2nd and 4th weeks
"day": 4, // Wipe on Thursday (0 - 6 => Sunday - Saturday)
"time": "12:00", // Wipe at next restart after 12:00 (midday server time)
"files": ["*.sav"] // Wipe map only
},
"BP Wipe": { // Name for this wipe schedule (must be unique)
"weeks": [0,2,4], // Wipe on 1st, 3rd and 5th weeks
"day": 4, // Wipe on Thursday
"time": "12:00", // Wipe at next restart after 12:00 (midday server time)
"files": ["*.db","*.sav","*.db-journal"] // Wipe map and blueprints
}
}