Class NetherNetServer
java.lang.Object
org.geysermc.geyser.network.bedrock.nethernet.NetherNetServer
- All Implemented Interfaces:
org.geysermc.geyser.api.event.EventRegistrar
public final class NetherNetServer
extends Object
implements org.geysermc.geyser.api.event.EventRegistrar
The NetherNet (WebRTC) transport, used instead of RakNet: inbuilt HTTP signaling, NXS provider registration, or both,
all on the Bedrock address and port.
Its state (signing identity, provider registration and DTLS identity) lives in the "nethernet" folder next to the config.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable io.netty.channel.Channel@Nullable org.cloudburstmc.netty.signaling.ProviderClientstatic StringproviderFailure(Throwable failure) voidorg.cloudburstmc.netty.signaling.ServerStatusvoidsetServerStatus(org.cloudburstmc.netty.signaling.ServerStatus snapshot) Programmatic complete status override; panel fixed values still take precedence at the provider.voidsetServerStatusSupplier(Supplier<org.cloudburstmc.netty.signaling.ServerStatus> supplier) voidshutdown()voidstart()@Nullable WardenClaimAdapter
-
Constructor Details
-
NetherNetServer
-
-
Method Details
-
start
public void start() -
setServerStatus
public void setServerStatus(org.cloudburstmc.netty.signaling.ServerStatus snapshot) Programmatic complete status override; panel fixed values still take precedence at the provider. -
setServerStatusSupplier
public void setServerStatusSupplier(Supplier<org.cloudburstmc.netty.signaling.ServerStatus> supplier) -
restoreAutomaticServerStatus
public void restoreAutomaticServerStatus() -
serverStatus
public org.cloudburstmc.netty.signaling.ServerStatus serverStatus() -
providerClient
public @Nullable org.cloudburstmc.netty.signaling.ProviderClient providerClient() -
wardenClaim
-
providerChannel
public @Nullable io.netty.channel.Channel providerChannel() -
gameOutcomes
-
providerFailure
-
shutdown
public void shutdown()
-