Skip to content
SoulFire LogoSoulFire

Get bot protocol information

GET
/v1/instances/{instance_id}/bots/{bot_id}/protocol

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Path Parameters

instance_id*string
bot_id*string

Response Body

Successful response.

application/json
  1. response
minecraftProtocolVersion?integer

Packet schemas and encoded packet bytes use this native client protocol.

Formatint32
minecraftVersionName?string
protocolState?string
packetObservationSupported?boolean
rawPacketSendingEnabled?boolean
maximumPacketBytes?integer
Formatint64
Range0 <= value <= 4294967295
maximumSendsPerSecond?integer
Formatint64
Range0 <= value <= 4294967295
remoteProtocolVersion?integer

The remote server protocol negotiated by ViaVersion.

Formatint32
remoteVersionName?string
Example Request
curl -X GET 'http://127.0.0.1:38765/v1/instances/string/bots/string/protocol'
Example Response
{
  "minecraftProtocolVersion": 0,
  "minecraftVersionName": "string",
  "protocolState": "string",
  "packetObservationSupported": true,
  "rawPacketSendingEnabled": true,
  "maximumPacketBytes": 0,
  "maximumSendsPerSecond": 0,
  "remoteProtocolVersion": 0,
  "remoteVersionName": "string"
}

Was this page helpful?