McpClientConfigPacket

data class McpClientConfigPacket(val action: String, val value: String) : CustomPacketPayload(source)

S2C packet that configures the client MCP endpoint.

Constructors

Link copied to clipboard
constructor(action: String, value: String)

Types

Link copied to clipboard
object Companion

Packet type and codec constants.

Properties

Link copied to clipboard

one of: "enable", "disable", "set_port", "set_key", "toggle_logs", "request_status"

Link copied to clipboard

port number or API key for set_port/set_key; empty otherwise

Functions

Link copied to clipboard
open override fun type(): CustomPacketPayload.Type<out CustomPacketPayload>