From 911e71a155255e3262adfc5b1fc8a49149ea64d0 Mon Sep 17 00:00:00 2001 From: KingMcDonalds Date: Tue, 22 Jul 2025 23:03:41 -0700 Subject: [PATCH] fixing ers mbt --- .../stream/19yukonslick/19yukonslick.ytd | 4 +- resources/night_discordapi/config.lua | 45 +++++++-------- resources/night_ers/config/config.lua | 26 ++++----- resources/night_shifts/config/config.lua | 10 ++-- .../config/departments_config.lua | 56 +++++++++---------- resources/night_shifts/config/mdt_config.lua | 2 +- 6 files changed, 69 insertions(+), 74 deletions(-) diff --git a/resources/[EGRP-CarPacks]/EGRP-Emergency/stream/19yukonslick/19yukonslick.ytd b/resources/[EGRP-CarPacks]/EGRP-Emergency/stream/19yukonslick/19yukonslick.ytd index 081239d94..3e1ff3797 100644 --- a/resources/[EGRP-CarPacks]/EGRP-Emergency/stream/19yukonslick/19yukonslick.ytd +++ b/resources/[EGRP-CarPacks]/EGRP-Emergency/stream/19yukonslick/19yukonslick.ytd @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ff1cb1806a059f039ce4d9919c4fb45397d0815a8df2e9a2d6ddbe66b77e5456 -size 12827399 +oid sha256:e4943757ce147f672cfcaa97078c9c0e4eee79905555f9d6e6e654bef8578065 +size 12686729 diff --git a/resources/night_discordapi/config.lua b/resources/night_discordapi/config.lua index 7d87e789b..1f657cfe7 100644 --- a/resources/night_discordapi/config.lua +++ b/resources/night_discordapi/config.lua @@ -13,34 +13,29 @@ Config = { -- If you do have a bot: define your BOT token below, inbetween the quotation marks: "bot_token", Discord_Bot_Token = "NzUxOTY4NTY3MzA5NzYyNjgw.GzVJ9D.kAxZs0UBN-XxcSJPBRqo6zrp1L_KsjoBHibYYE", Discord_Guild_Names = { -- Add your Discord Servers/Guilds by their ID here, when fetching something with this resource, we try and get as much information as possible from all your guilds - ["361895986198609920"] = "Nights Software", -- Your primary server/guild ID (legacy scripts will get information regarding this guild) - -- ["1001055923912653544"] = "My Community Discord", -- Add another (secondary) guild ID and Name to your liking. Make sure to invite the bot into this guild. + ["361895986198609920"] = "Elite Groupe", -- Your primary server/guild ID (legacy scripts will get information regarding this guild) }, Discord_Role_Names = { -- Add Discord roles by their role ID here, name them how you want but make sure to use the same name in other configs of our resources. -- Example: - ["Silver Supporter 🥈"] = "596414797977878530", - ["Gold Supporter 🥇"] = "742482159851536455", - ["Platinum Supporter 💠"] = "742482158945566771", - ["Diamond Supporter 💎"] = "742482161680122047", - ["LSPD"] = "807381507622305852", - ["BCSO"] = "807381508167565352", - ["SASP"] = "807381508859887667", - ["SAFD"] = "807381509195300905", - ["Civilian I"] = "813907383892967424", - ["Civilian II"] = "876585455615889450", - ["Civilian III"] = "876585456387629066", - ["Civilian IV"] = "876585900946128936", - ["Civilian V"] = "876585431901294663", - ["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", + ["789553875152535593"] = "EG | Development Team", + ["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", + ["586249238623551528"] = "EG | Staff Team", + ["1231114889234219089"] = "Sheriff", + ["807381510026035240"] = "Dispatcher", + ["807381507622305852"] = "FiveM First Responder 🚨", + ["807381508859887667"] = "CHP", + ["807381509195300905"] = "CALFIRE", + ["807381508167565352"] = "First Responders", + ["807398679937417237"] = "Mechanic", + ["876585455615889450"] = "Civilian II", ["468677647228363421"] = "Banned", }, Discord_API_Cooldown = 2, -- Number of seconds between each API request. At least 2 is recommended. diff --git a/resources/night_ers/config/config.lua b/resources/night_ers/config/config.lua index c348341dd..91c3a101a 100644 --- a/resources/night_ers/config/config.lua +++ b/resources/night_ers/config/config.lua @@ -28,16 +28,16 @@ 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. - EnableVehicleInformationPrompt = false, -- If true, vehicle information will be displayed in a UI, otherwise you'll have to use the MDT to get vehicle information (only applied when UsePersistentEntities is true). - EnableIDCardInformationPrompt = false, -- If true, ID card information will be displayed in a UI, otherwise you'll have to use the MDT to look up more information about the person by their name and DOB (only applied when UsePersistentEntities is true). + 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. + EnableVehicleInformationPrompt = true, -- If true, vehicle information will be displayed in a UI, otherwise you'll have to use the MDT to get vehicle information (only applied when UsePersistentEntities is true). + EnableIDCardInformationPrompt = true, -- If true, ID card information will be displayed in a UI, otherwise you'll have to use the MDT to look up more information about the person by their name and DOB (only applied when UsePersistentEntities is true). }, - 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 = false, -- Optional FREE: https://docs.nights-software.com/resources/nightShifts/#installing-nearest-postal-optional (client/c_functions.lua for GetPostal()) - Enable_Discord_Webhooks = true, -- Set your webhook URL in server/s_functions.lua. + Enable_Night_Subtitles = false, -- 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()) + Enable_Discord_Webhooks = false, -- Set your webhook URL in server/s_functions.lua. --====================== DISCORD RICH PRESENCE ======================-- @@ -86,10 +86,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 = {"FiveM First Responder 🚨", "First Responders"}, -- Example of two roles (you can add more.) + AmbulanceRoles = {"FiveM First Responder 🚨", "First Responders"}, + FireRoles = {"FiveM First Responder 🚨", "First Responders"}, + TowRoles = {"Mechanic"}, }, --====================== GENERAL SETTINGS ======================-- diff --git a/resources/night_shifts/config/config.lua b/resources/night_shifts/config/config.lua index 177252461..086574473 100644 --- a/resources/night_shifts/config/config.lua +++ b/resources/night_shifts/config/config.lua @@ -26,14 +26,14 @@ Config = { Language = "en", -- Options: "en" | "nl" | "de" | "fr" | "pl" Timezone = "Europe/London", -- Set the timezone for the MDT. https://en.wikipedia.org/wiki/List_of_tz_database_time_zones - TimeFormat = "en-GB", -- en-US, fr-FR, de-DE etc. + TimeFormat = "en-US", -- en-US, fr-FR, de-DE etc. KMHorMPH = "MPH", -- "KMH" or "MPH" 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 = false, -- 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_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 = 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/night_shifts/config/departments_config.lua b/resources/night_shifts/config/departments_config.lua index b6042cf86..0b56c9df0 100644 --- a/resources/night_shifts/config/departments_config.lua +++ b/resources/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 Groupe"} -- 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 = {"EG|Owner", "EG | Development Team", "EG | Head of Staff", "EG | Sr. Admin", "EG | Admine", "EG | Sr. Moderator", "EG | Moderator", "EG | Sr. Staff", "EG | Staff", "EG | Helper", "EG | Staff Team", "Sheriff", "Dispatcher", "FiveM First Responder 🚨", "CHP", "CALFIRE", "First Responders", "Mechanic","Civilian II"} -- 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 | Development Team", "EG | Head of Staff", "EG | Sr. Admin", "EG | Admine", "EG | Sr. Moderator", "EG | Moderator"} -- [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 = { @@ -21,7 +21,7 @@ Config.MobileDataTerminal.DepartmentList = { 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 = "FiveM First Responder 🚨", "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? @@ -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 = "FiveM First Responder 🚨", "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, @@ -57,7 +57,7 @@ Config.MobileDataTerminal.DepartmentList = { [2] = { SubDepartmentName = "MO8", SubDepartmentShortName = "MO8", - SubDepartmentRoleName = "RPU", + SubDepartmentRoleName = "FiveM First Responder 🚨", "First Responders", SubDepartmentCallsignPrefix = "OC-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -68,7 +68,7 @@ Config.MobileDataTerminal.DepartmentList = { [3] = { SubDepartmentName = "MO7 - DSU", SubDepartmentShortName = "MO7 - DSU", - SubDepartmentRoleName = "DSU", + SubDepartmentRoleName = "FiveM First Responder 🚨", "First Responders", SubDepartmentCallsignPrefix = "XD-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -79,7 +79,7 @@ Config.MobileDataTerminal.DepartmentList = { [4] = { SubDepartmentName = "MO7 - TSG", SubDepartmentShortName = "MO7 - TSG", - SubDepartmentRoleName = "TSG", + SubDepartmentRoleName = "FiveM First Responder 🚨", "First Responders", SubDepartmentCallsignPrefix = "XT-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -90,7 +90,7 @@ Config.MobileDataTerminal.DepartmentList = { [5] = { SubDepartmentName = "MO7 - Marine", SubDepartmentShortName = "MO7 - Marine", - SubDepartmentRoleName = "Marine", + SubDepartmentRoleName = "FiveM First Responder 🚨", "First Responders", SubDepartmentCallsignPrefix = "XM-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -101,7 +101,7 @@ Config.MobileDataTerminal.DepartmentList = { [6] = { SubDepartmentName = "MO19", SubDepartmentShortName = "MO19", - SubDepartmentRoleName = "AFO", + SubDepartmentRoleName = "FiveM First Responder 🚨", "First Responders", SubDepartmentCallsignPrefix = "FM-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -112,7 +112,7 @@ Config.MobileDataTerminal.DepartmentList = { [7] = { SubDepartmentName = "National Police Air Service", SubDepartmentShortName = "NPAS", - SubDepartmentRoleName = "NPAS", + SubDepartmentRoleName = "FiveM First Responder 🚨", "First Responders", SubDepartmentCallsignPrefix = "QZ-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -123,7 +123,7 @@ Config.MobileDataTerminal.DepartmentList = { [8] = { SubDepartmentName = "British Transport Police", SubDepartmentShortName = "BTP", - SubDepartmentRoleName = "British_Transport_Police", + SubDepartmentRoleName = "FiveM First Responder 🚨", "First Responderse", SubDepartmentCallsignPrefix = "BT-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -134,7 +134,7 @@ Config.MobileDataTerminal.DepartmentList = { [9] = { SubDepartmentName = "Special Escort Group", SubDepartmentShortName = "SEG", - SubDepartmentRoleName = "SEG", + SubDepartmentRoleName = "FiveM First Responder 🚨", "First Responders", SubDepartmentCallsignPrefix = "SE-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -150,14 +150,14 @@ Config.MobileDataTerminal.DepartmentList = { 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 = "FiveM First Responder 🚨", "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}, + [1] = {RankName = "Student Paramedic", RoleName = "FiveM First Responder 🚨", "First Responders", 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}, @@ -169,7 +169,7 @@ Config.MobileDataTerminal.DepartmentList = { [1] = { SubDepartmentName = "Rapid Response", SubDepartmentShortName = "RRV", - SubDepartmentRoleName = "Your_Ambulance_Role", + SubDepartmentRoleName = "FiveM First Responder 🚨", "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 = "FiveM First Responder 🚨", "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 = "FiveM First Responder 🚨", "First Responders", SubDepartmentCallsignPrefix = "HA-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -207,14 +207,14 @@ Config.MobileDataTerminal.DepartmentList = { 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 = "FiveM First Responder 🚨", "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 = "FiveM First Responder 🚨", "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}, @@ -229,7 +229,7 @@ Config.MobileDataTerminal.DepartmentList = { [1] = { SubDepartmentName = "London Fire & Rescue", SubDepartmentShortName = "F&R", - SubDepartmentRoleName = "Your_Fire_Role", + SubDepartmentRoleName = "FiveM First Responder 🚨", "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 = "FiveM First Responder 🚨", "First Responders", SubDepartmentCallsignPrefix = "HF-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -251,7 +251,7 @@ Config.MobileDataTerminal.DepartmentList = { [3] = { SubDepartmentName = "Marine Unit", SubDepartmentShortName = "MARU", - SubDepartmentRoleName = "Marine", + SubDepartmentRoleName = "FiveM First Responder 🚨", "First Responders", SubDepartmentCallsignPrefix = "MA-", SubDepartmentBlipData = { SubSpriteID = 1, @@ -267,20 +267,20 @@ Config.MobileDataTerminal.DepartmentList = { 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 = "FiveM First Responder 🚨", "First Responders","Mechanic", -- 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 = "FiveM First Responder 🚨", "First Responders","Mechanic", AccessLevel = 7}, }, SubDepartments = { [1] = { SubDepartmentName = "AA Towing Service", SubDepartmentShortName = "AA", - SubDepartmentRoleName = "Your_Tow_Role", + SubDepartmentRoleName = "FiveM First Responder 🚨", "First Responders","Mechanic", 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 = "EG|Owner", "EG | Development Team", "EG | Head of Staff", "EG | Sr. Admin", "EG | Admine", "EG | Sr. Moderator", "EG | Moderator", "EG | Sr. Staff", "EG | Staff", "EG | Helper", "EG | Staff Team", "Sheriff", "Dispatcher", "FiveM First Responder 🚨", "CHP", "CALFIRE", "First Responders", "Mechanic","Civilian II", -- 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 = "EG|Owner", "EG | Development Team", "EG | Head of Staff", "EG | Sr. Admin", "EG | Admine", "EG | Sr. Moderator", "EG | Moderator", "EG | Sr. Staff", "EG | Staff", "EG | Helper", "EG | Staff Team", "Sheriff", "Dispatcher", "FiveM First Responder 🚨", "CHP", "CALFIRE", "First Responders", "Mechanic","Civilian II", 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/night_shifts/config/mdt_config.lua b/resources/night_shifts/config/mdt_config.lua index a79fa5494..cf2b19bfb 100644 --- a/resources/night_shifts/config/mdt_config.lua +++ b/resources/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 = "First Responders MTB", -- Title at the top of the MDT UI, to hide the title set it to an empty string: "", --====================== Intervals ===================--