
FTB Quest Translator - перевод квестов FTB Quests на русский
Клиентский аддон для FTB Quests с кнопкой перевода: названия, подзаголовки и описания заданий на русском прямо в игре. DeepL и Google Translate, кэш, глоссарий, пакетный перевод квестбука.
Оцените первым
27.1K
7
Список изменений
Added
- DoH (DNS-over-HTTPS) Bypass Rewrite: Completely rewrote the DoH bypass using raw SSL sockets with
InetAddress.getByAddress(). Java automatically sets correct TLS SNI from the hostname while connecting to the DoH-resolved IP, and a manually constructed HTTP/1.1 request ensures the properHostheader. This enables reliable Google Translate access for users in regions with DNS-level censorship (e.g., Russia). - Batch Translation: All text segments (title, subtitle, description lines) are now joined with a unique separator and sent in a single HTTP request instead of 7+ parallel requests. Dramatically reduces API rate limiting risk and improves translation speed.
- HTML Entity Decoding: Added
decodeHtmlEntities()to convert API-returned HTML entities ("→",&→&,<→<, etc.) back to plain text before rendering. - Format Code Sanitizer: Added
sanitizeFormatCodes()that strips&before any character that isn't a valid Minecraft formatting code, preventing "Invalid formatting!" errors in quest UI.
Fixed
- DoH 404 Error: The old
HttpsURLConnection-based DoH approach returned HTTP 404 because Google's edge servers couldn't route requests from raw IP + Host header. The new raw SSL socket approach resolves this completely. "Artifacts in Quest Text: MyMemory API returns HTML-encoded responses. After the format sanitizer stripped&from", the textquot;remained visible. Fixed by decoding HTML entities before format sanitization.- AUTO Provider Selecting Wrong Provider: When switching providers in config, stale probe results incorrectly marked Google as unavailable. Now
providerAvailabilityis cleared on provider change, forcing a fresh availability check. - Google Translate JSON Parsing: Raw SSL socket responses include chunked encoding remnants after the JSON body, causing
MalformedJsonException. Added JSON boundary detection and lenient parsing to handle this.
Файлы
ftbquesttransl-1.20.1-fabric-1.3.2.jar(83.86 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.3.2-1.20.1
Загрузчики
Fabric
Версии игры
1.20.1
Загрузок
9
Дата публикации
18.04.2026
