

Run your server by double-clicking the bat file. Save the file and close it, before clicking the name of the file to rename the extension to.Add pause on a line after this so that the command window is kept open so you can spot any errors. By doing so, you're setting the minimum/maximum amount of memory for the file, and using nogui stops the graphical user interface from opening which saves resources. On the document, type ' java -Xmx1024M -Xms1024M -jar' Minecraft server name nogui where Minecraft server name is the name of the file.

Right-click the file and click edit to open a Notepad window. Name the file something you'll remember like Startup or Start. Right-click on the inside of your Minecraft server folder then hover over New and click Text Document.Here's what you need to do to create the batch/bat file: It's always possible to launch the Minecraft server by following the steps above but in the long term, a better solution is to create a batch file to have it launch in a more efficient way.
