Skip to main content
One MDT can serve every department on your server: police, sheriff, state troopers, rangers, and more. Each department is a job from your framework.

Add a department

A job needs to be whitelisted to open the MDT, and needs permissions so its officers can do something once it’s open.
1

Open Access

Run /mdtadmin and open Access.
2

Add the job

Under Whitelisted jobs, click Add job and pick the job from your framework.
3

Copy permissions

In Start its permissions from, pick an existing job, such as police, to copy its permissions. Choose Nothing to set them up yourself later.
4

Adjust permissions

Open Permissions, pick the new job, and fine-tune what each grade can do. See Permissions.
Add job dialog under Whitelisted jobs in the admin panel

Adding a whitelisted job in the Access section

Members get access right away. Removing a job takes access away immediately, but keeps its permissions in case you add it back.
Once you save the whitelisted jobs in the admin panel, the panel’s list overrides Config.WhitelistedJobs. Keep managing jobs from the panel, or use Reset section to go back to the file.

Department money

Fines are paid into the society account of the officer’s department. Add each department to Config.Society.Accounts:
config/config.lua
The key is the job, and the value is its society account in your banking script. You can also set this in /mdtadmin, under Money.

Share or separate records

By default, every department sees every record. Turn on department access to decide which departments can open each record.
Run /mdtadmin, open Access, and turn on Limit records by department. Then choose:
  • Record types it applies to: which kinds of records follow department access.
  • Visibility of new records: what a new record starts with.
  • Jobs that see every record: departments that bypass the rules.
Limit records by department turned on in the admin panel, with its options

Department access settings in the Access section

Visibility

Every record gets one of three visibilities. Officers of the department that created it can change it on the record afterwards. Use assigned for joint operations. A police incident can be shared with the sheriff while staying hidden from everyone else.
Visibility selector on a record, with departments assigned

Choosing a record's visibility

Record types

Only the types turned on in Records follow department access. The rest stay visible to every department. For announcements, it lets the author choose which departments see the post.
Citizens, vehicles, properties, and weapons are always shared. They describe people and things in the city, not department work.

Jobs that see everything

Jobs in BypassJobs see and manage every record, whatever its visibility. Use it for chiefs of a joint command, internal affairs, or the court. A bypass job still needs to be whitelisted and have permissions to open the MDT.

Cross-department permissions

Some permissions reach beyond the officer’s own department. Give them only to the ranks that oversee several departments.

Check access in your scripts

Use the CanAccessRecord export on the server to check whether a player can open a record, with department access applied.
server.lua
The record type is incident, warrant, bolo, evidence, citizen, vehicle, weapon, or property.