minecraft server bat file code example
Example 1: minecraft server startup code
java -Xmx1024M -Xms1024M -jar SERVER_FILE_NAME.jar nogui
Example 2: spigot start.bat
@echo off
title Server Console
java -Xmx1G -jar ServerFile.jar
PAUSE
Example 3: run minecraft bat
java -jar SERVERFILENAME.jar