mirror of
https://github.com/xoo0524tw/OpenFlameCord.git
synced 2026-12-05 22:16:01 +02:00
Translate README to English
This commit is contained in:
1 parent
5f9eb0ebc1
commit
4ccf4b02a6
1 file changed
+13
-13
@@ -1,30 +1,30 @@
|
|||||||
# FlameCord 2.7.1
|
# FlameCord 2.7.1
|
||||||
|
|
||||||
FlameCord 是以 Waterfall/BungeeCord 為基礎的 Minecraft Java 版代理伺服器。玩家先連到代理,再由代理分流至後端伺服器。FlameCord 在這層加入機器人流量過濾、登入檢查與連線管理。本專案從 2.7.1 發行版 JAR 重建 Java 原始碼、執行資源與 Maven 建置。
|
FlameCord is a Minecraft Java Edition proxy based on Waterfall and BungeeCord. It routes players to backend servers and provides bot traffic filtering, login checks, and connection management. This project reconstructs the Java source, runtime resources, and Maven build from the FlameCord 2.7.1 release JAR.
|
||||||
|
|
||||||
## 原始混淆與重建
|
## Obfuscation and reconstruction
|
||||||
|
|
||||||
原始 JAR 的主要套件、類別與方法仍保留可辨識的名稱,例如 `FlameCord`、`CheckManager` 與 `PacketsCheck`。就可辨識的符號而言,名稱混淆程度有限。發布者採用的混淆工具與完整設定無法從現有證據確認。
|
The original JAR retains readable names for key packages, classes, and methods. Examples include `FlameCord`, `CheckManager`, and `PacketsCheck`. The visible symbols suggest limited name obfuscation. The publisher's obfuscation tool and full configuration are unknown.
|
||||||
|
|
||||||
重建時先反編譯 JVM 類別,再用原始位元組碼核對反編譯結果,修正型別與控制流程以恢復可編譯的 Java 原始碼,並用 Maven 還原相依套件及封裝流程。重建結果曾比對類別介面與部分離線行為。實際代理連線與外部服務互動仍待端對端驗證。
|
The reconstruction started by decompiling the JVM classes and checking the output against the original bytecode. Type and control flow corrections made the Java source compilable. Maven restores the dependencies and packages the distribution. Verification covered class interfaces and selected offline behavior. End-to-end testing of live proxy connections and external service interactions is still pending.
|
||||||
|
|
||||||
## 重建的主要功能
|
## Reconstructed features
|
||||||
|
|
||||||
- **代理與協定**涵蓋連線、登入、後端切換、封包編解碼,以及 Waterfall 的管理指令與外掛模組。
|
- **Proxy and protocol handling** covers connections, login, backend switching, packet encoding and decoding, and Waterfall's administrative commands and plugin modules.
|
||||||
- **機器人與流量防護**包含連線速率、重新連線、暱稱、帳號、延遲、聊天頻率與封包異常檢查。
|
- **Bot and traffic protection** checks connection rates, reconnects, usernames, accounts, latency, chat frequency, and packet anomalies.
|
||||||
- **登入前驗證**包含 Limbo 暫存連線、驗證碼、白名單與封鎖統計。
|
- **Pre-login verification** includes a Limbo holding area, CAPTCHA challenges, allowlists, and statistics for blocked connections.
|
||||||
- **來源過濾**支援 IP、代理來源與國家或地區檢查,並可整合 Linux 防火牆。
|
- **Connection source filtering** checks IP addresses, proxy sources, and countries or regions, with optional Linux firewall integration.
|
||||||
- **伺服器營運**支援負載平衡、後端備援、維護模式、自訂伺服器清單訊息與玩家數顯示。
|
- **Server operations** include load balancing, backend failover, maintenance mode, custom server list messages, and player count display.
|
||||||
|
|
||||||
## 開發與建置
|
## Development and build
|
||||||
|
|
||||||
在 IntelliJ IDEA 開啟專案根目錄,或將根目錄的 `pom.xml` 開啟為專案。Maven 匯入會設定原始碼、資源與相依套件。若 IDEA 要求選擇 Project SDK,選用 JDK 21。匯入完成後可執行共用的 **FlameCord Package** 設定,或從終端機以 JDK 21 和 Maven 3.9 以上建置。
|
Open the project root in IntelliJ IDEA, or open the root `pom.xml` as a project. Maven import configures the source roots, resources, and dependencies. Select JDK 21 if IDEA asks for a project SDK. After importing, run the shared **FlameCord Package** configuration or build from the terminal with JDK 21 and Maven 3.9 or later.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mvn clean package
|
mvn clean package
|
||||||
```
|
```
|
||||||
|
|
||||||
首次建置需連線至 Maven Central 與 Mojang 的公開 Maven 倉庫。主要程式以 Java 17 為編譯目標,啟動入口以 Java 11 編譯,以便在舊版 Java 上顯示版本提示。封裝結果可直接啟動。
|
The first build requires access to Maven Central and Mojang's public Maven repository. The main code targets Java 17. The bootstrap class targets Java 11 so it can display a version message on older Java runtimes. Run the packaged JAR with the following command.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
java -jar target/flamecord-2.7.1.jar
|
java -jar target/flamecord-2.7.1.jar
|
||||||
|
|||||||
Reference in new issue
Block a user