spigot server start bat code example
Example 1: spigot start.bat
@echo off
title Server Console
java -Xmx1G -jar ServerFile.jar
PAUSE
Example 2: run minecraft bat
java -jar SERVERFILENAME.jar
@echo off
title Server Console
java -Xmx1G -jar ServerFile.jar
PAUSE
java -jar SERVERFILENAME.jar