Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/enableencryption: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 1: Line 1:
{{MC/Exclusive|bedrock|education}}
{{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 ==
{{MC/Argument|be=1|publicKey: string|basic_string}}
{{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.
{{MC/Argument|be=1|salt: string|basic_string}}
{{argument|be=1|salt: string|basic_string}}
: Used for interference.
: Used for interference.
{{MC/Argument|be=1|ciper_mode: EncryptionCommandCipher|enum}}
{{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 ==
{{MC/Navbox commands}}
{{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

Template:Argument

Specifies the public key to be used for WebSocket connections.

Template:Argument

Used for interference.

Template:Argument

Specifies an encrypton cipher. Must be one of:
  • cfb
  • cfb128
  • cfb8

Result

Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table

Navigation

Template:Navbox commands

Minecraft:de:Befehl/enableencryption Minecraft:ja:コマンド/enableencryption Minecraft:zh:命令/enableencryption