Minecraft Server Startup -Code
java -Xmx1024M -Xms1024M -jar SERVER_FILE_NAME.jar nogui
Clays
java -Xmx1024M -Xms1024M -jar SERVER_FILE_NAME.jar nogui
@echo off
title Server Console
java -Xmx1G -jar ServerFile.jar
PAUSE
for java 16 and lower: java --illegal-access=permit -Xmx4096M -Xms4096M -jar serverName.jar
for java 17+: java --add-opens java.base/java.util=ALL-UNNAMED -Xmx4096M -Xms4096M -jar serverName.jar
java -jar SERVERFILENAME.jar