flags.sh icon indicating copy to clipboard operation
flags.sh copied to clipboard

Add {{SERVER_JARFILE}} option instead of (something).jar

Open Teslicek opened this issue 2 years ago • 3 comments

When using pterodactyl, I sometimes need to change the jarfile (and java flags) for the server.

That's why I suggest to add a RESULT option, something like "Pterodactyl", that would basically replace (something).jar for {{SERVER_JARFILE}}.

Pterodactyl automatically replaces {{SERVER_JARFILE}} with the name of the file you add in the panel.

image

Teslicek avatar Mar 14 '22 16:03 Teslicek

There's already a "Pterodactyl" option in the advanced memory options modal, I'll look into replacing the filename input if said option is enabled.

encode42 avatar Mar 14 '22 21:03 encode42

Added in the v2 rewrite

(issue will be closed when it's released)

encode42 avatar Jan 18 '23 00:01 encode42

@encode42 Would recommend doing the same thing with the memory arguments, to use whatever the pterodactyl server has, and sets -XX:MaxRAMPercentage=95.0 which will use at most 95% of the available ram.

TekExplorer avatar Nov 12 '23 03:11 TekExplorer