np_screens v2.1.0 ​
Every flat surface in the city as a screen: TVs, cinema screens, billboards, whiteboards and meeting-room displays. They play synced YouTube and video files, Google Slides decks with a presenter view, a drawable whiteboard, and PDF, image, Docs, Sheets, Twitch, Vimeo or any web page. One pool of in-game browsers renders all of them, and one remote drives them.
Playback is server-authoritative and kept per routing bucket, so every housing instance of the same interior gets its own TV. Version 2 adds a remote with a queue and a library, a presenter view, cinema mode with showtimes and tickets, an emergency broadcast, an np_phone Cast app, in-world prompts and a Surface manager for staff. Version 2.1 redesigns the whiteboard editor with live collaboration, templates and version history.

The remote on a TV. The screenshots on these pages are browser renders of the NUI over a game backdrop, with mock data. They were not captured in game.
Features ​
- Synced video: YouTube (watch, youtu.be, shorts and live links) and direct video files play in sync for everyone in range. The server owns play / pause / seek / volume / loop and the queue, and clients correct drift from a synced clock. See Remote & library.
- Everything else on a screen: Google Slides, PDF (bundled pdf.js), images and GIFs, Google Docs and Sheets, Twitch, Vimeo and any page that allows framing. Each surface lists the kinds it accepts.
- Remote 2.0 (
Eor/remote): tabs for Now playing, Up next and Library. A link preview with title and thumbnail, play now / play next, a drag-to-reorder queue, shuffle, autoplay, "mute for me", per-character history, favourites and playlists, one-tap channels and a content report. See Remote & library. - Whiteboard: a full-screen editor on any surface with
canvasenabled. Pen, highlighter, shapes, arrows, sticky notes, images and a laser pointer, templates (Kanban, a Los Santos map, a case board, a menu board, a scoreboard), live collaboration with named cursors, autosaved drafts, version history and PNG export. See Whiteboard editor. - Presenter view (
/presenter): current and next slide, filmstrip, timer, speaker notes, laser pointer, blackout, raised hands (/hand), hand-over and request control. See Presenter view. - Cinema mode: showtimes that start on their own, audience requests with upvotes, vote to skip and tickets that gate the sound. See Cinema mode & showtimes.
- Emergency broadcast (
/screens_eas): a full-screen alert on every public screen (or all of them) that restores what they showed afterwards. See Emergency broadcast. - Phone cast: an np_phone app that lists the screens near you, works a mini remote and casts a link, a photo slideshow or your Chirp feed. See Phone cast.
- Live channels: in-game TV. Reporters go live (
/golive), tripods film without anyone behind them (/tripod), and a director at the station (/station) cuts between cameras and reporters and sets the headline and ticker. See Live channels. - Audio channels: synced music from speakers instead of screens, for other resources (DJ booths, club PAs, festival stages): emitters with falloff, interior and bucket scoping, a queue, and volume ramps that land on the same instant for everyone. np_entertainment runs its decks on them. See Audio channels.
- In-world UX: a screensaver with a clock on idle screens, a "Now showing" pill, prompts, a "mute for me" key, a poster frame on screens over the render budget, and a syncing card. See In-world UX.
- Surface manager (
/screens): a staff panel with every surface, a map, capabilities, access, the schedule, the activity log and the in-game placement gizmo. See Surface manager & placement.
At a glance ​
- Requires oxmysql and np_prophandler 1.1.0+ (started first; it creates the placement ghost, the live rig and the tripods). Frameworks, ox_target, ox_lib, xsound and every other np_* resource are optional and detected at start. See Integrations.
- Frameworks: es_extended first, then qbx_core / qb-core, or standalone. The framework supplies identifiers, character names, jobs and grades for job rules, the remote item and ticket payments.
- Permissions without ACE: the admin node
np_screens.admin,np_screens.cinema,np_screens.broadcastand any per-surface nodes, all managed in np_admin. See Installation → Permissions. - Surfaces come from
config/surfaces.lua(seeded into the database and locked) or are placed in game. Two render modes: a world-space quad (cinema screens, billboards, whiteboards) or a TV prop's own screen material. - Content and transport: a surface shows a content. Surfaces that share a content id show the same thing. The link, canvas or deck is shared across routing buckets; play state is kept per bucket.
- Renderer: a fixed pool of
Config.DuiPool(4) browsers goes to the nearest surfaces in view, and onlyConfig.MaxAnimatedBoards(2) of them run video or live pages. The rest show a poster frame. - Database: 15 tables with the
nps_prefix, created and migrated on start. - Languages: English and German.
- np_admin (optional): about 80 settings editable in game (Configuration → np_admin), the audit log (category
np_screens), staff actions (List screens, Refresh screen media, Delete screen, Surface manager, Emergency broadcast) and staff notifications for content reports.
Limitations ​
Not tested in game yet
np_screens 2 merges two codebases (np_screens and np_whiteboard) and adds the features above. The Lua unit tests and the NUI test and build suites pass, but the merged resource has not run on a live server yet. Test it on a staging server before players see it.
- Sites that refuse framing show blank. Most large sites send
X-Frame-Options: DENY. They render as an empty surface through the web page fallback, and nothing inside CEF can work around it. - Only YouTube and video files are synced. Twitch, Vimeo, Docs, Sheets, PDFs and web pages run separately in each player's browser, so two players are not at the same point. Their optional audio (xsound or NUI) doesn't line up with the picture either.
- Google Slides use the published embed.
Config.Slides.strategy = 'embed'is the only strategy confirmed to work with a published deck.'export'mirrors each slide as an image but is untested. In the presenter view, embed decks show numbered tiles in the filmstrip instead of thumbnails. - The browser pool is fixed.
Config.DuiPoolbrowsers are created once at startup, because runtime textures can't be freed. Raising it costs VRAM for the whole session. Surfaces beyond the pool aren't drawn, and surfaces beyondConfig.MaxAnimatedBoardsshow a still frame. - Resolution is the quality setting. Every pooled browser is created at
Config.DefaultResolution, and YouTube picks its stream quality from the player size (1920×1080 gives 1080p, 1280×720 gives 720p). Per-surfaceresW/resHare validated and stored, but the pool always uses the default resolution. - Render targets are per prop model. Two TVs of the same model and render target in one room can't play different videos. The second stays dark and muted with a console warning. Use different TV models for TVs that must play independently within sight of each other.
- Play state isn't saved. A restart clears what is playing, the queue and the volume. The content (link, canvas, slide index) is in MySQL and survives.
- The link fetcher isn't DNS-rebinding proof. Outbound URLs are screened for private and loopback ranges before every fetch, but a hostname that resolves differently at fetch time is not caught.
- Captions are off in the in-world YouTube player.
- Whiteboard saves are whole-board. Members of a live session see each other's changes at once, but the board in the world only changes when someone saves, and a save writes the whole canvas.