RedM documentation
Murphy's Doctor
Configuration
Configuration overview
Every setting of murphy_doctor lives in the shared/ folder of the resource, one file per system. This page lists all the files, says which page documents each one, explains how to edit them safely and gives the ten settings to check first.
First ten settings
Most servers only need these before the first start. Everything else ships with working defaults.
| # | Setting | File | Default | What to do |
|---|---|---|---|---|
| 1 | Config.framework |
config.lua |
"auto" |
Leave "auto" if your framework resource is named redem_roleplay, vorp_core or rsg-core and starts before murphy_doctor. Otherwise force "REDEMRP2k23", "vorp" or "rsg". See General settings. |
| 2 | Config.Locale |
config.lua |
"en" |
Language of all texts: en, fr, de, es or pt-BR. See Localization. |
| 3 | Config.Interactions.DoctorDetection |
config.lua |
"database" |
Who counts as a doctor: dispensary roster, framework job, identifier whitelist, or a combination. See Who is a doctor. |
| 4 | Config.DoctorJobs / Config.DoctorWhitelist |
config.lua |
4 jobs / empty | Fill the list that matches your detection mode. With "database", appoint the first chief with doc_addchief instead. |
| 5 | Config.AdminGroups |
config.lua |
{ "admin", "superadmin" } |
Your staff groups (ACE groups on RSG). |
| 6 | Config.Dispensaries |
config_dispensary.lua |
5 locations | Move the boards, grimoire points and archive points to match your map. See Dispensaries. |
| 7 | Config.Nurse.NPCs and Config.Craft.Benches |
config_nurse.lua, config_minigames.lua |
5 nurses, 1 bench | Keep them next to your dispensaries. See Nurse and Minigames. |
| 8 | Item names | several | - | Every item referenced must exist in your inventory: Config.Grimoire.Item, Config.Interactions.Bandage.Item, Config.Interactions.Revive.Item, the medications of Config.Treatment.MedicationItems, surgery items. See Items. |
| 9 | Config.NotifyStyle |
config.lua |
"murphy" |
Pick the notification system. See Notifications. |
| 10 | Config.DiscordLogs |
config_metabolism.lua |
off | Turn on, then paste your webhooks in server/adapters/webhooks.lua. See Discord logs. |
Also make sure Config.Debug is false on a live server: with it on, every player sees the doctor prompts.
Configuration files
All files are in shared/ and can be edited. They load in alphabetical order, config.lua first.
| File | What it controls | Page |
|---|---|---|
config.lua |
Framework, language, notifications, debug, staff groups, doctor detection, player interactions (examine, bandage, revive), health panel key, grimoire | General settings |
framework.lua |
Framework auto-detection (no setting to change) | General settings |
optional_resources.lua |
Live switch when murphy_interact or murphy_radialmenu start or stop (no setting) |
General settings |
config_damage.lua |
Injury detection, bleeding, natural healing | Damage and injuries |
injuries.lua |
Screen effects, walk styles, global effect switches of injuries | Damage and injuries |
injuries_types.lua |
Definition of every injury type | Damage and injuries |
injuries_bodyparts.lua |
Per-zone values (not applied in 1.0) | Damage and injuries |
injury_label.lua |
Display label of injuries (no setting) | Damage and injuries |
config_coma.lua |
Coma duration per cause, death camera, anti early exit | Coma |
config_treatment.lua |
Medications, doses, overdose, side effects, grimoire entries (injuries and diseases), disease effects | Treatment |
grimoire_locale.lua |
Translation of grimoire entries (no setting) | Treatment |
config_surgery.lua |
Operations: operable wounds, procedures, anesthesia, bullet extraction, staging | Surgery |
config_minigames.lua |
3D care minigames, injection game, apothecary bench and recipes (Config.Minigames3D, Config.Craft) |
Minigames |
config_records.lua |
Medical file, autopsy and death certificates (Config.Records, Config.Autopsy) |
Records and autopsy |
config_incidents.lua |
Coma incident records for the law | Records and autopsy |
config_animations.lua |
Animation catalog | Animations |
config_metabolism.lua |
Hunger, thirst and HUD (Config.Metabolism) |
Metabolism |
| - | Threshold notifications (Config.Notifications) and Discord logs (Config.DiscordLogs) |
General settings |
config_temperature.lua |
Body temperature, hypothermia and hyperthermia | Temperature |
config_consumables.lua |
Food, drinks and medicine the player uses, animation presets | Consumables |
config_consumables_examples.lua |
Optional example consumables (off by default) | Consumables |
config_alcohol.lua |
Drunkenness, liver wear, cirrhosis | Alcohol |
config_addiction.lua |
Addictions and withdrawal | Addiction |
config_poison.lua |
Poisons and their effects | Poison |
config_infection.lua |
How diseases are caught, contagion, vaccines | Infection |
config_epidemic.lua |
Epidemic zones | Epidemics |
config_dispensary.lua |
Dispensary board and locations (Config.Dispensary, Config.Dispensaries) |
Dispensaries |
| - | Medical archives (Config.Archives) |
Records and autopsy |
config_duty.lua |
Duty clock and pay | Duty |
config_billing.lua |
Invoices | Billing |
config_helpcall.lua |
Help calls from players and the coma screen | Help calls |
config_transport.lua |
Carry, stretcher, wagon, beds | Transport |
config_nurse.lua |
Nurse NPC and dispensary treasury | Nurse |
locales/*.lua |
All texts, per language | Localization |
Callbacks.lua |
Internal client and server bridge, not a setting | Callbacks |
The client/ folder and server/adapters/ are editable too. They hold code rather than settings, for example the weapon to injury table (client/damage.lua) and what "Get up" does after a coma (client/adapters/). See Developers.
Master switches
| System | Switch | File |
|---|---|---|
| Doctor interactions on players | Config.Interactions.Enabled |
config.lua |
| Injury detection | Config.DamageDetection.Enabled |
config_damage.lua |
| Bleeding | Config.DamageDetection.Bleeding.Enabled |
config_damage.lua |
| Surgery | Config.Surgery.Enabled |
config_surgery.lua |
| 3D minigames (and the bench) | Config.Minigames3D.Enabled |
config_minigames.lua |
| Apothecary bench | Config.Craft.Enabled |
config_minigames.lua |
| Medical file | Config.Records.Enabled |
config_records.lua |
| Autopsy | Config.Autopsy.Enabled |
config_records.lua |
| Incident records | Config.Incidents.Enabled |
config_incidents.lua |
| Metabolism HUD | Config.Metabolism.Enabled |
config_metabolism.lua |
| Hunger and thirst | Config.Metabolism.HungerThirstEnabled |
config_metabolism.lua |
| Temperature | Config.Temperature.System.Enabled |
config_temperature.lua |
| Infection and contagion | Config.Infection.Enabled |
config_infection.lua |
| Epidemics | Config.Epidemics.Enabled |
config_epidemic.lua |
| Poisons | Config.Poison.Enabled |
config_poison.lua |
| Alcohol | Config.Alcohol.Enabled |
config_alcohol.lua |
| Addiction | Config.Addiction.Enabled |
config_addiction.lua |
| Billing | Config.Billing.Enabled |
config_billing.lua |
| Duty | Config.Duty.Enabled |
config_duty.lua |
| Transport | Config.Transport.Enabled |
config_transport.lua |
| Nurse NPC | Config.Nurse.Enabled |
config_nurse.lua |
| Dispensary treasury | Config.Nurse.Treasury.Enabled |
config_nurse.lua |
| Discord logs | Config.DiscordLogs.Enabled |
config_metabolism.lua |
All are on by default except Discord logs.
Editing safely
- Back up
shared/before every update. A new version can add keys; compare your files with the new ones rather than pasting old files over them, or new options will be missing. - Keep Lua syntax intact. Strings in quotes, a comma after every entry of a table, matching braces. One missing comma stops the whole file from loading and the resource throws errors. Check the server console (and F8 for client files) after a restart.
- Change values, not key names. A misspelt key is silently ignored and the default is used.
- Restart the resource after any change:
restart murphy_doctor(orensure murphy_doctor). Settings are read when the resource starts. A live restart is supported: players stay connected and characters already in the world are picked up again. A few things are kept only in memory and reset with a restart (current drunkenness, infection cooldowns). - Things registered once at start also need that restart: usable items, chat commands (
Config.Incidents.Command,Config.Autopsy.Command), the/doc:*debug commands ofConfig.Debug, the identifier whitelist. - Key bindings:
Config.Grimoire.Keybindis only the default suggested by RedM; players who already bound the action keep their own key. - Framework order: your framework and
oxmysqlmust start before murphy_doctor inserver.cfg. If you change that order, restart the server. - Do not rename files in
shared/. The load order is alphabetical and some files expectconfig.luato be loaded first. - Never change the
idof a dispensary in use: it links the roster, archives, treasury and invoices in the database.
Last updated: November 20, 2026