Nebula
Protocol

JoinRejectReason

Why a join was refused, in typed form.

generated from the sources
public enum JoinRejectReason : byte

Why a join was refused, in typed form. A reason string is for the player; this is for the game's client code, which has to tell "your token is bad" (pointless to retry) from "that station is full" (try a queue, another instance, or later). See docs/capacity-admission.md.

Members

NameValueDescription
None0No typed reason was supplied. Read JoinRejectedMsg.Reason and JoinRejectedMsg.Retry.
AtCapacity1The target the client asked for is at capacity and the admission hook refused it (JoinRejectedMsg.Saturation says how full).
Denied2The admission hook refused this particular arrival for its own reasons, with the target below capacity (NebulaAdmission.AlwaysConsult).
ProtocolUnsupported3The client's protocol is outside the gateway's supported range (JoinRejectedMsg.SupportedMinVersion..JoinRejectedMsg.SupportedMaxVersion). The client stops automatic retries; use a client and gateway with matching protocol versions.
ContentVersionMismatch4The client's HelloMsg.GameContentVersion is outside the gateway's configured range. The client stops automatic retries. The game defines the content version numbers.
EncryptionRequired5The mesh accepts encrypted client links only (NebulaConfig.RequireEncryption) and this one is in the clear. Retrying without turning encryption on will be refused again.

On this page