From 1a3ef6d5c2b8381e98cbc450382c4a083a58bf79 Mon Sep 17 00:00:00 2001 From: Leonid Pershin Date: Fri, 8 May 2026 18:03:33 +0300 Subject: [PATCH] Update configuration files to adjust render and simulation distances, modify key bindings for container sorting, and enhance menu API settings. Add new entries to ingredient and recipe sort orders, and refine Russian translations in resource packs for improved localization. --- Server/install-service.sh | 22 +- config/cumulus_menus-client.toml | 2 +- config/jei/ingredient-list-mod-sort-order.ini | 2 + config/jei/recipe-category-sort-order.ini | 1 + options.txt | 17 +- .../assets/rechiseled/lang/ru_ru.json | 498 +++++++++--------- 6 files changed, 283 insertions(+), 259 deletions(-) diff --git a/Server/install-service.sh b/Server/install-service.sh index 9ae875a..05fdf3b 100644 --- a/Server/install-service.sh +++ b/Server/install-service.sh @@ -169,6 +169,7 @@ NEOFORGE_ARGS_FILE="$(ls -1 "${SERVER_DIR}"/libraries/net/neoforged/neoforge/*/u if [[ -z "${NEOFORGE_ARGS_FILE}" ]]; then need_first_run "не найден libraries/net/neoforged/neoforge/<версия>/unix_args.txt — NeoForge не развёрнут." fi +NEOFORGE_ARGS_REL="${NEOFORGE_ARGS_FILE#${SERVER_DIR}/}" [[ -f "${SERVER_DIR}/user_jvm_args.txt" ]] \ || need_first_run "не найден user_jvm_args.txt — start.sh не сгенерировал JVM-аргументы." @@ -181,6 +182,25 @@ if [[ ! -f "${EULA_FILE}" ]] || ! grep -qE '^\s*eula\s*=\s*true' "${EULA_FILE}"; need_first_run "${EULA_FILE} отсутствует или eula=false — без принятия EULA сервер не стартует." fi +# 5a. Генерируем launcher для systemd, который учитывает variables.txt. +# run.sh не читает variables.txt и всегда использует системный `java`. +SERVICE_LAUNCHER="${SERVER_DIR}/run-service.sh" +cat > "${SERVICE_LAUNCHER}" <&2 <