Configuration ​
Edit shared/config.lua. The server copies safe values into the handover payload and the browser ignores malformed collection data.
| Setting | Purpose |
|---|---|
Language |
Default UI locale: en or de. |
ServerName, ServerSubtitle |
Fallback server identity. Handover fields can override them. |
Brand, Theme |
Fallback brand, strength and material. GlobalState.npTheme from np_admin takes precedence when set. |
Logo, Backgrounds, BackgroundInterval |
Optional brand mark and rotating background images under web/. |
Music |
Optional playlist, default muted state and volume. Playback begins after a player click because CEF may block autoplay. |
Tips, Keybinds, News |
Starter content. Other resources can add their own entries through exports. |
Rules |
Informational sections and a version. Required consent must be collected by a trusted deferral or regular NUI flow. |
Stats |
Player count visibility, max count and Discord invite display. |
Handoff |
Outro duration and fallback timeout, which starts once the network session becomes active. |
LowEnd.auto |
Enables device-based low-end detection. Players can also change it in Settings. |
The loading-screen browser cannot call Lua or post button actions back to the resource. Therefore the rules panel cannot record consent. A trusted server flow may call recordRulesAcceptance(source, version) after it verifies a player's choice.
For local browser preview, serve the resource folder over HTTP and open web/index.html?mock=1.