Conversation
Integrate provider registration, persistent native hosts, local admission-token validation, background status and lease updates, connection outcomes and drain. Support inbuilt, NXS, hybrid and disabled signalling with hybrid as the default. Inherit listener settings from Geyser and apply Configurate environment overrides without persisting environment credentials. Keep the Warden claim adapter optional. Pin the maintained Network and native dependency chain and verify native builds, packaging, source provenance and extension regressions in CI. Document operation, configuration and persistent state for individual hosts and replica deployments. Consolidate the Zulu implementation and follow-up fixes from PR #12 onto GeyserMC master 83e12aa. Preserve the exact file tree from 1f25fc2; its full development history remains on zulu/backup-nxs-dev-20260908.
Handle fleet registrations and report actual connected players
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Geyser can register with a NetherNet External Signalling (NXS) provider and accept connections using admission tokens validated locally. Hybrid mode runs this alongside the existing inbuilt HTTP signalling. Warden is the default provider; operators can supply another endpoint and credentials.
Configuration
Each field supports a
NETHERNET_environment override, including YAML/JSON lists and maps. Environment credentials are applied after saving and never written into the config file. See provider configuration for examples.Both listeners inherit Geyser’s effective bind address. Inbuilt HTTP uses the Bedrock TCP port; NXS uses UDP port plus one. Hybrid keeps their startup and cleanup independent. Signing identities are generated automatically and reused, with private NXS state stored in the extension directory. Explicit advertised endpoints supplement discovered bound IPv4/IPv6 addresses.
Provider integration
The extension registers, publishes server status and its native endpoint, renews leases, reports connection outcomes, and drains before shutdown. Credential authority determines whether registration creates a service or attaches an instance to a fleet.
Network’s asynchronous native admission retains the first STUN request while Java validates its token, then answers after acceptance. Established packets stay on the native path. The optional Warden account-claim adapter is isolated from the NXS lifecycle.
Validation
The fresh hosted native build passed all 43 extension tests, pinned Network/native conformance, Java/native probes and packaging/provenance checks on the squashed head
7785594. Tests cover signalling modes, environment overrides, token files and redaction, endpoint selection, identity persistence, status, claims and shutdown.This history cleanup preserves the previous head’s exact Git tree. Warden delivery PR #50 records the deployment of this same code, including healthy inbuilt/external status and signed NXS readiness. Stock-client gameplay remains unverified.
Provenance and upstream plan
83e12aaThis aggregate draft remains open against the fork’s
upstreammirror. Later GeyserMC submissions can separate provider lifecycle, native endpoint/address discovery, status/outcomes and the optional claim adapter, with dependencies on the corresponding Network integration. Fork build pins and maintained-branch CI stay with the fork. No upstream PR has been submitted. Prepared with AI assistance for maintainer review.