What startup arguments to use?

I'm running a heavily modded server through Witherhosting (8gb premium plan) on 1.20.1 forge, and I'm wondering what startup flags are optimal to use. Here's what I've been using: java -Xms128M -Xmx6G -Dterminal.jline=false -Dterminal.ansi=true $( [[ ! -f unix_args.txt ]] && printf %s "-jar server.jar" || printf %s "@unix_args.txt" ) We probably won't have more than 10 players on at a time, if that's important info as well. Thanks!
4 Replies
Admincraft Meta
Admincraft Metaβ€’5w ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by ethonodon#0
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
flags.sh
flags.sh
A simple script generator to start your Minecraft servers with optimal flags.
Ethonodon
EthonodonOPβ€’5w ago
this is what it does when I use those
No description
Exos
Exosβ€’5w ago
add β€”nogui at the end after the server.jar

Did you find this page helpful?