afxgg-PeakChatTranslator icon

PeakChatTranslator

Translates PeakTextChat via Google Translate (primary) with MyMemory fallback. 100+ languages. /tr command sends only translation. /tr /w player msg for whispers.

Last updated 3 days ago
Total downloads 136
Total rating 0 
Categories Quality Of Life Translations AI Generated
Dependency string afxgg-PeakChatTranslator-0.2.4
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.75301 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.75301
borealityy-PeakTextChat-1.3.4 icon
borealityy-PeakTextChat

A simple text chat for PEAK

Preferred version: 1.3.4

README

PeakChatTranslator

Português-BR | English

Automatic chat translation for PEAK (via PeakTextChat).

Features

Incoming message translation

  • Automatically translates other players' messages to your configured language
  • Shows original message + translation below with colored prefix [TR-XX]
  • Supports 100+ languages via Google Translate (primary) with MyMemory fallback (free, no API key, auto-detect)
  • Includes Asian languages: Korean (ko), Japanese (ja), Chinese (zh), Russian (ru), Arabic (ar), Hindi (hi), Thai (th), Vietnamese (vi), and many more

Outgoing translation (command)

  • /tr your message → sends only the translated message (no duplicate original)
  • Prevents double-translation when recipients also have the mod
  • Target language configurable in "Translate My Messages To" setting

Whisper translation (TinyTweaks integration)

  • /tr /w player message → sends only translated whisper to target
  • Purple formatting (#8973a1) with (secret msg for you) matching TinyTweaks style
  • You see translation locally; recipient receives it formatted as private whisper

Settings (Mod Config / Gale)

Section Option Type Default
General Enabled Toggle On
General Target Language Dropdown (100+ langs) pt
Display Translation Prefix String TR
Display Translation Color Hex #7FC8FF
Outgoing Translate My Messages To Dropdown (100+ langs) en

Dependencies

Installation

  1. Install dependencies above via Thunderstore/Gale
  2. Download afxgg-PeakChatTranslator-0.2.4.zip from Thunderstore
  3. Install via Gale or extract to BepInEx/plugins/

Local Build

dotnet build -c Release
# DLL at artifacts/bin/PeakChatTranslator/release/Gordoni.PeakChatTranslator.dll
# Thunderstore package at artifacts/thunderstore/release/

Credits / AI Disclosure

This project was developed almost entirely with AI.

  • Tool: opencode (software engineering CLI)
  • Model: Nemotron 3 Ultra Free (NVIDIA)
  • All C# code, Harmony patches, BepInEx/Photon integration, configs, ThunderPipe build/packaging, and documentation were generated/iterated via opencode prompts.
  • AI analyzed base mods (PeakTextChat, TinyTweaks) to properly integrate via public APIs and Photon events.

Human contribution: requirements review, in-game testing, UX decisions (dropdowns, commands, colors), publishing.

License

GPLv3 — see LICENSE.