ServerAPIv1.1.0

多語言Languages

內建繁體中文與英文,涵蓋設定檔註解、主控台訊息、指令回應與 API 輸出。 玩家自行輸入的內容(封鎖理由、暱稱)不會被翻譯。

language: auto        # 依主機語系判斷,首次啟動後寫入實際結果
/serverapi lang en_US

切換時會先備份現有設定檔,再以新語言的範本重建,你的設定值全數保留

語言檔位於 plugins/ServerAPI/lang/,可自行修改。 改版新增的鍵會自動由 jar 內建版本補上,因此升級後不會出現未翻譯的鍵名。

English and Traditional Chinese are built in, covering config comments, console messages, command replies and API output. Player-supplied text such as ban reasons and nicknames is never translated.

language: auto        # detect from the host locale, written back on first start
/serverapi lang en_US

Switching backs up the existing config, then rebuilds it from the new language's template with every value preserved.

Language files live in plugins/ServerAPI/lang/ and can be edited. Keys added in later versions are filled in from the bundled copy automatically, so upgrading never leaves raw key names on screen.