From a5d4f21ad7672ff9190d25f787ba0b0c92e4201c Mon Sep 17 00:00:00 2001 From: KingMcDonalds Date: Thu, 30 Oct 2025 03:28:43 -0700 Subject: [PATCH] fixing ers mdt --- resources/LAPD/ulc.lua | 51 -------------- .../Badger_Discord_API/config.lua | 1 + .../[ERS]/night_discordapi/config/config.lua | 54 ++++++++------- resources/[ERS]/night_ers/config/config.lua | 16 ++--- .../[ERS]/night_shifts/config/config.lua | 6 +- .../config/departments_config.lua | 66 +++++++++---------- .../[ERS]/night_shifts/config/mdt_config.lua | 6 +- 7 files changed, 78 insertions(+), 122 deletions(-) delete mode 100644 resources/LAPD/ulc.lua diff --git a/resources/LAPD/ulc.lua b/resources/LAPD/ulc.lua deleted file mode 100644 index b852b2bf1..000000000 --- a/resources/LAPD/ulc.lua +++ /dev/null @@ -1,51 +0,0 @@ ---[[ - Ultimate Lighting Controller Config - the ULC resource is required to use this configuration - get the resource here: https://github.com/Flohhhhh/ultimate-lighting-controller/releases/latest - - To learn how to setup and use ULC visit here: https://docs.dwnstr.com/ulc/overview -]] - -return { names = {"13lapdfpis2","13lapdexp","13lapdfpis","14lapdchg", "16lapdexp", "16lapdexpk9","20lapdexp","20lapdexp2","20lapdexp3","20lapdexpk9"}, - steadyBurnConfig = { - forceOn = false, useTime = false, - disableWithLights = false, - sbExtras = {} - }, - parkConfig = { - usePark = false, - useSync = false, - syncWith = {10}, - pExtras = {11}, - dExtras = {12} - }, - hornConfig = { - useHorn = false, - hornExtras = {}, - }, - brakeConfig = { - useBrakes = false, - speedThreshold = 3, - brakeExtras = {} - }, - reverseConfig = { - useReverse = false, - reverseExtras = {} - }, - doorConfig = { - useDoors = false, - driverSide = {enable = {}, disable = {}}, - passSide = {enable = {}, disable = {}}, - trunk = {enable ={}, disable = {}} - }, - buttons = { - {label = "Stage", key = 1, color = "green", linkedExtras = {}, oppositeExtras = {}, offExtras = {2,3,4,5,1}, repair = false}, - {label = "Stage 2", key = 2, color = "green", extra = 5, linkedExtras = {}, oppositeExtras = {}, offExtras = {1,2,4,3}, repair = false}, - {label = "Stage 3", key = 3, color = "green", extra = 1, linkedExtras = {}, oppositeExtras = {}, offExtras = {3,4,5}, repair = false} - }, - defaultStages = { - useDefaults = false, - enableKeys = {}, - disableKeys = {} - } -} \ No newline at end of file diff --git a/resources/[EGRP-Discord-Integration]/Badger_Discord_API/config.lua b/resources/[EGRP-Discord-Integration]/Badger_Discord_API/config.lua index 94c5c6988..fe722ebf5 100644 --- a/resources/[EGRP-Discord-Integration]/Badger_Discord_API/config.lua +++ b/resources/[EGRP-Discord-Integration]/Badger_Discord_API/config.lua @@ -15,6 +15,7 @@ Config = { ["Civilian III"] = "876585456387629066", ["Civilian IV"] = "876585900946128936", ["Civilian V"] = "876585431901294663", + ["First Responders"] = "807381508167565352", ["EG | Helper"] = "538822780662054963", ["EG | Staff"] = "608583076037001225", ["EG | Sr. Staff"] = "789551229549281331", diff --git a/resources/[ERS]/night_discordapi/config/config.lua b/resources/[ERS]/night_discordapi/config/config.lua index 47e314c5d..cfac3d8e7 100644 --- a/resources/[ERS]/night_discordapi/config/config.lua +++ b/resources/[ERS]/night_discordapi/config/config.lua @@ -10,33 +10,39 @@ -- Support Discord: https://discord.nights-software.com/ Config = { - -- No own bot? Leave `Discord_Bot_Token = "",` as it is and invite ours ยป https://discord.com/oauth2/authorize?client_id=956690799385522237&permissions=1024&scope=bot - -- If you do have a bot: define your BOT token below, inbetween the quotation marks: "your_bot_token_here", - Discord_Bot_Token = "NzUxOTY4NTY3MzA5NzYyNjgw.GzVJ9D.kAxZs0UBN-XxcSJPBRqo6zrp1L_KsjoBHibYYE", + -- We no longer provide a default bot. Please create your own bot and put its token here. + -- https://docs.nights-software.com/resources/discordAPI/#-creating-your-own-discord-bot + Discord_Bot_Token = " NzUxOTY4NTY3MzA5NzYyNjgw.GzVJ9D.kAxZs0UBN-XxcSJPBRqo6zrp1L_KsjoBHibYYE", Discord_Guild_Names = { - ["361895986198609920"] = "Elite Group", -- Your primary server/guild ID (legacy scripts will get information regarding this guild) + ["361895986198609920"] = "Elite Gaming RP", -- Your primary server/guild ID (legacy scripts will get information regarding this guild) -- ["1001055923912653544"] = "My Community Discord", -- Add another guild. Make sure to invite the bot into this guild. }, Discord_Role_Names = { -- Add Discord roles by their role ID here, name them how you want but make sure to MATCH the NAMES in other configs of our resources. -- Example: - ["Civilian I"] = "813907383892967424", - ["Civilian II"] = "876585455615889450", - ["Civilian III"] = "876585456387629066", - ["Civilian IV"] = "876585900946128936", - ["Civilian V"] = "876585431901294663", - ["First Responders"] = "807381508167565352", - ["CALFIRE"] = "807381509195300905", - ["CHP"] = "807381508859887667", - ["EG | Helper"] = "538822780662054963", - ["EG | Staff"] = "608583076037001225", - ["EG | Sr. Staff"] = "789551229549281331", - ["EG | Moderator"] = "517060882686279701", - ["EG | Sr. Moderator"] = "789538166536798248", - ["EG | Admin"] = "635155687688634399", - ["EG | Sr. Admin"] = "556158473981788176", - ["EG | Head of Staff"] = "650653280275267591", - ["EG | Server Developer"] = "671141073728307228", - ["EG | Owner"] = "361899298209923075", + ["361899298209923075"] = "EG | Owner", + ["671141073728307228"] = "EG | Server Developer", + ["650653280275267591"] = "EG | Head of Staff", + ["556158473981788176"] = "EG | Sr. Admin", + ["635155687688634399"] = "EG | Admin", + ["789538166536798248"] = "EG | Sr. Moderator", + ["517060882686279701"] = "EG | Moderator", + ["789551229549281331"] = "EG | Sr. Staff", + ["608583076037001225"] = "EG | Staff", + ["538822780662054963"] = "EG | Helper", + ["807381508167565352"] = "First Responders", + ["876585431901294663"] = "Civilian V", + ["876585900946128936"] = "Civilian IV", + ["876585456387629066"] = "Civilian III", + ["876585455615889450"] = "Civilian II", + ["813907383892967424"] = "Civilian I", + ["807381509195300905"] = "SAFD", + ["807381508859887667"] = "SASP", + ["807381508167565352"] = "BCSO", + ["807381507622305852"] = "LSPD", + ["742482161680122047"] = "Diamond Supporter ๐Ÿ’Ž", + ["742482158945566771"] = "Platinum Supporter ๐Ÿ’ ", + ["742482159851536455"] = "Gold Supporter ๐Ÿฅ‡", + ["596414797977878530"] = "Silver Supporter ๐Ÿฅˆ", }, - Discord_API_Log_Level = 0, -- Level 0 - Only shows INFO, ERROR and WARN messages | Any higher level will include DEBUG messages -} + Discord_API_Log_Level = 1, -- Level 0 - Only shows INFO, ERROR and WARN messages | Any higher level will include DEBUG messages +} \ No newline at end of file diff --git a/resources/[ERS]/night_ers/config/config.lua b/resources/[ERS]/night_ers/config/config.lua index 69ab4382d..3610631c0 100644 --- a/resources/[ERS]/night_ers/config/config.lua +++ b/resources/[ERS]/night_ers/config/config.lua @@ -28,10 +28,10 @@ Config = { --====================== OPTIONAL INTEGRATIONS ======================-- Enable_Night_Shifts = { -- Optional PAID: https://store.nights-software.com/package/5667103 (Enables call forwarding to the MDT & Shift toggle via MDT, which itself offers loads of more features) - ManageShiftsByMDT = false, -- If true, the MDT will manage shift toggles instead of the ERS. - SendCalloutsToMDT = false, -- If true, callouts and pullovers will be sent to the MDT as call. - SendPulloversToMDT = false, -- If true, pullovers will be sent to the MDT as call. - UsePersistentEntities = false, -- If true, persistent entities will be used and NPC data will be stored in the database, to later look up via the MDT. + ManageShiftsByMDT = true, -- If true, the MDT will manage shift toggles instead of the ERS. + SendCalloutsToMDT = true, -- If true, callouts and pullovers will be sent to the MDT as call. + SendPulloversToMDT = true, -- If true, pullovers will be sent to the MDT as call. + UsePersistentEntities = true, -- If true, persistent entities will be used and NPC data will be stored in the database, to later look up via the MDT. }, Enable_Night_Subtitles = true, -- Optional PAID (Included with ERS): https://store.nights-software.com/package/6043540 (Enables good looking subtitles instead of FiveM native mission text) Enable_Nearest_Postal = true, -- Optional FREE: https://docs.nights-software.com/resources/nightShifts/#installing-nearest-postal-optional (client/c_functions.lua for GetPostal()) @@ -84,10 +84,10 @@ Config = { -- If you are using Night Shifts MDT, duty will be managed by the MDT. Roles defined here will not be relevant in that case. PermissionRoles = { - PoliceRoles = {"Essex_Police_Force", "police"}, -- Example of two roles (you can add more.) - AmbulanceRoles = {"Ambulance_Service", "ambulance"}, - FireRoles = {"Fire_Service", "fire"}, - TowRoles = {"AA_Recovery", "tow"}, + PoliceRoles = {"First Responders", "police"}, -- Example of two roles (you can add more.) + AmbulanceRoles = {"First Responders", "ambulance"}, + FireRoles = {"First Responders", "fire"}, + TowRoles = {"First Responders", "tow"}, }, --====================== GENERAL SETTINGS ======================-- diff --git a/resources/[ERS]/night_shifts/config/config.lua b/resources/[ERS]/night_shifts/config/config.lua index 3a34d4e2c..450a07cbb 100644 --- a/resources/[ERS]/night_shifts/config/config.lua +++ b/resources/[ERS]/night_shifts/config/config.lua @@ -31,9 +31,9 @@ Config = { Enable_Discord_API = true, -- You need the discord API for this script, otherwise it will not work https://store.nights-software.com/package/5035729 [FREE] Included in the Tebex package. Enable_Nearest_Postal = true, -- Nearest-postal integration, if false it will always return "Unknown" on postals. (CFX Post: https://forum.cfx.re/t/release-nearest-postal-script/293511) Edit getPostal(x,y) in c_functions.lua if you desire to integrate your own postal system. - Enable_MDT_Battery_System = true, -- Set to false to disable the battery system, if disabled it'll always stay 100%. Charging can be done in vehicles and interiors + Enable_MDT_Battery_System = false, -- Set to false to disable the battery system, if disabled it'll always stay 100%. Charging can be done in vehicles and interiors DefaultSoundVolume = 0.15, -- Used for notifications. Higher than 0.5 will set it to 0.25, limited to protect ears - Enable_Discord_Webhooks = true, -- Set your webhook URL in s_functions.lua, edit your preferences for these messages in c_functions.lua and s_functions.lua + Enable_Discord_Webhooks = false, -- Set your webhook URL in s_functions.lua, edit your preferences for these messages in c_functions.lua and s_functions.lua Enable_Blips = true, -- Allow this system to add blips for backup requests, panic buttons, sighting reports, ANPR hits etc. Enable_Unit_Blips = true, -- Allow this system to add blips for active units on map. Enable_Save_Callsigns = true, -- If true it will set the last used callsign. If false it will use the config pre-set callsigns for departments & sub-departments. @@ -50,7 +50,7 @@ Config = { Enable_Commands = true, -- Allow Commands? Commands = { MobileDataTerminal = "mdt", -- Syntax: /mdt | Open the MDT - CallEmergencies = "999", -- Syntax: /999 | Open emergency hotline call system + CallEmergencies = "911", -- Syntax: /999 | Open emergency hotline call system ChargeMDT = "chargemdt", -- Syntax: /chargemdt | Charges the MDT, can be done in vehicles and interiors StatusChange = "status", -- Syntax: /status 10-42 or /status 2, depends on what you define as statuses. ForceCloseMDT = "forceclosemdt", -- Syntax: /forceclosemdt or use F8 and type it without the slash. diff --git a/resources/[ERS]/night_shifts/config/departments_config.lua b/resources/[ERS]/night_shifts/config/departments_config.lua index b6042cf86..0add3a95f 100644 --- a/resources/[ERS]/night_shifts/config/departments_config.lua +++ b/resources/[ERS]/night_shifts/config/departments_config.lua @@ -6,9 +6,9 @@ Config.MobileDataTerminal = Config.MobileDataTerminal or {} -- Misplaced brackets and/or commas can break your script. https://code.visualstudio.com/download -- [IMPORTANT] Edit these roles to match your Discord API. -Config.MobileDataTerminal.DiscordGuildNames = {"Your_Discord_Community_Name"} -- It checks whether the user is in any of these Discord servers and checks for the roles the user has in these Discord servers. Match these names to your Discord API. The first guild defined is where it fetches the Discord member data from (avatar, nickname etc.). -Config.MobileDataTerminal.RolesWithAccessToMDT = {"Your_Police_Role", "Your_Ambulance_Role", "Your_Fire_Role", "Your_Tow_Role", "Your_Civilian_Role"} -- Edit these to match your roles (role names) from Night Discord API [FREE] https://store.nights-software.com/package/5035729 -Config.MobileDataTerminal.ManagementRoles = {"Your_Management_Role"} +Config.MobileDataTerminal.DiscordGuildNames = {"Elite Gaming RP"} -- It checks whether the user is in any of these Discord servers and checks for the roles the user has in these Discord servers. Match these names to your Discord API. The first guild defined is where it fetches the Discord member data from (avatar, nickname etc.). +Config.MobileDataTerminal.RolesWithAccessToMDT = {"First Responders", "Civilian I", "EG | Owner", "EG | Server Developer", "EG | Head of Staff", "EG | Sr. Admin", "EG | Admin", "EG | Sr. Moderator", "EG | Moderator", "EG | Sr. Staff", "EG | Staff", "EG | Helper"} -- Edit these to match your roles (role names) from Night Discord API [FREE] https://store.nights-software.com/package/5035729 +Config.MobileDataTerminal.ManagementRoles = {"EG | Owner" "EG | Server Developer" "EG | Head of Staff" "EG | Sr. Admin" "EG | Admin" "EG | Sr. Moderator" "EG | Moderator" "EG | Sr. Staff" "EG | Staff" "EG | Helper"} -- [IMPORTANT] Edit the department list below and make sure each department has a main role, used for the department, first rank and first sub-department. Config.MobileDataTerminal.DepartmentList = { @@ -16,19 +16,19 @@ Config.MobileDataTerminal.DepartmentList = { -- [IMPORTANT] ORDER department index numbers. Example: [1] = police, [2] = ambulance, [3] = fire, [4] = tow, [5] = civilians, this must be in a counting order or it will bug out the script! -- [IMPORTANT] Provide the main department role to at least: the DepartmentRoleName, the first rank and the first SubDepartmentRoleName. [1] = { - DepartmentName = "Metropolitan Police Service", + DepartmentName = "First Responders", DepartmentLogo = "home_met.png", -- NUI/images/home_met.png DepartmentDescription = "The Metropolitan Police Service (MPS), formerly and still commonly known as the Metropolitan Police (and informally as the Met Police, the Met, Scotland Yard, or the Yard), is the territorial police force responsible for law enforcement and the prevention of crime in Greater London.", DepartmentFooterText = "Select to enter the shift menu.", DepartmentShortName = "MET", - DepartmentRoleName = "Your_Police_Role", -- Match to the role name in the Discord API config.lua! + DepartmentRoleName = "First Responders", -- Match to the role name in the Discord API config.lua! DepartmentCallsignPrefix = "CW-", DepartmentType = "police", -- This defines the emergency service type, options: police | ambulance | fire | tow DepartmentShiftAccess = true, -- Is this department allowed to use the Shift system? DepartmentPoliceComputerAccess = true, -- Is this department allowed to access the Police Computer? DepartmentOperationsAccess = true, -- Is this department allowed to access operation reports? DepartmentRanksAndRoles = { -- Match to the role name in the Discord API config.lua! - [1] = {RankName = "Student Police Constable", RoleName = "Your_Police_Role", AccessLevel = 1}, -- Access levels MUST go from lower, to equal or higher as you add ranks. + [1] = {RankName = "Officer", RoleName = "First Responders", AccessLevel = 1}, -- Access levels MUST go from lower, to equal or higher as you add ranks. [2] = {RankName = "Police Constable", RoleName = "Police_Constable", AccessLevel = 2}, -- Add ranks, low to high (top to bottom) as in the example here. [3] = {RankName = "Sergeant", RoleName = "Sergeant", AccessLevel = 2}, [4] = {RankName = "Inspector", RoleName = "Inspector", AccessLevel = 3}, @@ -46,7 +46,7 @@ Config.MobileDataTerminal.DepartmentList = { [1] = { SubDepartmentName = "Emergency Response & Patrol Team", -- Full sub-department name SubDepartmentShortName = "ERPT", -- Just a shortname used to display, keep it short! - SubDepartmentRoleName = "Your_Police_Role", -- Match to the role name in the Discord API config.lua! + SubDepartmentRoleName = "First Responders", -- Match to the role name in the Discord API config.lua! SubDepartmentCallsignPrefix = "CW-", -- Example: Server ID 1 will be 'CW-01' SubDepartmentBlipData = { -- Blips: https://docs.fivem.net/docs/game-references/blips/ SubSpriteID = 1, @@ -145,31 +145,31 @@ Config.MobileDataTerminal.DepartmentList = { }, }, [2] = { - DepartmentName = "London Ambulance Service", + DepartmentName = "First Responders", DepartmentLogo = "home_las.png", -- NUI/images/mylogo.png DepartmentDescription = "Our main role is to respond to emergency 999 calls, providing medical care to patients across the capital, 24-hours a day, 365 days a year. Other services we offer include providing pre-arranged patient transport and finding hospital beds", DepartmentFooterText = "Select to enter the shift menu.", DepartmentShortName = "LAS", - DepartmentRoleName = "Your_Ambulance_Role", -- Match to the role name in the Discord API config.lua! + DepartmentRoleName = "First Responders", -- Match to the role name in the Discord API config.lua! DepartmentCallsignPrefix = "BS-", DepartmentType = "ambulance", -- This defines the emergency service type, options: police | ambulance | fire | tow DepartmentShiftAccess = true, -- Is this department allowed to use the Shift system? DepartmentPoliceComputerAccess = true, -- Is this department allowed to access the Police Computer? DepartmentOperationsAccess = true, -- Is this department allowed to access operation reports? DepartmentRanksAndRoles = { -- Match to the role name in the Discord API config.lua! - [1] = {RankName = "Student Paramedic", RoleName = "Your_Ambulance_Role", AccessLevel = 1}, - [2] = {RankName = "Paramedic", RoleName = "Ambu_Paramedic", AccessLevel = 2}, - [3] = {RankName = "Advanced Paramedic", RoleName = "Ambu_Senior_Paramedic", AccessLevel = 3}, - [4] = {RankName = "Care Clinician", RoleName = "Ambu_Advanced_Paramedic", AccessLevel = 4}, - [5] = {RankName = "Advanced Care Clinician", RoleName = "Ambu_Leading_Operations_Manager", AccessLevel = 5}, - [6] = {RankName = "Deputy Director of Ambulance", RoleName = "Ambu_Deputy_Director", AccessLevel = 6}, - [7] = {RankName = "Director of Ambulance", RoleName = "Ambu_Director", AccessLevel = 7}, + [1] = {RankName = "Paramedic", RoleName = "First Responders", AccessLevel = 1}, + [2] = {RankName = "Paramedic", RoleName = "First Responders", AccessLevel = 2}, + [3] = {RankName = "Advanced Paramedic", RoleName = "First Responders", AccessLevel = 3}, + [4] = {RankName = "Care Clinician", RoleName = "First Responders", AccessLevel = 4}, + [5] = {RankName = "Advanced Care Clinician", RoleName = "First Responders", AccessLevel = 5}, + [6] = {RankName = "Deputy Director of Ambulance", RoleName = "First Responders", AccessLevel = 6}, + [7] = {RankName = "Director of Ambulance", RoleName = "First Responders", AccessLevel = 7}, }, SubDepartments = { -- At least 1 sub-department! [1] = { SubDepartmentName = "Rapid Response", SubDepartmentShortName = "RRV", - SubDepartmentRoleName = "Your_Ambulance_Role", + SubDepartmentRoleName = "First Responders", SubDepartmentCallsignPrefix = "BS-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -180,7 +180,7 @@ Config.MobileDataTerminal.DepartmentList = { [2] = { SubDepartmentName = "Helicopter Emergency Medical Services", SubDepartmentShortName = "HEMS", - SubDepartmentRoleName = "HEMS", + SubDepartmentRoleName = "First Responders", SubDepartmentCallsignPrefix = "HO-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -191,7 +191,7 @@ Config.MobileDataTerminal.DepartmentList = { [3] = { SubDepartmentName = "Hazardous Area Response Team", SubDepartmentShortName = "HART", - SubDepartmentRoleName = "HART", + SubDepartmentRoleName = "First Responders", SubDepartmentCallsignPrefix = "HA-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -202,19 +202,19 @@ Config.MobileDataTerminal.DepartmentList = { }, }, [3] = { - DepartmentName = "London Fire Brigade", + DepartmentName = "First Responders", DepartmentLogo = "home_lfb.png", -- NUI/images/mylogo.png DepartmentDescription = "As well as firefighting, the LFB also responds to road traffic collisions, floods, shut-in-lift releases, and other incidents such as those involving hazardous materials or major transport accidents. It also conducts emergency planning and performs fire safety inspections and education.", DepartmentFooterText = "Select to enter the shift menu.", DepartmentShortName = "LFB", - DepartmentRoleName = "Your_Fire_Role", -- Match to the role name in the Discord API config.lua! + DepartmentRoleName = "First Responders", -- Match to the role name in the Discord API config.lua! DepartmentCallsignPrefix = "PL-", DepartmentType = "fire", -- This defines the emergency service type, options: police | ambulance | fire | tow DepartmentShiftAccess = true, -- Is this department allowed to use the Shift system? DepartmentPoliceComputerAccess = true, -- Is this department allowed to access the Police Computer? DepartmentOperationsAccess = true, -- Is this department allowed to access operation reports? DepartmentRanksAndRoles = { -- Match to the role name in the Discord API config.lua! - [1] = {RankName = "Firefighter", RoleName = "Your_Fire_Role", AccessLevel = 2}, + [1] = {RankName = "Firefighter", RoleName = "First Responders", AccessLevel = 2}, [2] = {RankName = "Leading Firefighter", RoleName = "Lead_Firefighter", AccessLevel = 3}, [3] = {RankName = "Sub-Officer", RoleName = "Sub_Manager", AccessLevel = 3}, [4] = {RankName = "Station Officer", RoleName = "Station_Officer", AccessLevel = 4}, @@ -227,9 +227,9 @@ Config.MobileDataTerminal.DepartmentList = { }, SubDepartments = { -- At least 1 sub-department! [1] = { - SubDepartmentName = "London Fire & Rescue", + SubDepartmentName = "First Responders, SubDepartmentShortName = "F&R", - SubDepartmentRoleName = "Your_Fire_Role", + SubDepartmentRoleName = "First Responders", SubDepartmentCallsignPrefix = "PL-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -240,7 +240,7 @@ Config.MobileDataTerminal.DepartmentList = { [2] = { SubDepartmentName = "Heathrow Airport Fire & Rescue", SubDepartmentShortName = "AFR", - SubDepartmentRoleName = "heathrowfire", + SubDepartmentRoleName = "First Responders", SubDepartmentCallsignPrefix = "HF-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -251,7 +251,7 @@ Config.MobileDataTerminal.DepartmentList = { [3] = { SubDepartmentName = "Marine Unit", SubDepartmentShortName = "MARU", - SubDepartmentRoleName = "Marine", + SubDepartmentRoleName = "First Responders", SubDepartmentCallsignPrefix = "MA-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -262,25 +262,25 @@ Config.MobileDataTerminal.DepartmentList = { }, }, [4] = { - DepartmentName = "Tow Service", + DepartmentName = "tow Responders", DepartmentLogo = "home_tow.png", -- NUI/images/mylogo.png DepartmentDescription = "AA Towing is a trusted and efficient service that offers prompt assistance to stranded vehicles. With a fleet of well-equipped tow trucks and skilled operators, they excel at rescuing vehicles from breakdowns, accidents, and challenging situations. Whether it's on-site repairs, safe towing to service centers, or long-distance transportation, AA Towing ensures reliable and professional service to keep the roads running smoothly.", DepartmentFooterText = "Start your career as a towing service operator.", DepartmentShortName = "TOW", - DepartmentRoleName = "Your_Tow_Role", -- Match to the role name in the Discord API config.lua! + DepartmentRoleName = "Civilian I", -- Match to the role name in the Discord API config.lua! DepartmentCallsignPrefix = "AA-", DepartmentType = "tow", -- This defines the emergency service type, options: police | ambulance | fire | tow (civilian is a placeholder) DepartmentShiftAccess = true, -- Is this department allowed to access the Shift system? DepartmentPoliceComputerAccess = false, -- Is this department allowed to access the Police Computer? DepartmentOperationsAccess = false, -- Is this department allowed to access Operation reports? DepartmentRanksAndRoles = { -- Match to the role name in the Discord API config.lua! - [1] = {RankName = "Recovery Operator", RoleName = "Your_Tow_Role", AccessLevel = 7}, + [1] = {RankName = "Recovery Operator", RoleName = "Civilian I", AccessLevel = 7}, }, SubDepartments = { [1] = { - SubDepartmentName = "AA Towing Service", + SubDepartmentName = "tow Responders", SubDepartmentShortName = "AA", - SubDepartmentRoleName = "Your_Tow_Role", + SubDepartmentRoleName = "Civilian I", SubDepartmentCallsignPrefix = "AA-", SubDepartmentBlipData = { SubSpriteID = 317, @@ -298,14 +298,14 @@ Config.MobileDataTerminal.DepartmentList = { DepartmentDescription = "Be free and play whoever you want to be as a civilian. Legal or illegal? It's all up to you.", DepartmentFooterText = "Select to get access to the DVLA & Council.", DepartmentShortName = "CIV", - DepartmentRoleName = "Your_Civilian_Role", -- Match to the role name in the Discord API config.lua! + DepartmentRoleName = "Civilian I", -- Match to the role name in the Discord API config.lua! DepartmentCallsignPrefix = "NONE", DepartmentType = "civilian", -- This defines the emergency service type, options: civilian DepartmentShiftAccess = false, -- Is this department allowed to access the Shift system? DepartmentPoliceComputerAccess = false, -- Is this department allowed to access the Police Computer? DepartmentOperationsAccess = false, -- Is this department allowed to access Operation reports? DepartmentRanksAndRoles = { -- Match to the role name in the Discord API config.lua! - [1] = {RankName = "Civilian", RoleName = "Your_Civilian_Role", AccessLevel = 1}, + [1] = {RankName = "Civilian", RoleName = "Civilian I", AccessLevel = 1}, }, SubDepartments = {}, -- Leave this empty, for other departments you must add at least one sub-department, see examples in the other departments. }, diff --git a/resources/[ERS]/night_shifts/config/mdt_config.lua b/resources/[ERS]/night_shifts/config/mdt_config.lua index a79fa5494..cf9c96af2 100644 --- a/resources/[ERS]/night_shifts/config/mdt_config.lua +++ b/resources/[ERS]/night_shifts/config/mdt_config.lua @@ -4,7 +4,7 @@ Config = Config or {} Config.MobileDataTerminal = { - MDTName = "MOBILE DATA TERMINAL", -- Title at the top of the MDT UI, to hide the title set it to an empty string: "", + MDTName = "Elite Gaming RP MDT", -- Title at the top of the MDT UI, to hide the title set it to an empty string: "", --====================== Intervals ===================-- @@ -39,10 +39,10 @@ Config.MobileDataTerminal = { -- All [1] = {MenuName = "HOME", RequiredAccessLevel = 1, Show = true}, -- Department/civ selection (Always show) -- Emergency services - [2] = {MenuName = "SHIFT", RequiredAccessLevel = 1, Show = true}, -- Status panel and shift toggling (Always show) + [2] = {MenuName = "Patrol Panel", RequiredAccessLevel = 1, Show = true}, -- Status panel and shift toggling (Always show) [3] = {MenuName = "EMERGENCY HOTLINE", RequiredAccessLevel = 1, Show = true}, -- Add menu: Active calls, Archived calls. EDIT CALLS LAYOUT TO WIDER CARD AND LIST UNDERNEATH EACHOTHER -- Police - [4] = {MenuName = "PNC", RequiredAccessLevel = 1, Show = true}, -- Police National Computer (Search registrations of vehicles, civilians, fines and criminal records) Only police can access this. + [4] = {MenuName = "NCIC Search", RequiredAccessLevel = 1, Show = true}, -- Police National Computer (Search registrations of vehicles, civilians, fines and criminal records) Only police can access this. -- Emergency services [5] = {MenuName = "UNIT OVERVIEW", RequiredAccessLevel = 1, Show = true}, -- Overview of active units & locations, backup requests (You could name this Control / Dispatch) [6] = {MenuName = "OPERATIONS", RequiredAccessLevel = 2, Show = true}, -- Memos, Report forms (medical report, fire incident, police incident)