Skip to content

Registration endpoint handler

Ian requested to merge register into master

Adds an event listener that handles players connecting to the registration host, contacting the backend to generate a code.

  • Configurable host
  • Splits around first ., where preceding values form the server ID if the subsequent values match the configured registration host
  • Registration feature is optional - if host is not defined, feature is disabled
  • Disconnects players with the generated code, or a generic error if it fails
  • The server ID and code are both treated as strings

Merge request reports