diff --git a/java/entrypoint.sh b/java/entrypoint.sh index 02e2a89..5a05a8a 100644 --- a/java/entrypoint.sh +++ b/java/entrypoint.sh @@ -181,6 +181,10 @@ if [[ "$OVERRIDE_STARTUP" == "1" ]]; then FLAGS+=("--add-modules=jdk.incubator.vector") fi + if [[ "$REMOVE_UPDATE_WARNING" == "1" ]]; then + FLAGS+=("-DIReallyKnowWhatIAmDoingISwear") + fi + if [[ "$ADDITIONAL_FLAGS" == "Aikar's Flags" ]]; then FLAGS+=("-XX:+DisableExplicitGC -XX:+ParallelRefProcEnabled -XX:+PerfDisableSharedMem -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1HeapRegionSize=8M -XX:G1HeapWastePercent=5 -XX:G1MaxNewSizePercent=40 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1NewSizePercent=30 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -XX:MaxGCPauseMillis=200 -XX:MaxTenuringThreshold=1 -XX:SurvivorRatio=32 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true") elif [[ "$ADDITIONAL_FLAGS" == "Velocity Flags" ]]; then