This guide explains how to correctly install and configure C7 VMS2 on your FiveM server. Follow each step carefully to ensure the framework loads and functions as intended.
01. Installing the Resource
1
Download the latest release of the C7 VMS2;
This folder should contain the folder: c7-scripts-vms2
Altering the script to your preferred configuration has been made easy with our configuration file. To get started, you need to open the file: c7-scripts-vms2/config/config.lua
1
Configuring the Basics
To change the basics of the script, you need to change the following configuration lines:
config.menuCommand = "vms2" -- What should the command be to open VMS2?
config.openKeybind = 318 -- Default: 318 (F5). https://docs.fivem.net/docs/game-references/controls/
config.cooldown = 1000
config.lang = "en"
config.notifications = 'c7-scripts-notifications' -- This is a dependency. Do not change.
config.useDiscordPermissions = false -- If false, all departments and vehicles are available to anyone.
config.discordServerID = "SERVER_ID" -- The Server ID to your Discord Server
config.discordBotToken = "BOT_TOKEN" -- Replace with your Discord Bot Token
config.departments = {
-- If you are using C7 Framework V3, you can configure your departments below. If not using, just ignore.
C7FW = {
departments = { "LSPD", "BCSO", "SAHP" }, -- Your C7 Framework Departments
},
-- If you are using Standalone with Dicord Permissions, you can configure your role access below. If not using, just ignore.
discord = {
lspd_access = "ROLE_ID", -- This will give this role the "lspd_access" department.
bcso_access = "ROLE_ID", -- This will give this role the "bcso_access" department.
sahp_access = "ROLE_ID" -- This will give this role the "sahp_access" department.
},
}