RedM documentation

Murphy's Doctor

Guides

Commands and keybinds


Every command registered by murphy_doctor 1.0.1, grouped by who uses it, followed by the keys, prompts and radial menu entries. <arg> is required, [arg] is optional, serverId is a player's server id.

Commands with a configurable name show their default; set the name to nil or "" in the config to remove the command.

Contents

Everyone

Command Arguments Condition Effect
/invoices none Config.Billing.Enabled; name from Config.Billing.Command Opens your unpaid medical invoices to pay them.
/edithud none name from Config.Metabolism.Commands.EditHUD Edit mode of the HUD: drag the indicators, then save. The layout is kept per character. Answers "The HUD is disabled" when Config.Metabolism.Enabled = false.
/showhud none name from Config.Metabolism.Commands.ShowHUD Shows the HUD.
/hidehud none name from Config.Metabolism.Commands.HideHUD Hides the HUD.
/doc:close none always available Closes every murphy_doctor window, ends an examination in progress and releases the mouse. Use it if a screen gets stuck.
/doc:tempinfo none always available Prints a temperature diagnostic in the F8 console: ambient, body, clothing, weather.
/doc:tempmonitor none always available Toggles a temperature line every few seconds in the F8 console.
/doc:tempdebug none always available Toggles the temperature debug prints in the F8 console.
/doc:temphelp none always available Lists the temperature commands in the F8 console.

The four temperature commands above only read and print; they change nothing.

Doctors

"Doctor" means whoever Config.Interactions.DoctorDetection recognises (see Features).

Command Arguments Condition Effect
/grimoire none doctors (others get "Only doctors may consult this grimoire") Opens the medical grimoire. Works even if the K key was never assigned.
/doc:open_grimoire none doctors The command behind the grimoire key (Config.Grimoire.Keybind, K). Same effect as /grimoire.
/calls none doctors; on duty when Config.Duty.GateServices = true; Config.HelpCall.Board.Enabled; name from Config.HelpCall.Board.Command Opens the call board: the help calls in progress. Take one (route to the search area), give it up or close it.
/stretcher none doctors; on duty when Config.Duty.GateServices = true; name from Config.Transport.Stretcher.Command Unfolds a field stretcher in front of you without the item.

Doctors, staff and law jobs

Readable by doctors, staff, the server console and the jobs in Config.Incidents.LawJobs (for certificates, Config.Autopsy.LawJobs when set). Others get a "not allowed" notice. The result is printed in the chat (or in the server console).

Command Arguments Condition Effect
/incidents [name / serverId] Config.Incidents.Enabled; name from Config.Incidents.Command Lists the latest coma records: date, victim, cause, weapon, attacker, place. A text filters by victim or attacker name; a connected server id filters by that victim.
/certificates [name / serverId] Config.Autopsy.Enabled; name from Config.Autopsy.Command Lists the latest death certificates: date, deceased, cause, weapon, place, doctor. A text filters by name; a connected server id filters by that player.

Dispensary managers

Dispensary management has no command: chiefs and members recruit, edit ranks, remove members, write notes, withdraw from the treasury and collect their pay at the dispensary board and the archive point (see the doctor guide). Seating the first chief is a staff command: doc_addchief.

Staff

"Staff" means the server console, or a player whose group is listed in Config.AdminGroups (default admin, superadmin):

  • REDEM:RP: the player's group.
  • VORP: the account group (users.group), or the character group.
  • RSG-Core: an RSG permission whose name is listed in Config.AdminGroups (add "god" if your staff only hold that one), or the command ACE that a stock server.cfg grants to admins.

Commands marked ACE are registered as restricted: to type them in game, the player also needs the command.<name> ACE (or the global command ACE). From the console they always work. A player who is not staff gets a "denied" notice or nothing at all.

Health and coma

Command Arguments ACE Effect
doc_healall none no Revives everyone in a coma and fully heals every connected player: health, hunger, thirst, temperature, injuries, bleeding, poison. Diseases and immunities are kept.
doc_reloadhealth <serverId> yes Drops the cached health of a player and reloads it from the database. Use it after editing murphy_doctor_health by hand.
doc_selftest [serverId] no Installation report: framework, adapter, dependencies, tables, UI build, locale, dispensaries, items and, with a server id, that player's state. In game it defaults to yourself and also prints to your chat.

Diseases and addictions

Command Arguments ACE Effect
/doc:disease list none no Lists the disease ids of the grimoire.
/doc:disease apply <id> [serverId] no Gives a disease (yourself without an id). The target only learns that they feel unwell, and gets 2 to 4 of its symptoms.
/doc:disease cure <id> [serverId] no Removes one disease.
/doc:disease clear [serverId] no Removes every disease.
/doc:disease show [serverId] no Shows the target's active diseases and the symptoms they feel.
/doc:infect:test <id> [serverId] no Infects through the natural path: refused when the target is immune or already sick, or when the infection module is off.
/doc:infect:immunize <id> [serverId] [days] no Grants an immunity (30 days by default).
/doc:infect:status [serverId] no Prints the target's diseases and immunities.
/infect:test, /infect:immunize, /infect:status same no Older aliases of the three commands above.
doc_epidemic start <outbreak> <zone> [hours] no Starts an outbreak. Outbreaks and zones are the keys of Config.Epidemics.Outbreaks and Zones (for example doc_epidemic start cholera saintdenis 12). Only when Config.Epidemics.Enabled.
doc_epidemic stop <id / all> no Stops one outbreak or all of them.
doc_epidemic list none no Prints the active outbreaks in the server console.
doc_epidemic tick [force] no Runs one exposure pass now; force infects everyone in the zone who can be.
doc_addiction <serverId> <substance> <level> [minutesSinceLastUse] no Sets a dependence level (0 to 100). Substances: alcohol, tobacco, opiates. Only when Config.Addiction.Enabled.

Used from the console, the disease commands need a server id. Results are printed in the server console and, in game, shown as a notification.

Temperature

Command Arguments ACE Effect
/doc:settemp <temperature> no Sets your own body temperature (for example 32 or 39.5).
/doc:tempsim <scenario> no Applies a scenario and freezes the temperature: cold_mild, cold_moderate, cold_severe, cold_extreme, hot_mild, hot_moderate, hot_severe, hot_extreme, normal.
/doc:tempfreeze none no Freezes or releases the automatic temperature updates.
/doc:tempreset none no Back to 37 °C, effects cleared, updates released.

These four are checked on the server (sv_admin_temp_gate.lua): for a player who is not staff they do nothing. They only act on yourself.

Dispensaries and archives

Command Arguments ACE Effect
doc_addchief <serverId> [dispensaryId] yes Makes a connected player chief doctor of a dispensary (1 by default), or promotes an existing member. This is how the first chief is seated.
doc_adddoctor <serverId> [dispensaryId] yes Adds a connected player to a dispensary roster as a doctor.
doc_wipedispensary <dispensaryId> yes Removes every member of a dispensary, chiefs included.
doc_archives [serverId] yes Opens the archives of every dispensary. In game: for yourself. From the console: on the given player's screen.
doc_wipeseedarchives none yes Deletes the fake reports created by doc_seedarchives.

dispensaryId is the id of the entry in Config.Dispensaries, not the primary key of the database table.

With murphy_craft

Command Arguments ACE Effect
/doc:respe [serverId] no Resets the target's doctor specialisation in murphy_craft (the tree named in Config.Interactions.DoctorSpeCraftId, docteur by default). Refused when murphy_craft is not started.

Server console

Every staff command above also runs from the server console (without the /). The ones meant for it: doc_healall, doc_selftest, doc_reloadhealth, doc_epidemic, doc_addiction, doc_addchief, doc_adddoctor, doc_wipedispensary, doc_archives <serverId>, incidents and certificates.

Debug commands

These only exist with Config.Debug = true in shared/config.lua. Most of them have no permission check: never leave debug on a live server. They are test tools; their output is printed in the F8 console or the server console.

Server side

Command Arguments Permission Effect
doctoritems none none (player only) Gives the four poison vials and some test food.
testpoison [poisonItem] none (player only) Poisons you (poison_mortel by default).
clearpoison none none (player only) Clears the poison effects.
testhallucination [phantom / spirit / wolves / snakes / fire / all] none (player only) Plays a hallucination.
doc_giveitem <serverId> <item> [count] [metaDescription] staff, ACE Gives an item; with a 4th argument, with metadata.
doc_itemcount <serverId> <item> staff, ACE Prints how many of an item a player holds.
doc_useitem <serverId> <item> staff, ACE Uses a consumable for a player.
doc_frameworkdead <serverId> staff, ACE Prints the framework's "dead" flag of a player.
doc:liver [wear] [serverId] ACE Prints, or sets, the liver wear.
doc_seedarchives [count] [dispensaryId] staff, ACE Creates fake reports in the archives (removed with doc_wipeseedarchives).
doc_qa_sanitize none console only Prints how the server cleans a forged health payload.
doc_stretcher <serverId> ACE Unfolds a stretcher in front of a player.

Injuries, bleeding and effects

Command Arguments Effect
/doc:testinjury [bodyPart] [type] [severity] Adds an injury to yourself, for example left-leg fractured severe.
/doc:listinjuries none Prints your injuries.
/doc:clearinjuries none Removes all your injuries.
/doc:bleeding [bodyPart] [severity] Starts the visual bleeding on a body part.
/doc:stopbleeding [bodyPart] Stops it (all body parts without an argument).
/doc:blooddecal [bodyPart] [severity] Applies blood decals.
/doc:bleedingall [severity] Bleeding on every body part.
/doc:clearblood none Cleans all blood.
/doc:testeffect [effectName] Plays a screen effect.
/doc:cleareffects none Clears the effects.
/doc:testclipset [clipsetName] Applies a walk style.
/doc:resetwalk none Resets the walk style.
/doc:testragdoll none Makes you fall.
/doc:fxclear [all] Stops every screen effect the resource can start.
/doc:simhit <WEAPON_NAME> [damage] [melee 0/1] [headshot 0/1] Runs a hit through the real injury pipeline, without an attacker.
/doc:spawnattacker [WEAPON_NAME] [model] [distance] [passive] Spawns an armed NPC in front of you (hostile unless passive).
/doc:clearattackers none Removes the spawned NPCs.
/doc:selfdamage [amount] Engine damage with no attacker (must not create an injury).
/doc:qa:drop [meters] Lifts you up and lets you fall.
/doc:traceguard none Toggles a trace of every scripted health change.

Coma, revive and help calls

Command Arguments Effect
/doc:entercoma [cause] Puts you in a coma; auto uses the real cause detection.
/doc:exitcoma none Gets you out of the coma.
/doc:comastate none Prints the coma state and remaining time.
/doc:coma [seconds] Shows the coma screen only (no state change).
/doc:revive:self none Sends the doctor revive on yourself (refused when not in a coma).
/doc:callhelp none Sends a help call when the conditions allow it.
/doc:forcehelp none Sends a help call, ignoring the conditions.
/doc:fakehelpcall [radius] Simulates receiving a help call (doctor side).
/doc:removeblip none Removes the search area blip.
/doc:helpstate none Prints the help call configuration.

Care, surgery and minigames

Command Arguments Effect
/doc:examine none Examines the nearest player.
/doc:myhealth none Opens your own health screen (same as F3).
/doc:debughealth none Opens your health screen and prints the data behind it.
/doc:treatment:self none Opens the treatment form on yourself.
/doc:treatment:signtest [item] [lines] Signs a treatment on yourself through the real server path.
/doc:surgery:self none Opens the surgery window on yourself.
/doc:surgery:auto <bodyPart> [hits] Runs an operation without the interface.
/doc:mg <game> [auto] [fail] [m/f] [scXX] [bodyPart] Plays a world minigame: bullet, suture, fracture, inject on an NPC patient laid on a table; mortar, scale, still, pills, sterile on a bench. auto plays it alone, fail with mistakes.
/doc:mg_all [fail] The nine games one after the other, in auto.
/doc:nurse:heal <npcId> Asks a nurse for care without the prompt.
/doc:poison:test [poisonItem] Poisons you (poison_somnifere by default).
/doc:vitals none Prints health, cores, coma state, HUD state and alcohol level.

Metabolism, alcohol and temperature

Command Arguments Effect
/doc:setneeds [hunger] [thirst] Sets your hunger and thirst.
/doc:getneeds none Prints them.
/doc:resetneeds none Resets them.
/doc:starving none Starving and dehydrated at once.
/doc:metabolismstate none Prints the metabolism configuration and values.
/doc:testconsume <item> Consumes an item without the server check.
/doc:setalcohol <0-100> Sets your alcohol level.
/doc:alcoholinfo none Prints your alcohol state.

Dispensary, duty, treasury and transport

Command Arguments Effect
/doc:dispensary:open [dispensaryId] Opens a real dispensary board.
/doc:dispensary:state none Prints the dispensary prompt state.
/doc:archives:open [dispensaryId] Opens the archives of a dispensary.
/doc:duty:toggle [dispensaryId] Goes on or off duty without the prompt.
/doc:duty:pay [dispensaryId] Collects your pay without the prompt.
/doc:duty:status none Prints your duty state.
/doc:treasury:balance [dispensaryId] Shows a treasury balance.
/doc:treasury:withdraw <dispensaryId> <amount> Withdraws from a treasury.
/doc:stretcher:pair none An NPC carries you on a stretcher, to check the two-bearer carry.
/doc:stretcher:lift none Lifts the nearest free stretcher.

Interface previews and animations

Command Arguments Effect
/doc:auscultation, /doc:health, /doc:poison, /doc:treatment, /doc:archives, /doc:grimoire, /doc:dispensary none Open a window with fake data (interface preview only).
/doc:metabolism, /doc:metabolism:hide, /doc:metabolism:edit none Show, hide or edit the HUD with test data.
/doc:locale [code] Switches the interface language.
/doc:current none Prints the window currently open.
/doc:help none Lists the debug commands in the F8 console.
/doc:testanim <key> Plays a doctor animation from Config.Animations.
/doc:testseq <key1> <key2> ... [loop] Plays a sequence of them.
/doc:stopanim none Stops the animation.
/doc:listanims none Lists the animation keys.
/doc:rawanim <dict> <clip> [flag] Plays any game animation.

Keybinds

Key (default) Who Effect Setting
F3 everyone Opens your health screen. Read directly from the keyboard: no binding needed. Config.HealthKeybind (Windows virtual-key code, nil disables it)
K doctors Opens the grimoire. Registered as a game key binding, which players can change in the key binding settings. If it does nothing, assign it there or use /grimoire. Config.Grimoire.Keybind
none players in a coma or under 25 % health Sends a help call. Off by default. Config.HelpCall.Keybind
none everyone Toggles the HUD edit mode. Off by default. Config.Metabolism.EditKeybind

Prompts

On-screen prompts, shown only in context. Keys are RedM control hashes, set in the config.

Prompt Key (default) Who Setting
Examine patient E doctors (or everyone with PromptVisibility = "everyone") Config.Interactions.NativeKeys.Auscultate
Treatment R doctors NativeKeys.Treatment
Revive patient F doctors, patient down NativeKeys.Revive
Operate G doctors, patient conscious NativeKeys.Surgery (add it)
Apply a bandage J doctors, patient conscious NativeKeys.Bandage
Autopsy of a player in a coma U doctors Config.Autopsy.PlayerKey
Transport (doctor group) H doctors NativeKeys.Transport (add it)
Autopsy of a dead NPC (hold) E doctors Config.Autopsy.Key
Carry, lay down, take the stretcher, lie down E doctors (everyone with DoctorsOnly = false) Config.Transport.Keys.Main
Put down, fold the stretcher, discharge G same Config.Transport.Keys.Secondary
Accept / refuse being carried E / G the patient Config.Transport.Keys.Accept / Refuse
Accept / decline a help call (sequential mode) E / Q doctors fixed
Dispensary board, grimoire point, archives E everyone (board), doctors (grimoire, archives) Config.Dispensary.PromptKey
Go on / off duty R dispensary members fixed
Collect my pay G dispensary members fixed
Check / withdraw from the till H dispensary members (withdraw: chief) Config.Nurse.Treasury.PromptKey
Nurse care E everyone Config.Nurse.PromptKey (falls back to Config.Interactions.PromptKey)
Apothecary bench E doctors Config.Craft.PromptKey

With murphy_interact running (PromptType = "auto" or "murphy_interact"), the doctor actions, board, archives, duty and treasury options appear in murphy_interact menus instead of native prompts. The transport prompts are always native. Smoking items show their own prompts (smoke, change stance, stop) while in use.

Radial menu

With murphy_radialmenu 1.3.0 or newer running, these entries are on the wheel, and the matching murphy_interact or native prompts are not registered:

Entry Who Effect
Auscultate doctors Examines the picked patient.
Treatment doctors Opens the treatment form on the picked patient.
Revive doctors Revives the picked patient (must be down).
Bandage doctors Bandages the picked patient (must be conscious).
Surgery doctors Opens the surgery window (patient conscious).
Autopsy doctors Autopsy of the picked player in a coma.
Stretcher doctors Same as /stretcher.
Call board doctors Same as /calls.
Grimoire doctors Same as /grimoire.
Call a doctor anyone in a coma or under 25 % health Sends a help call (with its cooldown).

The server re-checks every action: doctor status, distance and items.


Last updated: November 20, 2026