JJM Modifications

Configuration

Complete reference for every option in config.lua.

All configuration lives in config.lua, which is the only file you need to edit for day-to-day customisation.

Language#

Config.Language = "en"

Set the language code for all in-game messages. The resource ships with en (English) and es (Spanish). Add a matching file in the lang/ folder to support additional languages.

Framework#

Config.Framework = "standalone"

Choose which framework the resource integrates with. Valid values are "standalone", "qbcore", and "qbox". This controls which player-loaded event is used to synchronise blips when a player joins.

Notification system#

Config.Notification = {    system = "auto",}
ValueBehaviour
"auto"Tries JM-Notify, then okokNotify, then mythic_notify; falls back to chat
"jm"Forces JM-Notify only, falls back to chat
"okok"Forces okokNotify only, falls back to chat
"mythic"Forces mythic_notify only, falls back to chat
"chat"Always uses chat messages
"none"Disables all notifications from this resource

Master toggle#

Config.EnableBlips = true

Set to false to disable all blips globally without removing them from the config.

Defining blips#

Each entry in Config.Blips creates one blip on the map.

Config.Blips = {    {        title    = "Police Station",        enabled  = true,        colour   = 3,        id       = 60,        scale    = 0.9,        x        = 425.1, y = -979.5, z = 30.7,        category = "Law Enforcement"    },}
PropertyTypeDescription
titlestringLabel shown when the blip is hovered on the map
enabledbooleanShow (true) or hide (false) this individual blip
colournumberBlip colour ID (0–85)
idnumberBlip sprite ID
scalenumberBlip size — recommended range 0.6–1.2
x, y, znumberWorld coordinates
categorystringOptional grouping label

Common colour IDs#

IDColour
0White
1Red
2Green
3Blue
4Yellow
5Light Blue
47Orange

Common sprite IDs#

IDIcon
60Police badge
61Hospital cross
72Wrench / mechanic
93Cocktail
94Sports / recreation
279Person
361Dollar sign / bank

Blocked blip IDs#

Config.BlockedBlipIDs is a list of GTA V default blip sprite IDs that the resource will automatically remove from the map. Add any sprite ID here to suppress a default GTA blip.

Config.BlockedBlipIDs = {    71,  -- Ammu-Nation    72,  -- Car Wash    -- add more as needed}

Per-player blip permissions#

Config.PlayerBlipPermissions lets you grant or deny specific blips for individual players identified by their license identifier.

Config.PlayerBlipPermissions = {    ["license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"] = {        ["Police Station"] = true,        ["Hospital"]       = false,    },}

Leave this table empty ({}) to apply no per-player overrides.

Tip

Restart the resource with restart JM-Blips after saving config.lua to apply any changes immediately.