Package org.cloudburstmc.netty.signaling
Class ProviderClient.Configuration.Builder
java.lang.Object
org.cloudburstmc.netty.signaling.ProviderClient.Configuration.Builder
- Enclosing class:
- ProviderClient.Configuration
-
Method Summary
Modifier and TypeMethodDescriptionassistedJoins(boolean assistedJoins) authorizationToken(String authorizationToken) bedrockProtocols(ProviderClient.BedrockProtocols bedrockProtocols) build()connectivityMethod(String connectivityMethod) controlTransport(ProviderClient.ControlTransport controlTransport) deregisterOnShutdown(boolean deregisterOnShutdown) diagnosticAdmission(boolean diagnosticAdmission) gameOutcomes(boolean gameOutcomes) Declares that the application reports every admitted player's join or rejection throughProviderClient.reportGameOutcome(java.lang.String, org.cloudburstmc.netty.signaling.ProviderClient.GameOutcome, java.lang.String).location(ProviderClient.Location location)
-
Method Details
-
label
- Parameters:
label- The instance's initial name at the provider
-
authorizationToken
- Parameters:
authorizationToken- A bearer token, or null to register anonymously with proof of work
-
controlTransport
public ProviderClient.Configuration.Builder controlTransport(ProviderClient.ControlTransport controlTransport) -
diagnosticAdmission
-
connectivityMethod
- Parameters:
connectivityMethod-definedfor configured endpoints,discoveredotherwise
-
assistedJoins
-
deregisterOnShutdown
-
gameOutcomes
Declares that the application reports every admitted player's join or rejection throughProviderClient.reportGameOutcome(java.lang.String, org.cloudburstmc.netty.signaling.ProviderClient.GameOutcome, java.lang.String). -
location
- Parameters:
location- Where the operator says the host runs, or null to let the provider estimate it
-
bedrockProtocols
public ProviderClient.Configuration.Builder bedrockProtocols(ProviderClient.BedrockProtocols bedrockProtocols) - Parameters:
bedrockProtocols- The protocols the host accepts, sent with each host profile, or null to never send them, which leaves any value an earlier run reported in place
-
build
-