Whiteboard editor ​
Any surface with capabilities.canvas = true can be drawn on. Players with edit open the editor from the remote
(Edit board, or Edit board in the … menu). Several players can draw on the same board at once, every save keeps
the previous version, and unsaved work is autosaved as a draft.

The editor fills the screen: a top bar with the board name, the people editing, undo / redo, zoom, Layers, Versions, Export PNG, Cancel and Save to board. The tool rail sits on the left, the properties panel for the current tool on the right, a minimap in the corner and the templates strip at the bottom (it can be hidden).
Tools ​
| Tool | Key | Does |
|---|---|---|
| Select | V |
Select, move, scale and rotate objects. With a selection: duplicate, delete, forward / backward |
| Pen | P |
Freehand stroke. Smooth evens out the line, Shape snap turns a rough line, rectangle or circle into a clean one |
| Highlighter | H |
Wide translucent stroke |
| Eraser | E |
Click or drag over objects to remove them (whole objects, not pixels) |
| Text | T |
A text box |
| Rectangle, Ellipse, Line, Arrow | R, O, L, A |
Shapes with stroke, fill, width and opacity |
| Sticky note | S |
A coloured note with text |
| Image | I |
Paste an image URL. The server mirrors it, so the board can be saved and shown to everyone |
| Laser pointer | K |
Points at things for everyone in the session. Nothing is saved |
The properties panel holds colour (presets and a custom colour), width, opacity, font size and fill for the current tool or selection. The Board section sets the paper (plain, dots or grid), the background colour or a background image.
- Undo / redo:
Ctrl+Z/Ctrl+Y, also after applying a template or restoring a version. - Zoom and pan: the mouse wheel zooms (10 % to 400 %), middle mouse or
Space+ drag pans, Fit to screen resets. - Layers: the list of objects on the board, in z-order.
- Show a link instead: replaces the drawing with a video, image, PDF, slide deck or web page, the same as setting a link in the remote. Clear link goes back to the drawing.
Templates ​

The templates strip starts a board from a layout. Applying a template replaces everything on the board after a confirmation, and Undo brings the old board back.
| Template | Background |
|---|---|
| Blank | Off-white with dots |
| Kanban (To do / Doing / Done) | Off-white with dots |
| Los Santos map: regions, a grid, a compass, a legend and a notes column | Sea blue |
| Case board (mugshots) | Cork |
| Menu / price board | Dark |
| Scoreboard | Dark with a grid |

Live collaboration ​

With Config.Editor.collaborative = true (the default) the first player who opens a board starts an edit session
and owns it. Other players with edit on the same content join it instead of being refused:
- Every change (an added, changed or deleted object, a clear, the background) is relayed live to the other members. Large changes, such as a template or a restored version, are sent as one snapshot.
- Members see each other's cursors with a name and drawing / typing. Show cursors hides them for you.
- Any member can save to the board. The others get a notice with the new revision.
- The owner can Lock for others: nobody new can join until it is turned off.
- When the owner leaves, the longest-standing member becomes the owner. The session ends when its last member leaves
or stops sending heartbeats for
sessionTtlSeconds. - A member who leaves without saving gets a warning. In a shared session their changes stay in the canvas until someone saves.
- Sessions hold up to
maxMembersplayers. Ops are rate limited per member (opRate) and capped in size (maxOpBytes), so a script can't flood the relay.
With collaborative = false, the editor is exclusive: a second player is told who is editing the board.
Drafts ​

The session canvas is autosaved every autosaveSeconds (15 s) as a draft on the server and in
nps_content_drafts. A draft never touches the board. If the game crashes or the session ends before anyone saved,
the next player who opens the editor is offered Restore draft or Discard for draftHours (72 h). The top bar shows
when the board was last autosaved.
Version history ​

Every save archives the canvas it replaces in nps_content_history, keeping the newest historyKeep (20) versions per
board. Versions lists them with time and author and previews the selected one.
- Restore into canvas loads a version into the editor. Undo brings your work back, and Save writes it to the board as a new revision.
- Staff can also restore a version from the Surface manager (Restore earlier board version). That writes it to the board directly, as a new revision, so the restore can itself be undone. When the old snapshot image is gone, the next editor client renders a fresh one.
Export PNG ​
Export PNG renders the board. In game NUI can't download files, so the PNG is uploaded to the server as a mirrored
asset and the editor shows a link to copy and open in a browser. Config.Editor.exportPng = false hides the in-game
export. The link uses the web_baseUrl address.
What is stored ​
| The board | The canvas as JSON plus a PNG snapshot per revision, in nps_contents and the resource's storage. Clients near the surface show the snapshot |
| Snapshots | Old snapshot files are kept for Config.SnapshotGraceHours (24 h) so players loading the previous revision aren't broken, then pruned |
| Drafts | nps_content_drafts, one per board |
| Versions | nps_content_history, historyKeep per board |
The server validates every canvas (size and object count) before it saves it. The SetBoardContent and ClearBoard
exports write boards from other resources.
Config ​
config/editor.lua:
| Key | Default | Meaning |
|---|---|---|
collaborative |
true |
Other editors join a running session. false = one editor at a time |
maxMembers |
8 |
Players per session, owner included |
sessionTtlSeconds |
120 |
Seconds without a heartbeat before a member is dropped |
heartbeatSeconds |
30 |
How often the client sends a heartbeat |
autosaveSeconds |
15 |
Draft autosave interval. 0 turns autosave off |
draftHours |
72 |
Hours an orphaned draft is offered for restore |
historyKeep |
20 |
Previous versions kept per board |
maxOpBytes |
64 KiB |
Largest single live-collaboration op (one object) |
opRate |
{ burst = 40, perSecond = 20 } |
Live ops per member: a burst, refilled per second |
cursorHz |
10 |
Cursor updates per second per member |
exportPng |
true |
Show Export PNG in game |
In np_admin, Settings → Screens → Editor edits collaborative, maxMembers, autosaveSeconds (after a reload),
historyKeep and exportPng.
The editor UI is in English and German and follows Config.Locale.
