Minecraft:Commands/enableencryption: Difference between revisions
From SAS Gaming Wiki
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
{{ | {{exclusive|bedrock|education}} | ||
{{Infobox command | {{Infobox command | ||
|name=enableencryption | |name=enableencryption | ||
| Line 6: | Line 6: | ||
|cheat=1 | |cheat=1 | ||
}} | }} | ||
Enable encryption for WebSocket connections. | Enable encryption for WebSocket or LAN connections. | ||
== Usage == | == Usage == | ||
| Line 17: | Line 17: | ||
== Arguments == | == Arguments == | ||
{{ | {{argument|be=1|publicKey: string|basic_string}} | ||
: Specifies the public key to be used for WebSocket connections. | : Specifies the public key to be used for WebSocket connections. | ||
{{ | {{argument|be=1|salt: string|basic_string}} | ||
: Used for interference. | : Used for interference. | ||
{{ | {{argument|be=1|ciper_mode: EncryptionCommandCipher|enum}} | ||
: Specifies an encrypton cipher. Must be one of: | : Specifies an encrypton cipher. Must be one of: | ||
:* <code>cfb</code> | :* <code>cfb</code> | ||
| Line 35: | Line 35: | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox commands}} | ||
de:Befehl/enableencryption | [[Minecraft:de:Befehl/enableencryption]] | ||
ja:コマンド/enableencryption | [[Minecraft:ja:コマンド/enableencryption]] | ||
zh:命令/enableencryption | [[Minecraft:zh:命令/enableencryption]] | ||
Latest revision as of 11:14, 25 August 2026
Template:Exclusive Template:Infobox command Enable encryption for WebSocket or LAN connections.
Usage
Allowing only the WebSocket side connected by the player to execute.
If the player has the encrypted WebSocket option turned on, the connected WebSocket server must execute this command.
Syntax
enableencryption <publicKey: string> <salt: string> [ciper_mode: EncryptionCommandCipher]
Arguments
- Specifies the public key to be used for WebSocket connections.
- Used for interference.
- Specifies an encrypton cipher. Must be one of:
cfbcfb128cfb8
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
Minecraft:de:Befehl/enableencryption Minecraft:ja:コマンド/enableencryption Minecraft:zh:命令/enableencryption