Where I need to add "echo %TIME%" for time in L2J server gameserver and login .bat console?
Just give me some example please. Ty in advance
I have this by default but without TIME ...
@echo off
title Game Server Console
:start
echo Starting L2J Game Server.
echo.
java -Xms1536m -Xmx3072m -jar l2jserver.jar
REM NOTE: If you have a powerful machine, you could modify/add some extra parameters for performance, like:
REM -Xms1536m
REM -Xmx3072m
REM -XX:+AggressiveOpts
REM Use this parameters carefully, some of them could cause abnormal behavior, deadlocks, etc.
REM More info here: http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html
if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Admin Restarted Game Server.
echo.
goto start
:error
echo.
echo Game Server Terminated Abnormally!
echo.
:end
echo.
echo Game Server Terminated.
echo.
pause