noflags.sh
Options
Filename
The name of the file used to launch the server.
Memory (GB)
Environment
Linux
Windows
Command
Client
JVM version
21+
11-20
8
GUI
Enable the built-in GUI for the server.
Auto-restart
Enable automatic restart on crash or stop.
Result
Copy!
#!/bin/sh java -Xms4096M -Xmx4096M -XX:+UseZGC -jar server.jar --nogui