Server
This is the command used to trigger or access the MDT.
Config.Command = 'mdt'Does security checks to see if the user is allowed to perform an action. This can be turned on to prevent injectors.
Config.SecurityChecks = trueincidents: Allows officers to view only incidents from colleagues in their department.reports: Allows officers to view only reports from colleagues in their department.evidence: Allows officers to view only evidence from colleagues in their department.staff: Allows officers to view only staff members in their department.announcements: Allows officers to view only announcements made in their department.recent: Allows officers to view only recent activity in their department.
shared: Specifies which departments can see each other's data.
Example:
[0] = { 1 }means department 0 can view department 1's data.
Config.DepartmentViews = {
incidents = true,
reports = true,
evidence = true,
staff = true,
announcements = true,
recent = true,
shared = {
[0] = { 1 },
[1] = { 0 }
}
}This table defines the representation of gender values stored in the database. Each gender has an associated numeric value which si used as a key in this table. When retrieving a gender from the database using its numeric value, the corresponding string value from this table will be used to provide a readable gender label.
Retrieves specified columns from the vehicle table and formats them for display, showcasing the associated data.
Configures columns and their data types for the in-game database, providing customization flexibility based on user preferences. It breaks down into three sections:
roster: Specifies roles and details for staff members, such as their responsibilities and status.
academy: Details training and skills assessment, indicating what a staff member has accomplished or needs to complete.
database: Records disciplinary actions, capturing details of infractions, the subsequent actions taken, and their resolution.
Each entry within these sections outlines the column's name, its display label, the data type, and default values, ensuring the database effectively serves the in-game pages' requirements.
Specifies the frequency for automated checks in the system.
A table that maps numerical indexes to specific vehicle color descriptions, ensuring consistent color references for vehicles.
Last updated