NetherNetConfig 5.46.0
Settings of the NetherNet bridge, read from server.properties and pocketmine.yml.
Properties
$acmeDirectory
public readonly string $acmeDirectory$acmeDomains
public readonly string $acmeDomainsNames (or IP addresses) to get HTTPS certificates for automatically (ACME), when no certificate file is set
$acmeEmail
public readonly string $acmeEmail$acmeHttpPort
public readonly int $acmeHttpPort$acmeStorage
public readonly string $acmeStorage$acmeTlsPort
public readonly int $acmeTlsPort$advertiseAddresses
public readonly array $advertiseAddresses$binaryPath
public readonly string $binaryPath$bindIp
public readonly string $bindIp$domain
public readonly string $domain$identityFile
public readonly string $identityFile$logFile
public readonly string $logFile$logLevel
public readonly string $logLevel$queryToLink
public readonly bool $queryToLinkWhether the UDP port is shared without RakNet: Query datagrams then come over the link
$rakNetRelayPort
public readonly int $rakNetRelayPortLoopback port of the RakLib relay socket when the UDP port is shared with RakNet
$requireIdentity
public readonly bool $requireIdentity$signalingPort
public readonly int $signalingPort$tlsCertificate
public readonly string $tlsCertificate$tlsPrivateKey
public readonly string $tlsPrivateKey$udpPort
public readonly int $udpPortUDP port for WebRTC; the server port when it is shared with RakNet/Query, 0 = ephemeral ports
Methods
__construct()
public function __construct(string $binaryPath, string $bindIp, int $signalingPort, int $udpPort, array $advertiseAddresses, string $identityFile, string $domain, string $tlsCertificate, string $tlsPrivateKey, string $logLevel, string $logFile, bool $requireIdentity, int $rakNetRelayPort = 0, bool $queryToLink = false, string $acmeDomains = "", string $acmeEmail = "", string $acmeDirectory = "", s …isUdpPortShared()
public function isUdpPortShared() : boolWhether the bridge owns the server's UDP port and shares it with RakNet or Query.
locateBinary()
public static function locateBinary(string $configured, string $dataPath) : ?stringFinds the bridge program: the configured path if any, otherwise the binary shipped with the server for this platform (copied out of the phar, since a program cannot run from inside it), otherwise one placed by the server owner in <data>/bin/.
platformName()
public static function platformName() : stringPlatform suffix of the bridge binaries, e.g. "windows-amd64" or "linux-arm64".
toArguments()
public function toArguments(int $linkPort) : arrayCommand-line arguments for the bridge program (without the program itself).
