JJM Modifications

Configuration

All options available in config.lua and how to use them.

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

Opening the Menu#

OptionDefaultDescription
Config.MenuKey166 (F5)Key code used to open the menu
Config.UseKeytrueAllow the keybind to open the menu
Config.UseCommandtrueAllow the command to open the menu

Commands#

You can rename any built-in command:

Config.Commands = {    OpenMenu = "adminmenu",    Noclip   = "noclip",    God      = "god",    Fix      = "fix",    Revive   = "revive"}

Notifications#

OptionDefaultDescription
Config.Notifications.Position"top-right"Where notifications appear. Accepts top-right, top-left, bottom-right, bottom-left
Config.Notifications.Duration5000How long notifications stay on screen (milliseconds)
Config.Notifications.Provider"auto"Notification backend. See below.

Notification Provider options:

ValueBehaviour
"auto"Tries installed notify resources in priority order, falls back to the built-in NUI notifier
"jm-notifyv2"Forces use of the external JM-NotifyV2 resource (if installed)
"jm-notify"Forces use of the external jm-notify resource (if installed)
"default"Always uses the built-in NUI notifier
Tip

If you have JM-NotifyV2 installed, set Config.Notifications.Provider to "jm-notifyv2" for the best experience. Leave it on "auto" and it will be detected automatically.

Inventory Integration#

Config.InventoryIntegration = {    Enabled         = true,    PreferredSystem = "auto"  -- "auto", "ox", "qbox", or "qb"}

When set to "auto" the resource tries ox_inventory, then qbx_inventory, then qb-inventory and uses whichever is running. Set a specific value to prefer one system.

Vehicle Quick-Spawn List#

Add or remove entries to control which vehicles appear in the Vehicles tab:

Config.Vehicles = {    {name = "Adder",      model = "adder"},    {name = "Police Car", model = "police"},    -- add more entries here}

Weather Types#

The list of weather options shown in the Server tab:

Config.WeatherTypes = {    "CLEAR", "EXTRASUNNY", "CLOUDS", "OVERCAST",    "RAIN", "CLEARING", "THUNDER", "SMOG",    "FOGGY", "XMAS", "SNOWLIGHT", "BLIZZARD"}

Set Config.UseBigDaddyWeather = true if your server uses the BigDaddy-Weather script.

Warning

If you run qb-weathersync, cd_easytime, vSync, or any other weather/time management script alongside this menu, you may experience conflicts. Either disable those scripts or avoid using the weather and time features in this menu. Troll, player management, and all other features are unaffected.

Troll Options#

Each troll action can be individually enabled or disabled:

OptionDefaultDescription
EnableFlingtrueLaunch player into the air
EnableDrunktrueApply drunk effect
EnableBurntrueSet player on fire
EnableRagdolltrueForce ragdoll
EnableExplodetrueExplode player
EnableShaketrueShake player camera
EnableBlindtrueTemporarily blind player
EnableTinyPlayertrueShrink player
EnableBigHeadtrueEnlarge player head
EnableClonefalseClone player ped — disabled, does not work properly
EnableCagefalseCage player — disabled, very buggy