REM ****************************************
REM this is a secure startup file that uses the raven dedicated server pack for windows
REM if the server crashes, it will be immediatly restarted and the restart time will be appended to the file 
REM    japlus_restart.txt
REM the server is launched on port 21000 to not enter in conflict with the default of your game 29070
REM       (usefull if you play on the same computer)
REM
REM  IMPORTANT: you have to disallow Micorosft Internet Bug Report in oder to have an imediate restart
REM		(Config pAnel / SYstem / Advanced / bug report / disallow it)
REM
REM 1)  install the raven dedicated server pack for windows (and the JAPLUS mod)
REM 2)  and then put this file in your gamedata folder 
REM 3)  then execute this bat file to start your server with JA+ mod
REM
REM ****************************************

.\jampDed  +set dedicated 2  +set fs_game japlus  +set net_port 21000 +set com_hunkmegs 64   +exec server.cfg

echo "------------------------------" >> japlus_restart.txt
date /t >> japlus_restart.txt
time /t >> japlus_restart.txt

REM PUT the Name of your startup file instead of start_japlus_autoRestart_dedicatedServer.bat this name must be the same as this file
.\start_japlus_autoRestart_dedicatedServer.bat