Configuration
Most settings can be changed live in /emsadmin → Settings, which overrides the file until you reset it there. Only edit files for things the panel does not cover.
/shared contains configuration only. Every third-party integration lives in /bridge. Both are outside the escrow, so you can read and edit them freely.
🗂️ The config map
| File | Contains |
|---|---|
shared/config/general.lua | Debug, integrations, compatibility, duty and police jobs, admin ace |
shared/config/interface.lua | UI colours and sounds, radial, keybinds, commands, blips |
shared/config/damage.lua | Body zones and bones, damage → injury rules, weapons, ignored resources |
shared/config/trauma.lua | Life threats, pneumothorax, cardiac tamponade, airway, pelvic bleeding: timings, effects, causes |
shared/config/death.lua | Last stand and death, respawn, AI medic, CPR and revive |
shared/config/vitals.lua | Vitals simulation, injury effects, alcohol, temperature and environment |
shared/config/impairments.lua | How injuries affect shooting, driving, movement and carrying |
shared/config/treatments.lua | Treatments, healing times, treatment animations, surgery & procedure minigames, failure costs, IO access |
shared/config/medications.lua | Medications and fluids |
shared/config/diseases.lua | Symptoms, diseases, addictions |
shared/config/tests.lua | Diagnostic tools and hands-on checks, hospital tests, imaging workstation films and the film item, blood bank |
shared/config/hospital.lua | Check-in and triage tickets, discharge, billing, insurance, lockers, uniforms, TV boards, imaging screens |
shared/config/physio.lua | Physiotherapy, price, cooldown, requirements, minigame difficulty, exercises |
shared/config/pharmacy.lua | Pharmacy stock and prescriptions |
shared/config/equipment.lua | Stretcher, wheelchair, crutch, mobility orders, med bag, body bag, monitor, treatment props |
shared/config/vehicles.lua | Ambulance models, garage presets and owned medic vehicles |
shared/config/dispatch.lua | Distress and EMS calls, code blue, pager, unit blips |
shared/config/progression.lua | Reputation and XP progression |
shared/config/shops.lua | Medic supply shops |
shared/config/reports.lua | Medical report templates, categories, paper copy item |
shared/config/ai_patients.lua | AI patient callouts, locations, complaints, rewards, the crash scene |
shared/config/academy.lua | EMS Academy, training scenarios, protocols, grading |
shared/config/tutorial.lua | First-run walkthrough tracks |
shared/config/permadeath.lua | Final character kills: approvals, causes, poses, decomposition, forensics |
shared/server/config.lua | Discord / ox_lib logs, anti-abuse, database, version check, server only |
shared/config/README.md inside the resource lists every Config. table and the file it lives in.
📚 Guides
- General & Compatibility: Integrations, legacy support, admin access, security.
- Adding Content: How to add your own disease, treatment, medication or damage type.
- Logs & Security: Discord webhooks, anti-abuse, retention, version checking.
🔊 Sounds
Every interface sound is a file in web/sounds. Replace them with your own, keeping the names:
pager.wav · alarm.wav · heartbeat.wav · beep.wav · charge.wav · shock.wav · flatline.wav · success.wav · fail.wav
If a file fails to load, a generated tone plays instead, so a missing sound never breaks anything.
The breath, heart and pulse sounds of the hands-on checks are generated. Add breath_<kind>, heart_<kind> or pulse to Config.UI.sounds to use your own recordings.
Volume: Config.UI.soundVolume (0.5 by default).
Coughs and sneezes
cough.wav and sneeze.wav play when a sick player coughs or sneezes, also inside a vehicle. Players within Config.UI.symptomSoundRange metres (12 by default) hear it too, quieter with distance.
The sound follows the character's voice: female characters use the same recording at a higher pitch. Change the pitch per gender in shared/config/interface.lua, or add your own recordings per voice:
sounds = {
-- ...
cough = 'sounds/cough.wav', sneeze = 'sounds/sneeze.wav',
cough_female = 'sounds/cough_female.wav', sneeze_female = 'sounds/sneeze_female.wav', -- optional
},
voicePitch = { male = 1.0, female = 1.2 }, -- 0.5 to 2.0, used when there is no own recordingPut your own files in web/sounds. A recording set for a voice plays at its normal pitch. Every cough or sneeze also varies its pitch very slightly so repeats do not sound identical.