Installation Guide
Installing a Mountain Mods resource on your FiveM server is designed to be smooth and reliable. Follow this comprehensive guide to configure dependencies, import SQL tables, set up custom inventory items, and link Discord webhooks across all script types.
Detailed Step-by-Step Installation
Section titled “Detailed Step-by-Step Installation”-
Extract Resource Files Extract the downloaded
.ziparchive from Keymaster directly into your server’sresources/folder (or a dedicated subfolder likeresources/[mountainmods]/).resources/└── [mountainmods]/└── mtm-resource-name/├── client/├── server/├── shared/│ └── config.lua├── locales/├── fxmanifest.lua└── database.sql # (if applicable) -
Execute Database SQL Scripts (If Applicable) If the resource contains a
database.sqlorinstall.sqlfile, open your database management software (such as HeidiSQL, phpMyAdmin, or DBeaver) and execute the queries against your active FiveM database schema:-- Example SQL execution in HeidiSQLSOURCE C:/FXServer/resources/[mountainmods]/mtm-resource-name/database.sql;Note: If you run in Standalone Mode (
Config.Framework = "standalone"), many scripts can automatically use local file storage (JSON/SQLite) without requiring a SQL database. -
Configure Settings in
config.luaOpenshared/config.luaorconfig.luain your code editor (such as VS Code):- Set your framework mode (
Config.Framework = "auto"or specify"qbcore","esx","qbx","vrp","ox","standalone"). - Configure allowed jobs, permissions, coordinates, multipliers, prices, or webhook endpoints.
- Set your language locale (
Config.Language = "en"or"nl").
- Set your framework mode (
-
Register Custom Inventory Items (If Applicable) If the resource introduces interactive physical items (such as remote controls, diagnostic dongles, tools, or receipt tickets), add the item definitions to your active inventory system:
['mtm_device'] = {label = 'Mountain Mods Device',weight = 500,stack = false,close = true,description = 'Interactive electronic tool for Mountain Mods systems.',client = {image = 'mtm_device.png',}},['mtm_device'] = {name = 'mtm_device',label = 'Mountain Mods Device',weight = 500,type = 'item',image = 'mtm_device.png',unique = true,useable = true,shouldClose = true,combinable = nil,description = 'Interactive electronic tool for Mountain Mods systems.'},INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES('mtm_device', 'Mountain Mods Device', 1, 0, 1); -
Configure Discord Webhook Integration (If Applicable) For scripts utilizing external logging, transaction receipts, audit logs, or evidence captures, create a dedicated Discord webhook:
- In your Discord server, open your desired channel settings.
- Navigate to Integrations -> Webhooks -> Create Webhook.
- Copy the Webhook URL.
- Open
config.luaand paste the URL intoConfig.DiscordWebhook:Config.DiscordWebhook = "https://discord.com/api/webhooks/1234567890/abcdefghij..."
-
Add Resource to
server.cfgin Correct Order Openserver.cfgand ensure that all dependencies and frameworks are started before the Mountain Mods script:# Database & Core Utilitiesensure oxmysqlensure ox_lib# Framework (or Standalone)ensure qb-core # or es_extended / qbx_core / vrp / ox_core# Mountain Mods Suiteensure MTM-COREensure mtm-matrixbordenensure mtm-flessenautomaatensure mtm-taxi -
Start Server & Check Console Verification Start your FXServer. Upon boot, Mountain Mods resources output a startup banner confirming database connection and license verification.
Verifying Startup & Console Badges
Section titled “Verifying Startup & Console Badges”When properly installed, your server console will display a clean verification badge:
============================================================ [Mountain Mods] Resource Initialized Successfully Resource: mtm-matrixborden Version: 1.0.0 Framework Detected: QBCore (auto) Database Engine: oxmysql (Connected) License Status: Verified (Cfx.re Keymaster)============================================================