Radio Station Framework
What does rs_radio do?
Section titled โWhat does rs_radio do?โIt is a radio simulation framework for FiveM. It supports player-run stations, autonomous stations, live DJ tools, listener interfaces, local station audio, 3D emitters, boomboxes, call-ins, ads, SFX, weather information, and station branding.
Does it require pma-voice?
Section titled โDoes it require pma-voice?โLegacy servers require the RS-modified pma-voice build for DJ microphones, cohosts, private caller screening, live callers, and related voice routing:
Supported FiveM Enhanced servers can use the built-in voice API without pma-voice. See docs/voice-backends.md in the resource archive.
Does it require a separate xSound resource?
Section titled โDoes it require a separate xSound resource?โNo. The current build uses an internalized xSound-like world playback path.
What audio formats does the standard package use?
Section titled โWhat audio formats does the standard package use?โUse server-provided local .ogg and .mp3 files under songs/. No external audio resolver is required for local playback.
Why are there no stations on a fresh install?
Section titled โWhy are there no stations on a fresh install?โFresh installs begin with an empty Config.RadioStations table. An authorized admin can create and publish stations through /radiostationadmin. Existing stations stored in SQL are retained across configuration changes.
How are admin tools controlled?
Section titled โHow are admin tools controlled?โBy framework groups by default:
admingodsuperadmin
These are configurable through Config.EmitterAdminGroups. ACE and legacy identifier fallback are also available.
How do admins open Station Creator?
Section titled โHow do admins open Station Creator?โUse:
/radiostationadminThe command opens the Station Creator/Admin UI for authorized radio admins.
How do admins open the Emitter FX panel?
Section titled โHow do admins open the Emitter FX panel?โUse:
/radioemitterfxThe command opens the Emitter FX panel for authorized admins.
What are the main player commands?
Section titled โWhat are the main player commands?โCommon commands:
/radiolistenerui- opens or closes the listener UI./radiolisten- opens the listener UI./radiolisten on//radiolisten off//radiolisten toggle- controls vehicle radio state./radiotablet- optional DJ tablet shortcut when enabled in config./radiocohost add [serverId]- invites a nearby cohost while live./radiocohost remove [serverId]- removes a cohost./radioacceptcohost- accepts a cohost invite./radiodeclinecohost- declines a cohost invite.
Why does the boombox need inventory and target support?
Section titled โWhy does the boombox need inventory and target support?โThe boombox flow needs:
- an inventory item
- a usable item path
- a target path for placed prop interactions
- framework/inventory give-back behavior
Supported stacks include QBCore, Qbox, ESX, qb-inventory, ox_inventory, qb-target, and ox_target.
Where do stations store content?
Section titled โWhere do stations store content?โConfig-defined stations are exposed through Config.RadioStations, and Station Creator stations are stored in SQL.
Shared product ads are stored in:
data/product_ads.json
Older per-station JSON paths may exist on some installs, but the current config-driven station setup is the primary path.
Why does local duration metadata matter?
Section titled โWhy does local duration metadata matter?โDurations affect:
- deck metadata
- playlist display
- autonomous scheduling
- segment transitions
- dead-air avoidance
If a duration is wrong, automation timing can drift.
Can players move the listener UI?
Section titled โCan players move the listener UI?โYes. The listener UI includes a settings/position flow that lets players move and save the UI position locally.
Who supplies station music and audio assets?
Section titled โWho supplies station music and audio assets?โThe server operator supplies local audio for each station, including music, advertisements, and effects. Use only content you own or are properly licensed to broadcast and, where applicable, redistribute. The standard resource does not include a third-party music catalogue.
Can a station continue when no DJ is online?
Section titled โCan a station continue when no DJ is online?โYes. Autonomous station programming can rotate configured local audio and station segments without a live DJ.