For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuration

All values are properly described in their respective config files.

All configuration files for rcore_police and what they control.


Config files

File
Description

config.lua

Main config - items, general settings, framework, society, tackle, megaphone, duty, outfits, fines, vehicle info and more. Details

config.lua (JobGroups)

Define garage vehicles and weapon/equipment shop items per job grade. Details

configs/permissions.lua

Ace permissions and job assignment for standalone servers. Details

sconfig.lua / config.lua (Camera Item)

Enable and configure the in-game Camera Item. Details

data/locales/en.lua

Localization strings for the resource.

data/maps/mapName.lua

Configuration settings specific to each map.

configs/outfits.lua

Define your police outfits.

configs/sconfig.lua

Define your webhook for police logs.

configs/fines.lua

Define your fines.

configs/fake_vehicle_info.lua

Settings related to fake vehicle information.

configs/weapons.lua

Configuration for the Department Weapon shop.

modules/nui/web/build/config.js

Localization for the UI elements.

Most servers only need to touch config.lua. Don't change the other files unless you have a specific reason.

Best Practices

  • Backup Before Making Changes: Always create a backup of any configuration file before making modifications. This ensures you can revert to the original settings if something goes wrong.

  • Understand the Configuration: Before editing a config file, make sure you understand what each setting does. Refer to the specific config file's documentation for detailed explanations.

  • Test After Changes: After modifying any configuration file, test the changes in a controlled environment to ensure they work as expected without causing issues.

Last updated