NOTWENNODE
NOTWEN RESOURCENotwen Interactionsnotwen_interactions
DOC SECTION04 / 07

notwen_interactions · Configuration

Configuration

Configuration should be explicit and boring for Notwen Interactions.

Boundary note

Client interaction is presentation and input. Validation and authoritative state transitions belong on the server.

01

Environment

Keep credentials and specific to the environment values outside public documentation and source examples.

02

Adapters

Select framework or service adapters in one place rather than scattering checks through gameplay code.

03

Feature flags

Optional features should be disabled cleanly when their integration is not present.

configuration principlepublic example
Config = {
  Adapter = "auto",
  Debug = false,
  Optional = {}
}