#How do I setup ./start.sh?

10 messages · Page 1 of 1 (latest)

split kindle
#

I would like to add ./start.sh to pteradactyl, how would I proceed? Please tag when reply ❤️

verbal wedge
#

I'm assuming you're running a dedicated server with your own ptero panel?

misty minnow
#

then go to your server

#

then go to startup

#

then remove the -jar "" part and put start.sh down

split kindle
#

what is the recommended bash? cause I found multiple options, and I must say I don't really understand the difference.

I found one that does


while [ true ]; do
    java -Xms5120M -Xmx5120M --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -jar server.jar --nogui

    echo Server restarting...
    echo Press CTRL + C to stop.
done```

And the default server now uses 
```java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true $( [[ ! -f unix_args.txt ]] && printf %s "-jar server.jar" || printf %s "@unix_args.txt" )```
misty minnow
#

Leave the " there

#

Only on the bottom code