Solved Using batch to launch multiple servers

Discussion in 'Bukkit Help' started by Sgt_Tailor, May 1, 2014.

Thread Status:
Not open for further replies.
  1. Because I don't want to have to start all my test server by hand every time I wrote this batch script. The problem is that this script starts the start scripts of the other servers, but they all give the same message: Unable to access jarfile.
    This is the start script that starts the other scripts
    FOR /D %%D in (*) do call :startDir %%~fD
    set dir=%1
    FOR /f %%S in ('dir /b %dir%\*.bat') do call :start %dir%\%%S
    goto :eof
    echo %1
    set string=%1
    if not x%string:start.bat=%==x%string% call start %string%
    goto :eof
    In every subdirectory there is this script
    timeout 5
    java -Xmx512m -Xms512m -XX:MaxPermSize=128m -jar bukkit.jar
    If anyone has any suggestions please help me :D

    nvm :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jun 7, 2016
Thread Status:
Not open for further replies.

Share This Page