====== Information ======
* Void Server ((https://github.com/GregHib/void))
===== Resources =====
* [[https://rune-server.org/threads/void-634.697260/|Rune-Server]]
* [[https://github.com/GregHib/void/wiki|Wiki]]
===== Prerequisites =====
* [[windows:10|Windows 10 (21H2)]]
* [[programs;windows;git|Git]]
* [[games;windows;void_runescape_634|Void Client]]
====== Dependencies ======
* https://github.com/GregHib/void/wiki/installation-guide
===== Java =====
* https://learn.microsoft.com/en-us/java/openjdk/overview
==== 25 ====
* https://aka.ms/download-jdk/microsoft-jdk-25-windows-x64.msi
* Last tested: ''microsoft-jdk-25.0.2-windows-x64.msi''
* Entire feature install of ''Microsoft Build of OpenJDK''
====== Download Source ======
===== Void =====
* https://github.com/GregHib/void/commits/main/
"%ProgramFiles%\Git\bin\git.exe" clone --branch "main" --depth "1" --recurse-submodules "https://github.com/GregHib/void.git" "%UserProfile%\Projects\Void-Server\src"
====== Build ======
CD "%UserProfile%\Projects\Void-Server\src" & SET "_JAVA_OPTIONS=--enable-native-access=ALL-UNNAMED" && "%UserProfile%\Projects\Void-Server\src\gradlew.bat" "clean" --no-daemon && SET "_JAVA_OPTIONS="
CD "%UserProfile%\Projects\Void-Server\src" & SET "_JAVA_OPTIONS=--enable-native-access=ALL-UNNAMED" && "%UserProfile%\Projects\Void-Server\src\gradlew.bat" "assemble" --no-daemon && SET "_JAVA_OPTIONS="
====== Cache ======
* https://github.com/GregHib/void/wiki/installation-guide#step-3-download-the-latest-cache-7zip
* Expects [[windows:10#zip|7-Zip]]
* Last tested: ''2025-06-12-void-634-cache.7z''
RMDIR /S /Q "%UserProfile%\Projects\Void-Server\src\data\cache" & MKDIR "%UserProfile%\Projects\Void-Server\src\data\cache" && "%ProgramFiles%\7-Zip\7z.exe" x "%UserProfile%\Downloads\"*"-void-634-cache.7z" -o"%UserProfile%\Projects\Void-Server\src\data\cache"
DEL /Q "%UserProfile%\Downloads\"*"-void-634-cache.7z"
====== Settings ======
* Last commit: [[https://github.com/GregHib/void/commit/201eb448282c056edc45f2b8907027c033f2ea22|Apr 9, 2026]] ''201eb44''
* [[https://github.com/GregHib/void/commits/main/game/src/main/resources/game.properties|New commits check]]
* [[https://github.com/GregHib/void/blob/main/game/src/main/resources/game.properties|Upstream Settings]] ([[https://raw.githubusercontent.com/GregHib/void/refs/heads/main/game/src/main/resources/game.properties|raw]])
* TODO: Disable server logging ((bot actions get logged to disk along with players))
COPY /Y "%UserProfile%\Projects\Void-Server\src\game\src\main\resources\game.properties" "%UserProfile%\Projects\Void-Server\src"
MKDIR "%UserProfile%\Projects\Void-Server\scripts" & "%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\Void-Server\scripts\server-settings-sed.sh"
#!/bin/sh
cd '/tmp'
'/usr/bin/sed' -i -e 's/server.name=Void/server.name=Void ::1/g' ~/'Projects/Void-Server/src/game.properties'
'/usr/bin/sed' -i -e 's/server.live=false/server.live=true/g' ~/'Projects/Void-Server/src/game.properties'
'/usr/bin/sed' -i -e 's/development.admin.name=Greg/development.admin.name=Test/g' ~/'Projects/Void-Server/src/game.properties'
'/usr/bin/sed' -i -e 's/bots.count=30/bots.count=0/g' ~/'Projects/Void-Server/src/game.properties'
# End
"%ProgramFiles%\Git\bin\sh.exe" -- "%UserProfile%\Projects\Void-Server\scripts\server-settings-sed.sh"
"%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\Void-Server\src\game.properties"
====== Scripts ======
MKDIR "%UserProfile%\Projects\Void-Server\scripts"
"%SystemRoot%\explorer.exe" "%UserProfile%\Projects\Void-Server\scripts"
===== Server Start =====
"%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\Void-Server\scripts\localhost-server-start.bat"
@echo off
CD "%Temp%"
START "Void Server" /MIN /D "%UserProfile%\Projects\Void-Server\src" "%JAVA_HOME%\bin\java.exe" -jar "%UserProfile%\Projects\Void-Server\src\game\build\libs\void-server-dev.jar"
:: End
"%UserProfile%\Projects\Void-Server\scripts\localhost-server-start.bat"
===== Server Update =====
"%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\Void-Server\scripts\localhost-server-update.bat"
@echo off
TITLE Void Updater
CD "%Temp%"
"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\Void-Server\src" reset --hard "origin/main"
"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\Void-Server\src" pull origin "main" --rebase
CD "%UserProfile%\Projects\Void-Server\src"
SET "_JAVA_OPTIONS=--enable-native-access=ALL-UNNAMED"
CALL "%UserProfile%\Projects\Void-Server\src\gradlew.bat" "clean" --no-daemon
CALL "%UserProfile%\Projects\Void-Server\src\gradlew.bat" "assemble" --no-daemon
SET "_JAVA_OPTIONS="
CD "%Temp%"
COPY /Y "%UserProfile%\Projects\Void-Server\src\game\src\main\resources\game.properties" "%UserProfile%\Projects\Void-Server\src"
"%ProgramFiles%\Git\bin\sh.exe" -- "%UserProfile%\Projects\Void-Server\scripts\server-settings-sed.sh"
"%SystemRoot%\System32\timeout.exe" /T "2"
"%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "Void localhost server update complete"
:: End
"%UserProfile%\Projects\Void-Server\scripts\localhost-server-update.bat"
===== Save Data Back-up =====
"%SystemRoot%\System32\notepad.exe" "%UserProfile%\Projects\Void-Server\scripts\localhost-save-backup.bat"
@echo off
CD "%Temp%"
"%SystemRoot%\System32\tar.exe" -czf "%UserProfile%\Downloads\%RANDOM%-Void-localhost-Saves.tar.gz" -C "%UserProfile%\Projects\Void-Server\src\data\saves" *".toml"
"%SystemRoot%\System32\msg.exe" %USERNAME% /TIME:"2" "Void Save Data Backed-up Successfully to Downloads"
:: End
"%UserProfile%\Projects\Void-Server\scripts\localhost-save-backup.bat"
====== Launcher Shortcuts ======
===== Desktop =====
==== Server Start ====
"%UserProfile%\Projects\Void-Server\scripts\localhost-server-start.bat"
Void Server
===== Start Menu =====
****
MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\Void" & "%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Void"
==== Server Start ====
"%UserProfile%\Projects\Void-Server\scripts\localhost-server-start.bat"
Server Start
==== Update ====
"%UserProfile%\Projects\Void-Server\scripts\localhost-server-update.bat"
Server Updater
==== Save Backup ====
"%UserProfile%\Projects\Void-Server\scripts\localhost-save-backup.bat"
Save Back-up
==== Save Folder ====
MKDIR "%UserProfile%\Projects\Void-Server\src\data\saves"
"%UserProfile%\Projects\Void-Server\src\data\saves"
Save Folder
==== Install Notes ====
"https://wiki.realmofespionage.xyz/servers;windows;games;void_localhost"
Install Notes (Server)
====== Quick Commands ======
===== Save Restore =====
* ''data\saves\espionage724.toml''
MKDIR "%UserProfile%\Projects\Void-Server\src\data\saves" & "%SystemRoot%\explorer.exe" "%UserProfile%\Projects\Void-Server\src\data\saves"