HandshakeResponse

@Serializable
data class HandshakeResponse(val compatible: Boolean, val velocityVersion: String, val error: String? = null, val protocolMajor: Int = ProtocolVersion.MAJOR, val protocolMinor: Int = ProtocolVersion.MINOR, val protocolPatch: Int = ProtocolVersion.PATCH) : PluginMessage(source)

Handshake response message (Velocity → Paper)

Constructors

Link copied to clipboard
constructor(compatible: Boolean, velocityVersion: String, error: String? = null, protocolMajor: Int = ProtocolVersion.MAJOR, protocolMinor: Int = ProtocolVersion.MINOR, protocolPatch: Int = ProtocolVersion.PATCH)

Properties

Link copied to clipboard

true if compatible

Link copied to clipboard

Error message (when incompatible)

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Velocity plugin version