ProtocolLimits

Centralized protocol limits derived from the Hytale Connect packet schema.

Policy note:

  • Values matching server hard caps (security): MAX_* and CONNECT_MAX_SIZE.

  • Values safe to relax for compatibility (soft): use ProtocolLimitsConfig overrides.

Properties

Link copied to clipboard
const val CLIENT_VERSION_LENGTH: Int = 20
Link copied to clipboard
Link copied to clipboard
const val CONNECT_MAX_SIZE: Int = 38013
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val MAX_HOST_LENGTH: Int = 256
Link copied to clipboard
const val MAX_IDENTITY_TOKEN_LENGTH: Int = 8192
Link copied to clipboard
const val MAX_LANGUAGE_LENGTH: Int = 16
Link copied to clipboard
const val MAX_REFERRAL_DATA_LENGTH: Int = 4096
Link copied to clipboard
const val MAX_USERNAME_LENGTH: Int = 16