Services Configuration
The Services section allows you to configure all police and justice services available on your server. Each service can have its own permissions and access levels.
Service Structure
Each service in the configuration follows this structure:
{
name = "LSPD",
fullName = "Los Santos Police Department",
isJustice = false
}Properties
name
string
✅ Yes
Unique short name/code for the service
fullName
string
✅ Yes
Full display name of the service
isJustice
boolean
✅ Yes
Whether this is a judicial service
Important: The name property must be unique across all services. It's used as the service identifier throughout the system.
Police Services
Police services are standard law enforcement agencies. They have configurable permissions based on roles.
Example: Police Department
{
name = "LSPD", -- MUST BE UNIQUE
fullName = "Los Santos Police Department",
isJustice = false
}Common Police Services
Justice Services
Justice services (isJustice = true) have special properties and automatically receive all permissions.
Example: Department of Justice
{
name = "DOJ",
fullName = "Department of Justice",
isJustice = true
}What Justice Services Can Do
Services with isJustice = true have unlimited access:
✅ Access all folders - View any investigation regardless of service
✅ View all documents - Read all case files across services
✅ Issue warrants - Create and sign arrest/search warrants
✅ Sign warrants - Approve warrants created by police
✅ Manage all records - Edit criminal records
Complete Configuration Example
Here's a complete example with multiple services:
Services = {
-- Police Services
{
name = "LSPD",
fullName = "Los Santos Police Department",
isJustice = false
},
{
name = "LSSD",
fullName = "Los Santos Sheriff's Department",
isJustice = false
},
{
name = "SAHP",
fullName = "San Andreas Highway Patrol",
isJustice = false
},
{
name = "FIB",
fullName = "Federal Investigation Bureau",
isJustice = false
},
-- Justice Services
{
name = "DOJ",
fullName = "Department of Justice",
isJustice = true
},
}Best Practices
✅ Do:
Use clear, recognizable service codes (
LSPD,SAHP, etc.)Have at least one justice service for warrant management
Keep service names consistent with your server's departments
❌ Don't:
Use duplicate service names
Give
isJustice = trueto police servicesUse special characters in the
namefieldChange service names after data has been created
Adding a New Service
To add a new service to your server:
Copy an existing service block
Change the
nameto a unique identifierUpdate the
fullNameto the full service nameSet appropriate permission values
Set
isJusticetotrueorfalseAdd it to the
Servicestable
Example - Adding a Park Ranger service:
{
name = "PARK",
fullName = "San Andreas Park Rangers",
isJustice = false
}Need help? Visit our Support page.
Last updated
Was this helpful?