assistllka.blogg.se

Create custom minecraft jar launcher bat
Create custom minecraft jar launcher bat








create custom minecraft jar launcher bat

It's a VERY simple script language which also can simulate click and input from the keyboard. If you don't like this solution and don't know how to communicate with the server console you can try this: What you can do is simply kill the server and restart it using the command line. However, it's non-trivial to cummunicate with the server console without knowing the specific interface or how to administrate a minecraft server. 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.

create custom minecraft jar launcher bat

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.










Create custom minecraft jar launcher bat