Minecraft:Commands/enableencryption: Difference between revisions
From SAS Gaming Wiki
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 1: | Line 1: | ||
{{ | {{MC/Exclusive|bedrock|education}} | ||
{{Infobox command | {{Infobox command | ||
|name=enableencryption | |name=enableencryption | ||
| Line 17: | Line 17: | ||
== Arguments == | == Arguments == | ||
{{ | {{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. | ||
{{ | {{MC/Argument|be=1|salt: string|basic_string}} | ||
: Used for interference. | : Used for interference. | ||
{{ | {{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:
cfbcfb128cfb8
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
de:Befehl/enableencryption ja:コマンド/enableencryption zh:命令/enableencryption