encode42 / flags.sh

A simple script generator to start your Minecraft servers with optimal flags.
https://flags.sh
MIT License
148 stars 20 forks source link

[suggestion] add api and recommended flags #26

Closed BlackRandomCraft closed 1 year ago

BlackRandomCraft commented 1 year ago

Well, I think it's clear with the api, but with the recommended flags I would think about it

java -Xms128M -Xmx{{SERVER_MEMORY}}M -Dspt={{{SERVER_PORT}}} -XX:+UseSerialGC -Dlog4j2.formatMsgNoLookups=true -Dfml.queryResult=confirm -Dterminal.jline=false -Dterminal.ansi=true -DIReallyKnowWhatIAmDoingISwear=true -Duser.timezone=Europe/Moscow -jar -Dfile.encoding=UTF-8 {{{SERVER_JARFILE}}} nogui

Such as these flags

encode42 commented 1 year ago

An API is already implemented in the qwik rewrite! (#5)

I'm not sure what you mean by "recommended flags". The ones you provided are exclusive to certain platforms or environments, e.g. Pterodactyl or Forge. It wouldn't be a good idea to include them in configurations they're not designed for.