@echo off COLOR 0a title MC-Server Control-Script echo ############################################################################### echo # MC-Server Control-Script v1.0 by Matteo Grunwald # echo # Vist m4tt30.de and wiki.m4tt30.de for more information. # echo ############################################################################### echo. echo. echo. :start echo S Start Server echo 2 Start Server with 2 GB RAM echo Q Quit Control-Script echo. CHOICE /C s2q /M "Chose one option from above:" echo. echo =============================================================================== echo. if errorlevel 3 goto m1 if errorlevel 2 goto m2 if errorlevel 1 goto m3 :m3 echo MC-Server will start now! echo. echo Shut down Server by typing "stop" in the MC-Server-Console echo. echo =============================================================================== echo. echo. java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui echo. echo =============================================================================== echo. echo MC-Server has been shut down! echo. echo =============================================================================== echo. goto :start :m2 echo MC-Server will start now with more RAM! echo. echo Shut down Server by typing "stop" in the MC-Server-Console echo. echo =============================================================================== echo. echo. java -Xmx2048M -Xms2048M -jar minecraft_server.jar nogui echo. echo =============================================================================== echo. echo MC-Server has been shut down! echo. echo =============================================================================== echo. goto :start :m1 exit