Add SSH remote console support (#2576)

This commit is contained in:
Kaiede
2024-01-06 07:55:14 -08:00
committed by GitHub
parent 63adc7bc6c
commit aec644dc3f
2 changed files with 4 additions and 1 deletions

View File

@@ -236,6 +236,9 @@ mcServerRunnerArgs=(
if [[ ${STOP_SERVER_ANNOUNCE_DELAY} ]]; then
mcServerRunnerArgs+=(--stop-server-announce-delay "${STOP_SERVER_ANNOUNCE_DELAY}s")
fi
if isTrue "${ENABLE_SSH}"; then
mcServerRunnerArgs+=(--remote-console)
fi
if [[ ${TYPE} == "CURSEFORGE" && "${SERVER}" ]]; then
copyFilesForCurseForge