@echo off
set "JAR=%~dp0osrs-control-plugin-1.0.0.jar"
set "DEST=%USERPROFILE%\.runelite\sideloaded-plugins"
if not exist "%JAR%" (
  echo Missing plugin jar.
  pause
  exit /b 1
)
mkdir "%DEST%" 2>nul
copy /Y "%JAR%" "%DEST%\osrs-control-plugin-1.0.0.jar" >nul
echo Plugin installed.
echo Start OSRS Control Session.exe, then VanguardBOT.exe
pause
