Propagate all arguments passed to the server start scripts to the game (#8060)

This commit is contained in:
noeppi_noeppi authored and GitHub committed 2021-09-16 16:52:55 -07:00
1 parent 804f390064
commit ee21224fff
2 files changed
+7 -5

No files matched your search

+4 -3
View File
@@ -1,5 +1,6 @@
REM Forge requires a configured set of both JVM and program arguments.
REM Add custom JVM arguments to the user_jvm_args.txt
REM Add custom program arguments {such as nogui} to this file at the end of the next line
java @user_jvm_args.txt @libraries/@MAVEN_PATH@/win_args.txt
pause
REM Add custom program arguments {such as nogui} to this file in the next line before the %* or
REM pass them to this script directly
java @user_jvm_args.txt @libraries/@MAVEN_PATH@/win_args.txt %*
pause
+3 -2
View File
@@ -1,5 +1,6 @@
#!/usr/bin/env sh
# Forge requires a configured set of both JVM and program arguments.
# Add custom JVM arguments to the user_jvm_args.txt
# Add custom program arguments {such as nogui} to this file at the end of the next line
java @user_jvm_args.txt @libraries/@MAVEN_PATH@/unix_args.txt
# Add custom program arguments {such as nogui} to this file in the next line before the "$@" or
# pass them to this script directly
java @user_jvm_args.txt @libraries/@MAVEN_PATH@/unix_args.txt "$@"