Table of Contents

Enum BedrockAddressState

Namespace
McServerLauncher.ViewModels
Assembly
McServerLauncher.dll

How far along the Bedrock address is for a server that has crossplay switched on.

public enum BedrockAddressState

Fields

Failed = 3

The tunnel could not be looked up. Whatever was shown before is kept.

LocalOnly = 1

No tunnel: Geyser is listening, but only reachable from this network.

Ready = 2

The public host and port are known and shown.

Waiting = 0

A tunnel is expected; playit has not published its address yet.

Remarks

It exists because the panel used to have only two states — an address, or nothing at all — and three completely different situations all rendered as nothing: the tunnel exists but playit has not finished assigning it a domain and a public port yet; there is no tunnel and there never will be one, because crossplay was switched on without a playit key; and the lookup failed.

The first resolves itself in seconds, the second means "works on your own network only" and needs the user to do something, and the third is worth retrying. Showing an empty box for all three is why "the Bedrock port never appears" was reported as one bug when it was three.