RedM documentation
Murphy's Doctor
Support
Troubleshooting
Problems and fixes, organised by symptom. First reflex in every case: run doc_selftest <yourServerId> in the server console and read the [FAIL] and [WARN] lines. For more detail, set Config.Debug = true in shared/config.lua, restart the resource, then read the server console and the client console (F8). Turn debug back off afterwards: its test commands have no permission check.
Contents
- The resource does not start properly
- Install warnings
- Self-test lines
- Two death screens, or the coma does not behave
- Nobody is a doctor, or staff commands do nothing
- Prompts and menus
- Interface and language
- HUD, hunger and thirst
- Items
- Care, surgery and billing
- Injuries
- Minigames, props and furniture
- Notifications
- Other console messages
- Still stuck?
The resource does not start properly
| Message or symptom | Cause | Fix |
|---|---|---|
NO SUPPORTED FRAMEWORK DETECTED (red block in the console) |
murphy_doctor started before the framework, or the framework resource is not named redem_roleplay, vorp_core or rsg-core |
Start the framework before murphy_doctor, or set Config.framework to "REDEMRP2k23", "vorp" or "rsg" |
Unknown Config.framework value '...' |
Typo in Config.framework |
Use "auto" or one of the values above. Meanwhile the resource falls back to auto-detection |
| Database errors at start | oxmysql not started first, or the MySQL user cannot CREATE TABLE / ALTER TABLE |
Start oxmysql before murphy_doctor, fix the grants, or import database.sql yourself (Database) |
No FrameworkRegisterUsableItem primitive |
The framework adapter did not load (framework or inventory not ready) | Start the framework and its inventory before murphy_doctor |
DoctorJobRequireDuty=true but framework '...' has no on-duty flag |
That option only works on RSG | Set Config.Interactions.DoctorJobRequireDuty = false on REDEM:RP and VORP (it is ignored there anyway) |
install check skipped: ... |
The conflict check itself failed | Harmless; run doc_selftest to see the state |
| A blank or missing interface | The UI build is missing | Install the release package without removing ui/build/ |
Install warnings
Printed about 3 seconds after start as [Murphy Doctor] INSTALL WARNING:, and repeated as [WARN] lines by doc_selftest.
| Warning | Effect if ignored | Fix |
|---|---|---|
vorp_core has UseDeathHandler = true |
The VORP death screen and respawn timer run on top of the coma | UseDeathHandler = false in vorp_core/config/config.lua |
vorp_metabolism is running while Config.Metabolism.Enabled = true |
Two hunger and thirst systems drain the player | Stop vorp_metabolism, or set Config.Metabolism.Enabled = false |
vorp_medic is running |
A bandage used from the inventory heals through vorp_medic and the bleeding goes on | stop vorp_medic |
rsg-medic is running |
Two resources handle death and revive | stop rsg-medic |
redemrp_respawn (REDEM:RP) is not covered by the check: stop it too, or two death screens show.
Self-test lines
| Line | Meaning | Fix |
|---|---|---|
[FAIL] framework not resolved (Config.framework) |
No framework found | See the startup table |
[FAIL] adapter functions missing: ... |
The server adapter is incomplete | Framework and inventory must start before murphy_doctor |
[FAIL] oxmysql is not started |
- | Start oxmysql first |
[FAIL] PromptType = "murphy_interact" but murphy_interact is not started |
Config.Interactions.PromptType forces murphy_interact |
Start murphy_interact, or use "auto" or "native" |
[WARN] Billing.Tax enabled but murphy_politics is not started |
Invoices are not taxed | Start murphy_politics, or set Config.Billing.Tax.Enabled = false |
[FAIL] database query failed: ... |
MySQL error | Check the oxmysql connection |
[FAIL] tables missing: ... |
Tables were not created | Check the MySQL grants and restart, or import database.sql |
[FAIL] ui/build/index.html missing |
The UI build is not in the folder | Download the release package and keep ui/build/ |
[FAIL] locale not loaded |
shared/locales/ files are missing or broken |
Restore shared/locales/en.lua, check your own locale file for syntax errors |
[WARN] no dispensary configured (Config.Dispensaries) |
The list is empty | Add at least one entry in shared/config_dispensary.lua |
[FAIL] N dispensary(ies) without coords |
An entry has no valid coords |
Give each entry its coordinates |
[WARN] item list unavailable from the inventory: item names not checked |
The inventory returned no item list (custom inventory). On VORP the items are looked up one by one in vorp_inventory, so this line should not appear | Check the items by hand (Items) |
[WARN] items not in your inventory: ... |
Medication or surgery items are missing | Add them from install/ |
[WARN] N/M consumables are not in your inventory |
Mapped food or drink items do not exist on your server; they are ignored | Nothing, or map your own items in shared/config_consumables.lua |
[FAIL] player N is not connected |
Wrong server id | - |
[FAIL] no character loaded for player N |
The player is still on character selection | Retry once in game |
[WARN] no health cache yet |
The client has not sent its health data yet | Wait a few seconds after the character loads |
[OK] doctor: false, staff: false |
Not an error: how the server sees that player | See the doctors section |
Two death screens, or the coma does not behave
| Symptom | Cause | Fix |
|---|---|---|
| Two death screens, or a framework respawn timer over the coma | Another death script runs | Stop redemrp_respawn (REDEM:RP), set UseDeathHandler = false and stop vorp_medic (VORP), stop rsg-medic (RSG) |
A player revived by another script is back in a coma at the next login; the console prints Early coma exit refused (...) |
Config.Coma.ServerExitCheck = true (default): the server refuses a coma exit before the timer |
The other script must call exports.murphy_doctor:AuthorizeComaExit(serverId) on the server just before its revive (the grant lasts 60 seconds). VORP revives and the RSG admin menu revive are already authorised |
| Same, and the other script cannot be edited | - | Set Config.Coma.ServerExitCheck = false (the server then trusts the client) |
| The coma comes back after a reconnect | Expected: a coma survives a disconnect until its timer ends or a doctor revives | Wait for the timer, or have a doctor revive |
| "You must wait another N seconds" on Get up | The coma timer is not over | Wait, or call a doctor |
| Revive refused: "You need a ... to revive the patient" | The doctor does not carry Config.Interactions.Revive.Item (concentrestimulant) |
Give the item, or set Item = nil for a free revive |
| Everyone must be put back on their feet | - | doc_healall |
Nobody is a doctor, or staff commands do nothing
| Symptom | Cause | Fix |
|---|---|---|
| Nobody is a doctor | Default mode is "database" and the roster is empty |
doc_addchief <serverId> [dispensaryId] from the console |
| Doctor by job not recognised | DoctorDetection is not "job", "both", "any" or a table with "job", or the job is not in Config.DoctorJobs |
Fix the mode or add the job name (case is ignored) |
| RSG medic not recognised while off duty | DoctorJobRequireDuty = true |
Go on duty, or set it to false |
| Whitelisted player not recognised | The entry does not match | Use the exact identifier (license:..., steam:..., discord:..., fivem:...) or the character id |
| A new doctor is not recognised right away | The doctor status is cached for 30 seconds | Wait up to 30 seconds |
doc_addchief: unknown dispensaryId N. Use the dispensary id from Config.Dispensaries (...), not the row id of murphy_doctor_dispensary. (same for doc_adddoctor) |
The id is not in Config.Dispensaries; the message lists the valid ids |
Use the config id, not the row id of murphy_doctor_dispensary |
... is not connected or has no name |
The target has no loaded character | Run it once the player is in game |
| Chief added but the board is empty | The member was filed under another dispensary id | doc_wipedispensary <id>, then add again with the right id |
| Staff commands do nothing in game, or "Permission denied (staff only)" | The player's group is not in Config.AdminGroups, or the ACE of a restricted command is missing |
Add the group, give the command.<name> ACE, or run the command from the console |
| RSG admin not recognised as staff | The resolved group is god and it is not in Config.AdminGroups |
Add "god" to Config.AdminGroups |
| VORP admin not recognised as staff | Neither the account group nor the character group is in Config.AdminGroups |
Add your staff group name |
/doc:settemp and the other temperature admin commands do nothing |
The player is not staff (checked on the server) | Expected for non-staff |
Prompts and menus
| Symptom | Cause | Fix |
|---|---|---|
| No examine prompt on players | PromptVisibility = "doctors_only" (default) and the player is not a doctor |
Check with doc_selftest <id> |
| No doctor prompts at all, but murphy_radialmenu runs | With murphy_radialmenu, the doctor actions live on the wheel only | Use the wheel |
F8 line ERROR: murphy_interact is forced in the config but not started, the dispensaries have no prompt (or the archives have no prompt), or ERROR: murphy_interact requested for duty / for treasury but unavailable |
A PromptType forces "murphy_interact" while it is not started |
Start murphy_interact, or set PromptType = "auto" |
| The grimoire key K does nothing | The key binding was never confirmed in the game's settings | Assign it in the key binding settings, or use /grimoire |
| "Only doctors may consult this grimoire" | The player is not a doctor | Expected |
/calls: "Only doctors on duty see the calls." |
Config.Duty.GateServices = true and the doctor is off duty |
Go on duty at the archive point |
/stretcher: "You must be on duty." or "Only a doctor can do that." |
Same gate, or not a doctor | Go on duty, or be a doctor |
/incidents or /certificates: no access |
The player is not a doctor, staff or in the law jobs | Add the job to Config.Incidents.LawJobs (or Config.Autopsy.LawJobs) |
| murphy_interact or murphy_radialmenu started or stopped while the server runs | - | No restart needed: the prompts switch on the spot |
Interface and language
| Symptom | Cause | Fix |
|---|---|---|
| A window is stuck, mouse locked | The interface did not close properly | /doc:close closes every murphy_doctor window and releases the mouse. Always available |
| Interface in the wrong language | Priority: the murphy_platform server language, then Config.Locale |
Set Config.Locale. With murphy_platform, change the language there |
| Interface stays in English | No file named after your code in ui/build/locales/ |
Use one of the 22 shipped codes, or add your own file (Localization) |
| Notifications and prompts in English while the interface is translated | Lua texts ship in en, fr, es, de, pt-BR only; other codes fall back to English |
Copy shared/locales/en.lua (and its _mg3d, _records, _transport companions) to your code and translate |
| A config change is not applied | Config files are read at start | restart murphy_doctor |
HUD, hunger and thirst
| Symptom | Cause | Fix |
|---|---|---|
| HUD not visible | Config.Metabolism.Enabled = false, the player ran /hidehud, or the character is not loaded yet |
/showhud. With the HUD disabled in config it answers "The HUD is disabled" |
| Hunger and thirst missing from the HUD | Config.Metabolism.HungerThirstEnabled = false |
Set it to true, or keep your framework's system |
| HUD indicators in the wrong place | Saved positions | /edithud and drag them |
| Hunger and thirst drain twice as fast | Another needs system runs (vorp_metabolism, your HUD script) | Keep only one (FAQ) |
| Thirst stuck at zero | Cholera (thirst locked until cured) | See a doctor |
| Always hungry and thirsty | Cirrhosis (hunger and thirst 1.5 times faster, incurable) | Staff can remove it with /doc:disease cure cirrhosis <id> |
Items
| Symptom | Cause | Fix |
|---|---|---|
| Using an item does nothing | The item is not registered. At start the console prints Usable items registered with counts |
Check the item name in the config and in your inventory |
| Same, VORP | usable is not 1 in the items table |
Fix the row |
| Same, RSG | useable is not true in rsg-core/shared/items.lua |
Fix the entry |
| Same, REDEM:RP | canBeUsed is not true in redemrp_inventory/config.lua |
Fix the entry |
| Food or drink does nothing | Not in Config.Consumables.Items, or only in the examples while LoadCraftExamples = false |
Map the item, or enable the examples |
| A second item is refused while eating | One consumption at a time | Wait for the first one to end; the item is not lost |
| Poison vials do nothing | Config.Poison.Enabled = false |
Enable the module |
| The poison menu is empty | The player carries no poisonable food or drink | Carry an item of category food, drink, alcohol or medicine, or one listed in PoisonableItems |
| "You are missing medications to sign this" | The doctor lacks one of the prescribed items | Carry every medication (one per line); the form clears the lines |
Care, surgery and billing
| Symptom | Cause | Fix |
|---|---|---|
| "The patient must pay their invoices first" when signing, operating or bandaging | Config.Billing.PayBeforeCare = true and the patient owes this dispensary an invoice |
The patient pays (the window opens for them, or /invoices), then the care goes on. Or set PayBeforeCare = false |
| "The invoice is paid. Open the treatment again and sign to give the care." | The doctor left the patient's form before the payment arrived | Open the form again and sign |
| "This patient already has too many unpaid invoices." | MaxUnpaidPerPatient (5) reached |
The patient pays, or the invoices expire after ExpireDays (14) |
| "The amount must be between ... and ..." | Outside MinAmount / MaxAmount |
Bill between $0.50 and $250 by default |
| "The patient is too far away." | Over 5 m for an invoice, 3 m for surgery, 15 m for a treatment | Get closer |
| Invoices are not taxed | Tax.Enabled = false (default), murphy_politics not started, or the dispensary is not mapped in Tax.Townhalls |
Complete the tax setup |
| "You must be in a dispensary to operate." | RequireDispensary = true and the doctor is over 25 m from a dispensary |
Operate at a dispensary, or raise DispensaryRadius |
| "This injury does not need surgery." / "No serious injury to operate on." | Only moderate or severe bullet wounds, fractures and cuts are operable | Treat the rest on the treatment form |
| "You have no ether to put the patient to sleep." | Anesthesia chosen without ether |
Carry ether, or operate awake |
| "You are missing the surgical kit." | Config.Surgery.Item is set |
Carry that item |
| "The operation took too long." | Time limit of the game reached | Start again |
| The medication did nothing | Weak dose, or the line went to another injury the medication treats better | See Medical reference |
| The patient fell ill after a treatment | Overdose or wrong medication | See Medical reference |
| The nurse refuses: "Your wounds are beyond my skill..." | She does not treat severe injuries | See a doctor |
| The nurse says "There is a doctor not far from here!" | A doctor (on duty with GateServices) is within 150 m of the dispensary |
Find the doctor, or lower DoctorDetectionRadius |
Injuries
| Symptom | Cause | Fix |
|---|---|---|
| Damage from another script is ignored | The script uses the fall damage type while the player is on the ground. With FallAirborneGraceMs = 2000, fall damage only counts when the player was off the ground in the last 2 seconds |
Expected (it stops hunger damage from creating fractures). Set it to 0 to turn the filter off |
| No injury right after spawning | Damage is ignored for SpawnGraceMs (10 s) after the character loads |
Expected |
| Small hits never create injuries | Below MinDamageThreshold (10), or the 25 % InjuryProbability roll |
Lower the threshold or raise the probability |
| Too many injuries | - | Lower InjuryProbability or raise MinDamageThreshold; disable types in DisabledInjuryTypes |
| A player logs in with an old injury | Injuries persist until healed | They age out: severe to moderate after 6 h, closed 12 h later. Or doc_healall |
| The bandage does not stop the bleeding | Expected: only treating the wound stops it | Suture needle, morphine or laudanum on the wound |
Minigames, props and furniture
| Message or symptom | Cause | Fix |
|---|---|---|
minigame prop missing: ... (stream/ not loaded?) in F8 |
The streamed props of stream/ did not load |
Reinstall the package without removing stream/, then restart the server (not only the resource) |
minigame ... error: ... in F8 |
A game crashed | Send the line to support; meanwhile Config.Surgery.View = "2d" or Config.Minigames3D.Disabled falls back to the on-screen games |
furniture ...: unknown model ... |
A props entry of Config.Dispensaries uses a model that does not exist |
Fix or remove the entry |
| The patient floats during an operation | No bed or table under them | Keep Config.Minigames3D.OperatingTable, or operate on a bed |
| The bench recipe is missing | Its game is in Config.Minigames3D.Disabled |
Remove it from the list |
Notifications
| Message or symptom | Cause | Fix |
|---|---|---|
Config.CustomNotify failed: ... in F8 |
Your custom function errors; the game's notification is shown instead | Fix the function in shared/config.lua |
No notification with "framework" |
The framework's notification resource is not running | Use "murphy" or "native" (Notifications) |
Other console messages
| Message | Meaning |
|---|---|
Removed N row(s) of deleted characters. |
Start-up cleanup of characters deleted from the framework (Config.CleanDeletedCharacters). Normal |
cleanup of deleted characters failed: ... |
That cleanup hit a database error. Harmless for play; check MySQL |
repaired N health row(s) whose max_health was below health |
Old rows fixed at start. Normal |
Periodic health save system started (interval: 120s) |
Normal |
doc_reloadhealth: player N has no loaded character |
Wrong id, or the player is on character selection |
Discord webhooks are set in Config.DiscordLogs.Webhooks (shared/config_metabolism.lua). Players can read that file: move them to server/adapters/webhooks.lua and delete them from the shared config. (red, at start) |
Webhook URLs are still in the shared config, as in 1.0.0. The logs still work, but every player downloads that file. Move them to server/adapters/webhooks.lua (Integrations) |
Admin archives opened for player N |
doc_archives <serverId> was run from the console. Normal |
ERROR getDispensaryData: ... |
The dispensary board could not read the database; the board opens with minimal data. Check MySQL |
| A line about murphy_interact or murphy_radialmenu failing to start or stop | The live switch of prompts hit an error; restart murphy_doctor |
Still stuck?
Send support the full doc_selftest <serverId> output, the console lines printed with Config.Debug = true, your framework and its version, and the resource version from fxmanifest.lua.
Last updated: November 20, 2026