Class ProviderRuntimeConfiguration.Settings.Builder
java.lang.Object
org.cloudburstmc.netty.signaling.provider.ProviderRuntimeConfiguration.Settings.Builder
- Enclosing class:
- ProviderRuntimeConfiguration.Settings
-
Method Summary
Modifier and TypeMethodDescriptionadvertiseAddresses(List<String> advertiseAddresses) assistedJoins(boolean assistedJoins) build()connectionChecks(boolean connectionChecks) deregisterOnShutdown(boolean deregisterOnShutdown) gameOutcomes(boolean gameOutcomes) location(ProviderClient.Location location) stunDiscovery(boolean stunDiscovery)
-
Method Details
-
token
- Parameters:
token- A bearer token, afile:path to one, or empty to register anonymously
-
advertiseAddresses
public ProviderRuntimeConfiguration.Settings.Builder advertiseAddresses(List<String> advertiseAddresses) - Parameters:
advertiseAddresses- Reachablehost:portendpoints, empty to derive them
-
label
- Parameters:
label- The instance's initial name at the provider, empty for the host name
-
connectionChecks
- Parameters:
connectionChecks- Whether the provider may check reachability from its regions, through diagnostic admission
-
stunDiscovery
- Parameters:
stunDiscovery- Whether to find and maintain public addresses through the provider's STUN servers when none are advertised
-
assistedJoins
- Parameters:
assistedJoins- Whether the provider may help players connect over its WebSocket, which this then uses for every operation
-
deregisterOnShutdown
public ProviderRuntimeConfiguration.Settings.Builder deregisterOnShutdown(boolean deregisterOnShutdown) - Parameters:
deregisterOnShutdown- Whether to end the registration on shutdown, for hosts whose state directory does not persist
-
gameOutcomes
- See Also:
-
ProviderClient.Configuration.Builder.gameOutcomes
-
location
- See Also:
-
ProviderClient.Configuration.Builder.location
-
build
-