| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| servers:windows:games:2009scape_localhost [2026/02/13 05:59] – [Server Update] Sean Rhone | servers:windows:games:2009scape_localhost [2026/03/03 18:28] (current) – [Initial Build] Sean Rhone |
|---|
| ====== Initial Build ====== | ====== Initial Build ====== |
| |
| * ~5 minutes i5-8400H ((2026/01/24: ''04:53 min'')) | * ~5 minutes i5-8400H ((2026/03/03: ''04:41 min'')) |
| |
| CD "%UserProfile%\Projects\2009Scape-Server\src\Server" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot" && "%UserProfile%\Projects\2009Scape-Server\src\Server\mvnw.cmd" "clean" "package" -DskipTests && SET "JAVA_HOME=" | CD "%UserProfile%\Projects\2009Scape-Server\src\Server" && SET "JAVA_HOME=%ProgramFiles%\Microsoft\jdk-17.0.18.8-hotspot" && "%UserProfile%\Projects\2009Scape-Server\src\Server\mvnw.cmd" "clean" "package" -DskipTests && SET "JAVA_HOME=" |
| ===== Save Data Back-up ===== | ===== Save Data Back-up ===== |
| |
| "notepad.exe" "%UserProfile%\Projects\2009Scape-Server\scripts\localhost-save-backup.bat" | "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\2009Scape-Server\scripts\localhost-save-backup.bat" |
| |
| <code> | <code> |
| CD "%Temp%" | CD "%Temp%" |
| |
| "tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-2009Scape-Server-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\2009Scape-Server\src\Server\data" "players" | "%SystemRoot%\System32\tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-2009Scape-Server-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\2009Scape-Server\src\Server\data" "players" |
| |
| MSG %USERNAME% /TIME:"2" "2009Scape Save Data Backed-up Successfully to Downloads" | "%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "2009Scape Save Data Backed-up Successfully to Downloads" |
| |
| :: End</code> | :: End</code> |
| **** | **** |
| |
| MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" & "explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" | MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" & "%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\2009Scape" |
| |
| ==== Server Start ==== | ==== Server Start ==== |
| * ''Server\data\players\espionage724.json'' | * ''Server\data\players\espionage724.json'' |
| |
| MKDIR "%UserProfile%\Projects\2009Scape-Server\src\Server\data\players" & "explorer.exe" "%UserProfile%\Projects\2009Scape-Server\src\Server\data\players" | MKDIR "%UserProfile%\Projects\2009Scape-Server\src\Server\data\players" & "%SystemRoot%\explorer.exe" "%UserProfile%\Projects\2009Scape-Server\src\Server\data\players" |
| |