You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subspace is a standalone program that runs independently of the Minecraft server. It can take over voice data forwarding from the Minecraft server, may run on an entirely different machine, and supports more protocols and ports.
> Even when Subspace is used, you still need to install and configure Channel on the Minecraft server.
79
+
>
80
+
> A single Subspace process accepts connections from multiple Minecraft servers, provided that any subsequently connected server specifies the same protocol and security level as the first one. When no server is connected, Subspace automatically resets and waits for any protocol and security level to be specified.
| useSubspace | 总开关。启用后,服务端会指示客户端连接到指定的Subspace。</br>Master switch. When enabled, the server instructs the client to connect to the specified Subspace. |
107
+
| subspaceAddress | Subspace对应的地址或域名。</br>The address or domain name of the Subspace instance. |
108
+
| subspaceServerPort | Subspace与Minecraft**服务端**通信的监听端口。</br>The port on which Subspace listens for the Minecraft **server**. |
109
+
| subspaceClientPort | Subspace与Minecraft**客户端**通信的监听端口。</br>The port on which Subspace listens for the Minecraft **client**. |
110
+
| subspaceFrequency | Subspace与Minecraft**服务端**通信的口令。可以是任意字符串。</br>The passphrase used between Subspace and the Minecraft **server**. May be any string. |
111
+
| subspaceProtocol | Subspace与Minecraft**客户端**通信的协议,可以是`TCP`、`UDP`、`GRPC`。</br>The protocol used between Subspace and the Minecraft **client**. May be `TCP`, `UDP`, or `GRPC`. |
112
+
| subspaceSecurityLevel | Subspace与Minecraft**客户端**通信的安全等级。<br />在TCP模式下,可以是:<br />`NONE`:握手和语音均使用明文<br />`LOW`:握手时使用AES-GCM校验,语音使用明文<br />`MID`:握手时使用AES-GCM校验,语音使用AES-CTR校验(仅加密)<br />`HIGH`:握手和语音均使用AES-GCM校验(防篡改或伪造)</br>The security level used between Subspace and the Minecraft **client**.<br />In TCP mode, may be:<br />`NONE`: both handshake and voice are sent in plaintext.<br />`LOW`: the handshake is verified with AES-GCM; voice is sent in plaintext.<br />`MID`: the handshake is verified with AES-GCM; voice uses AES-CTR (encryption only).<br />`HIGH`: both handshake and voice are verified with AES-GCM (tamper- and forgery-resistant). |
> Following the principle that "if an attacker can physically reach your device, it is no longer your device", Subspace's security tiers concern themselves only with man-in-the-middle attackers on the network.
Pre-built executables can be downloaded directly from [CI](https://github.com/USS-Shenzhou/Channel/actions/workflows/subspace-build.yml). There are three ways to configure them:
135
+
136
+
#### JSON配置文件 | JSON config file
137
+
138
+
在你第一次运行Subspace时,会自动生成一个`SubspaceConfig.json`:
139
+
140
+
The first time you run Subspace, a `SubspaceConfig.json` is generated automatically:
`threads` is the number of threads used to accept and forward client connections; choose a value based on the expected number of users and the server CPU.
156
+
157
+
Restart Subspace once the file has been filled in.
0 commit comments