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)
Remove broken links to missing pages
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
Line 1: Line 1:
{{exclusive|bedrock|education}}
{{MC/Exclusive|bedrock|education}}
{{Infobox command
{{Infobox command
|name=enableencryption
|name=enableencryption
Line 17: Line 17:


== Arguments ==
== Arguments ==
{{argument|be=1|publicKey: string|basic_string}}
{{MC/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}}
{{MC/Argument|be=1|salt: string|basic_string}}
: Used for interference.
: Used for interference.
{{argument|be=1|ciper_mode: EncryptionCommandCipher|enum}}
{{MC/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}}
{{MC/Navbox commands}}


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

Latest revision as of 20:09, 9 April 2026

Script error: No such module "Exclusive". Template:Infobox command Enable encryption for WebSocket 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

publicKey: string: basic_string

Specifies the public key to be used for WebSocket connections.

salt: string: basic_string

Used for interference.

ciper_mode: EncryptionCommandCipher: enum

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

All editions
Removed
Template:El only
Debug
Removed
Template:Els only
Template:El only
Removed
Template:El only
Removed
Template:Els only
Removed
Joke
Related

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