*Texto para el archivo .bat*:
@echo off
:: Set the amount of memory to allocate
set MIN_RAM=8G
set MAX_RAM=8G
:: Specify the Paper server JAR file name
set SERVER_JAR=paper.jar
:: Start the server
java -Xms%MIN_RAM% -Xmx%MAX_RAM% -jar %SERVER_JAR% nogui
:: Pause the script to read error messages if the server fails
pause