1
This commit is contained in:
@@ -159,7 +159,7 @@
|
|||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>中继服务器地址</label>
|
<label>中继服务器地址</label>
|
||||||
<input type="text" id="join-host" class="input" placeholder="relay.funmc.cn" value="localhost">
|
<input type="text" id="join-host" class="input" placeholder="fc.funmc.cn" value="localhost">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>中继端口</label>
|
<label>中继端口</label>
|
||||||
@@ -264,8 +264,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="about-section">
|
<div class="about-section">
|
||||||
<h4>技术信息</h4>
|
|
||||||
<p>基于 Electron + Node.js TCP 中继技术</p>
|
|
||||||
<p>支持 Java版 和 基岩版 Minecraft</p>
|
<p>支持 Java版 和 基岩版 Minecraft</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -266,21 +266,13 @@ export default function SettingsPage() {
|
|||||||
<span className="text-text-muted">版本</span>
|
<span className="text-text-muted">版本</span>
|
||||||
<span className="text-text-primary font-mono">0.1.0</span>
|
<span className="text-text-primary font-mono">0.1.0</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex justify-between">
|
|
||||||
<span className="text-text-muted">开发团队</span>
|
|
||||||
<span className="text-accent-purple font-medium">魔幻方</span>
|
|
||||||
</div>
|
|
||||||
<div className="flex justify-between">
|
<div className="flex justify-between">
|
||||||
<span className="text-text-muted">官网</span>
|
<span className="text-text-muted">官网</span>
|
||||||
<a href="https://fc.funmc.cn" target="_blank" rel="noopener" className="text-accent-green hover:underline">fc.funmc.cn</a>
|
<a href="https://fc.funmc.cn" target="_blank" rel="noopener" className="text-accent-green hover:underline">fc.funmc.cn</a>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex justify-between">
|
<div className="flex justify-between">
|
||||||
<span className="text-text-muted">框架</span>
|
<span className="text-text-muted">使用文档</span>
|
||||||
<span className="text-text-primary">Tauri 2 + React</span>
|
<a href="https://fc.funmc.cn/docs" target="_blank" rel="noopener" className="text-accent-green hover:underline">fc.funmc.cn/docs</a>
|
||||||
</div>
|
|
||||||
<div className="flex justify-between">
|
|
||||||
<span className="text-text-muted">协议</span>
|
|
||||||
<span className="text-text-primary">QUIC (quinn) over UDP</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-4 pt-4 border-t border-border text-center">
|
<div className="mt-4 pt-4 border-t border-border text-center">
|
||||||
|
|||||||
@@ -67,10 +67,6 @@ export default function SettingsScreen() {
|
|||||||
<Text style={styles.aboutLabel}>平台</Text>
|
<Text style={styles.aboutLabel}>平台</Text>
|
||||||
<Text style={styles.aboutValue}>iOS / Android</Text>
|
<Text style={styles.aboutValue}>iOS / Android</Text>
|
||||||
</View>
|
</View>
|
||||||
<View style={styles.aboutRow}>
|
|
||||||
<Text style={styles.aboutLabel}>框架</Text>
|
|
||||||
<Text style={styles.aboutValue}>React Native + Expo</Text>
|
|
||||||
</View>
|
|
||||||
<Text style={styles.copyright}>© 2024 FunMC Team</Text>
|
<Text style={styles.copyright}>© 2024 FunMC Team</Text>
|
||||||
</View>
|
</View>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|||||||
@@ -163,11 +163,8 @@ export default function AddNode() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="bg-mc-dark/50 rounded-lg p-4 border border-mc-accent/10">
|
<div className="bg-mc-dark/50 rounded-lg p-4 border border-mc-accent/10">
|
||||||
<h4 className="font-bold text-sm mb-2">部署提示</h4>
|
|
||||||
<p className="text-gray-400 text-xs leading-relaxed">
|
<p className="text-gray-400 text-xs leading-relaxed">
|
||||||
在添加节点前,请确保目标Ubuntu服务器已部署并运行了FunMC Relay Server。
|
添加节点前,请确保目标服务器已安装并运行中继服务。
|
||||||
工作节点需要配置 <code className="text-mc-green">IS_MASTER=false</code> 和
|
|
||||||
<code className="text-mc-green"> MASTER_URL</code> 指向主节点地址。
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user