Configure Systems/Jobs

  1. Open config.lua

  2. Go to Config.Systems

Change Jobs

Main Job

Here you set the main job for the MDT, for example you could have sheriff instead of police

Off-Duty Jobs

Here you set the off-duty jobs (for ESX or Jaksam Jobs creator with an off-on duty script)

Boss Ranks (ESX/Jaksam-Job creator only)

If you use QB-Core the jobs got the property isboss, you can skip this.

Here you must enter the name of ranks from job_grades that should have full rights in the MDT.

Theme

Here you can change the appearance of the user interface.

Defined themes you can see here: daisyUI themes — Tailwind CSS Components

Behavior

You can set the behavior of a system to police, medic or nil

  • police will add you an other police system

  • medic will add you an other ambulance system

  • nil will add you a complete seperate system, neither a police or medic system

Differences between add a job to a system and behavior are explained on the link below

Differences Between Jobs and Behavior

Add new System

Another Police System:

["myPoliceSystem"] = {
	MainJob = {
		["myPoliceJob"] = {
			offdutyjobs = {"myPoliceJob-OffDuty01","myPoliceJob-OffDuty02"},
			bossranks = {"boss","boss2"}
		}
	},
	
	theme = "dark", 
	behaviour = "police",
	systemName = 'my New Police System'

},

Another Medic System

["myMedicSystem"] = {
	MainJob = {
		["myMedicJob"] = {
			offdutyjobs = {"myMedicJob-OffDuty01","myMedicJob-OffDuty02"},
			bossranks = {"boss","boss2"}
		}
	},
	
	theme = "dark", 
	behaviour = "medic",
	systemName = 'my New Medic System'

},

Different System without files input

["myOtherSystem"] = {
	MainJob = {
		["myOtherJob"] = {
			offdutyjobs = {"myOtherJob-OffDuty01","myOtherJob-OffDuty02"},
			bossranks = {"boss","boss2"}
		}
	},
	
	theme = "dark", 
	behaviour = nil,
	systemName = "my new unrelated Job"

},

The new system looks like the Medic-MDT except there is no files input.

Last updated