Documentation Index
Fetch the complete documentation index at: https://docs.sixm.gg/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Make sure you have a working ESX server with these resources:
es_extended (ESX Legacy recommended)
oxmysql
ox_lib (required by most scripts)
Installation Steps
Upload the Script
Place the script folder in your resources directory:resources/[sixm]/sixm_scriptname/
Import SQL
Import the .sql file included with the script into your database.
Configure Framework
Config.Framework = 'esx' -- or 'auto' for auto-detection
Add Items (if applicable)
For ESX, add items to your items database table:INSERT INTO `items` (`name`, `label`, `weight`) VALUES
('sixm_item', 'Item Name', 1);
Restart
Restart your server.
ESX-Specific Notes
Jobs
ESX uses the jobs and job_grades database tables. Add jobs via SQL:
INSERT INTO `jobs` (`name`, `label`) VALUES ('sixm_job', 'Job Name');
INSERT INTO `job_grades` (`job_name`, `grade`, `name`, `label`, `salary`) VALUES
('sixm_job', 0, 'recruit', 'Recruit', 50),
('sixm_job', 1, 'worker', 'Worker', 100),
('sixm_job', 2, 'boss', 'Boss', 200);
Events
ESX scripts use esx:getSharedObject for framework access. SixM scripts handle this automatically — no manual configuration needed.