There you can create a task, schedule it to be triggered at 12am/pm and insert any cmd command you want to be executed. I would suggest to use the windows task scheduler instead of a batch file. Java -Xms2048m -Xmx2048m -XX:PermSize=128m -jar FTBServer-1.6.4-965.jar noguiĮcho (%time%) WARNING: Minecraft closed or crashed, restarting. The current batch code is as follows: off I do not know how to get a batch file to run a command within the server command line, or if it's even possible. More specifically, I want the batch file itself to run a command in the server window after either 43200 seconds or on each of the 12s, then restart itself. The issue I run into is both that I have no idea if batch CAN execute commands within a java server console, send the commands to save the server and then exit, and restart itself, due to only knowing basic batch functions. I wish to have the batch file that launches the server restart at 12 am and 12 pm, though I have little experience in batch and a cursory google search brings up nothing helpful. I am currently an administrator on a private Minecraft server, though in this case the technical question lies outside the scope of typical minecraft supoort.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |