Skip to content

nx-gs-commons

Utilities shared by the adapter modules: concurrency helpers, hashing, null handling and service discovery helpers.

app.l2nx:nx-gs-commons

Java 8. Release tag commons/vX.Y.Z. Versions on maven-oss.

It comes transitively with nx-gs-adapter-core and the sync modules; there is no need to declare it.

ClientIdentifiers (hwid, ip) normalizes a client’s hardware id and IP at the wire boundary. Clients and hosts fill a missing value with placeholders (N/A, 0, -, a zero-filled UUID or address, ::, blank); such a value becomes null, so unrelated players are not tied together in a per-device limit, a ban or a unique count. A real value is returned trimmed and otherwise verbatim.

No keys of its own.