Configuration

Every option in config.lua is documented below.

MS.Layout.title"MORE"
Left half of the panel title, rendered in the light face.
MS.Locale"en"
Active locale key. Must match a table in MS.Locales, populated from locale/*.lua (only en.lua ships by default).
MS.Layout.subtitle"Scripts"
Right half of the title, rendered in the red accent face.
MS.Settings.load_delay3000
Milliseconds the client waits after boot before it starts polling for the framework and player to be ready.
MS.Layout.description"Hier kannst du die Revivestation verwalten."
Subtitle text shown under the branding header; ships in German by default, translate freely.
MS.Layout.version"1"
Header layout version; switch to "2" for the newer header style.
MS.Layout.medicLabel"Mediziner:"
Label shown above the on-duty medic count.
MS.Layout.medicAction"Notify Medic"
Label of the button that calls medics to the station.
MS.Layout.payLabel"Wiederbelebung:"
Label shown above the pay-to-revive section.
MS.Settings.dev_modefalse
Prints verbose debug output to the server console via MS.Debug().
MS.Settings.scan_distance15.0
Radius, in game units, scanned around the player for downed players.
MS.Settings.refresh_rate1000
How often, in milliseconds, an open station panel refreshes its downed-player list.
MS.Settings.notify_cooldown30
Seconds a player must wait between two Notify Medic calls.
MS.Settings.pay_cooldown3
Seconds a player must wait between two revive payments.
MS.Settings.price5000
Amount charged for a revive.
MS.Settings.fivem_namefalse
If true, the player name shown in the station panel comes from FiveM instead of the RP framework's rpName state bag.
MS.Jobs{ ambulance = true }
Job keys allowed to count as medics for a station and to be alerted by the Notify Medic button.
MS.Marker.type / draw_distance / close_distance21 / 15.0 / 1.5
DrawMarker type id, and the distances (in game units) at which the marker starts drawing and at which E opens the station.
MS.Marker.scale / rotation / color / bob_up_and_down / face_camera / rotate0.5,0.5,0.5 / 0,0,0 / 255,0,0,144 / true / false / true
Visual tuning passed straight into DrawMarker: scale, rotation, RGBA colour, bobbing, camera-facing, and spin.
MS.Stations (client)read-only
Local mirror of the station list, rebuilt from the more_revivestation:stations state bag whenever it changes. Stations are no longer hand-edited here — create, move, or delete them with the in-game Creator (see Installation).
MS.BodyPartstable (13 entries)
Body-part id → locale label plus x/y percentage on the silhouette, used to place the wound marker in the station UI.
MS.WoundParts / MS.WoundFallbacktable (11 entries) / "chest"
Maps each death-reason locale key to a body part; WoundFallback is used when a death reason has no entry.
MS.Deathreasonstable (large hash)
Internal lookup from GetPedCauseOfDeath hash values to the locale death-reason keys above; not meant to be hand-edited unless mapping a custom weapon.
MS.Discordenabled=false
Discord webhook logging setup: on/off switch, webhook URL, display name, avatar, embed colour, and per-event toggles (paid, notified). MS.DiscordTitles holds the embed titles for each event.
MS.Settings.revive_duration5000
How long, in milliseconds, the revive progress bar runs in the UI once payment succeeds.
MS.Blipstable
Blip appearance for every station (sprite, colour, scale, display mode, label). Blips are auto-created and removed as stations are added or deleted via the Creator.
MS.Creatorcommand="revivestations"
Station Creator setup: command to open the menu, the set of permission groups allowed to run it, max_medics (upper bound of the minimum-medic slider), and a banner image shown at the top of the menu.

Last updated