server.cfg reference
Everything about channels, towers, recording and the rest is set in the web app. server.cfg only covers how the
resource behaves on your game server. Every setting is optional except the two connection lines.
All settings start with the resource’s folder name. If you renamed the folder, use your name instead of
meridian_ (for example myradio_secret).
set or setr
Section titled “set or setr”setsettings stay on the game server. Usesetfor anything secret, and for anything only the server needs.setrsettings are replicated to every player’s game so the radio can read them. They’re all safe to share, but anyone can read them.
Use each setting with the command shown in the tables below. A setr setting given with set won’t reach players’
games, so it won’t take effect.
Connection
Section titled “Connection”| Setting | Default | What it does |
|---|---|---|
set meridian_secret |
required | Proves your game server belongs to your radio system. Copy it from System → Settings → Game server connection |
set meridian_url |
required | Your radio system’s address, wss://<your-community>.radio.meridiancomms.net/ws |
set meridian_server_api |
"true" |
The game server’s live link to the radio system. It powers the server-side API, radio and world speakers, signal checks and phone lines. Radios still talk and hear with it off |
set meridian_game_url |
from meridian_url |
Only if the link’s address can’t be worked out from meridian_url |
Who gets a radio
Section titled “Who gets a radio”| Setting | Default | What it does |
|---|---|---|
set meridian_agencies |
none | Agency IDs to check ACE permissions for, comma-separated. See Giving players agencies |
set meridian_require_ace |
"false" |
Only players with the meridian.use ACE can use the radio at all |
set meridian_framework |
"auto" |
"qbox", "qbcore", "esx", "ox" or "standalone". Frameworks |
set meridian_jobs |
"police=lspd,ambulance=fire" |
Which jobs (ox_core groups) give which agency, as job=agency pairs |
set meridian_require_onduty |
"true" |
Off-duty players don’t get their job’s agency. With ox_core, on duty means the group is the player’s active group. ox_core |
set meridian_duty_power |
"true" |
Radios switch on when the player goes on duty, and off when they go off duty |
set meridian_item |
none | An inventory item players must carry to use the radio. Radio item |
set meridian_item_identity |
"true" |
A radio item keeps its own unit ID, name and channels. Details |
set meridian_alias |
"custom,framework,player" |
Where a radio’s name comes from. Radio names |
set meridian_battery_item |
"radio_battery" |
The spare battery item. Radio batteries |
| Setting | Default | What it does |
|---|---|---|
set meridian_postals |
"auto" |
Where dispatch’s map gets postal codes: "auto" finds a started postal resource (like nearest-postal or sna-postals), a resource name reads that one, "resource/file.json" reads that file, "off" sends none. Postal codes |
set meridian_postals_file |
"" |
For the optional Meridian Postals resource: your own postal file, a path inside meridian_postals or a full path. Empty uses custom-postals.json if it’s there, then the standard map |
Dispatch tablet and phones
Section titled “Dispatch tablet and phones”| Setting | Default | What it does |
|---|---|---|
set meridian_tablet |
"true" |
The in-game dispatch tablet (/dispatch) |
set meridian_tablet_ace |
"false" |
Only players with the meridian.tablet ACE can open the tablet |
set meridian_tablet_item |
none | An inventory item players must carry to open the tablet. Tablet item |
set meridian_tablet_url |
from meridian_url |
Only if the web app isn’t at the meridian_url address |
setr meridian_tablet_animation |
"true" |
The tablet prop and animation while it’s open |
set meridian_phone |
"auto" |
"lb-phone" or "off". Phone calls |
Radio behavior (replicated)
Section titled “Radio behavior (replicated)”| Setting | Default | What it does |
|---|---|---|
setr meridian_proximity |
"true" |
Players near a talker hear their side of the call through proximity voice. Voice |
setr meridian_speaker |
"true" |
Players near a radio hear its calls. Radio speakers |
setr meridian_speaker_range |
"8" |
How far a radio on speaker carries, in meters (2–20) |
setr meridian_ambient |
"true" |
Sirens, engines and gunfire heard behind transmissions. Background noise |
setr meridian_ambient_level |
"100" |
Background noise level, 0–100 |
setr meridian_siren_audio |
"game" |
"statebag": only vehicles your siren resource marks with the meridianSiren state bag count as sirens. Sirens from siren resources |
setr meridian_hud |
"true" |
The small HUD shown while the radio is hidden. Using the radio |
setr meridian_headless |
"false" |
Hide the built-in radio for everyone, for a HUD resource that replaces it. Player API |
setr meridian_animation |
"true" |
The built-in transmit animation: the left hand goes to the shoulder mic, the right arm stays free |
setr meridian_animation_weapons |
"all" |
Which guns can be aimed and fired while transmitting, held in the right hand with the left on the radio: "all", "pistols" (pistols and the stun gun; other guns drop the radio pose while aiming) or "none" |
setr meridian_animation_dict |
none | Play your own transmit animation instead, streamed by any resource: its dictionary… |
setr meridian_animation_name |
"generic_radio_chatter" |
…and its clip name. It should only move the left arm unless meridian_animation_weapons is "none" |
setr meridian_streamdeck |
"true" |
Players can use the Stream Deck plugin |
ACE permissions
Section titled “ACE permissions”| Permission | Allows |
|---|---|
meridian.agency.<agency ID> |
The agency’s channels, for agencies listed in meridian_agencies |
meridian.use |
Using the radio at all, when meridian_require_ace is on |
meridian.tablet |
Opening the dispatch tablet, when meridian_tablet_ace is on |
command.radioprogram |
The /radioprogram command. Reprogramming |
Every setting
Section titled “Every setting”Copy this into server.cfg and fill in the two connection lines. Everything else is commented out at its default
(or, for settings that are off by default, an example value), so remove the # from a line to change it.
# Connection: copy both lines from System → Settings → Game server connectionset meridian_secret "…" # always set, never setrset meridian_url "wss://your-community.radio.meridiancomms.net/ws"#set meridian_server_api "true" # live link for the server API, speakers, signal checks and phone lines#set meridian_game_url "" # only if the link's address can't be worked out from meridian_url
# Who gets a radio#set meridian_agencies "lspd,bcso,fire" # agency IDs to check ACE permissions for (none by default)#set meridian_require_ace "false" # "true": only players with the meridian.use ACE can use the radio#set meridian_framework "auto" # or "qbox", "qbcore", "esx", "ox" or "standalone"#set meridian_jobs "police=lspd,ambulance=fire" # which jobs (ox_core groups) give which agency, as job=agency pairs#set meridian_require_onduty "true" # players off duty don't get their job's agency#set meridian_duty_power "true" # radios turn on when the player goes on duty, and off when they go off#set meridian_item "radio" # an item players must carry to use the radio (none by default)#set meridian_item_identity "true" # a radio item keeps its own unit ID, name and channels#set meridian_alias "custom,framework,player" # where a radio's name comes from, first match wins#set meridian_battery_item "radio_battery" # the spare battery item
# Maps#set meridian_postals "auto" # dispatch map postals: "auto", a resource, "resource/file.json" or "off"#set meridian_postals_file "" # for the Meridian Postals resource: your own postal file
# Dispatch tablet and phones#set meridian_tablet "true" # the dispatch tablet in game (/dispatch)#set meridian_tablet_ace "false" # "true": only players with the meridian.tablet ACE can open it#set meridian_tablet_item "tablet" # an item players must carry to open it (none by default)#set meridian_tablet_url "" # only if the web app isn't at the meridian_url address#setr meridian_tablet_animation "true" # the tablet prop and animation while it's open#set meridian_phone "auto" # phone calls: "auto" finds LB Phone, "off" turns them off
# Radio behavior (setr: every player's game reads these)#setr meridian_proximity "true" # players near a talker hear their side of the call#setr meridian_speaker "true" # players near a radio hear its calls#setr meridian_speaker_range "8" # how far a radio on speaker carries, in meters (2 to 20)#setr meridian_ambient "true" # sirens, engines and gunfire heard behind transmissions#setr meridian_ambient_level "100" # background noise level, 0 to 100#setr meridian_siren_audio "game" # "statebag": only vehicles your siren resource marks count as sirens#setr meridian_hud "true" # the small HUD while the radio is hidden#setr meridian_headless "false" # "true": hide the radio for everyone, for a HUD resource that replaces it#setr meridian_animation "true" # the transmit animation: left hand to the shoulder mic#setr meridian_animation_weapons "all" # guns kept aimed while talking: "all", "pistols" or "none"#setr meridian_animation_dict "my@anims" # your own transmit animation instead (none by default)...#setr meridian_animation_name "generic_radio_chatter" # ...and its clip, left arm only unless weapons is "none"#setr meridian_streamdeck "true" # players can use the Stream Deck plugin
# ACE permissions#add_ace group.lspd meridian.agency.lspd allow # an agency's channels, for agencies in meridian_agencies#add_ace group.police meridian.use allow # using the radio at all, with meridian_require_ace on#add_ace group.police meridian.tablet allow # opening the tablet, with meridian_tablet_ace on#add_ace group.admin command.radioprogram allow # the /radioprogram command
#ensure meridian_postals # the optional Meridian Postals resource, before meridianensure meridian#ensure meridian_phoneapp # with LB Phone: the emergency app, after meridianRestart the resource after changing any of these (restart meridian in the server console).
