FivePD v1.5 - Configuration Guide
FivePD v1.5 - Configuration Guide
5 - Configuration
Guide
Table of contents
config.json
menu.json
coordinates.json
questions.json
items.json
loadouts.json
vehicles.json
last-names.txt, male-first-names.txt and female-first-names.txt
street-names.txt
charges.json
disabled_callouts.json
scene_management.json
garage.json
<calloutname>/config.json
Note for the vehicles.json and loadouts.json
config.json
This file is located directly in the fivepd resource folder. This file contains all
configuration settings that FivePD needs. Deleting any of them could cause
errors or warnings.
Content type: object
database:
The location where players will be teleported. Note that if you don't
specify a value it'll be set to 1. The X, Y, and Z keys are the respective
values of the coordinate.
x, y, z type: float
menu.json
This file contains the options to toggle specific menu buttons in the duty menu
and the scene management menu.
Content type: object
coordinates.json
This file contains station blips, teleport to station, and jail dropoff locations.
Content type: object
questions.json
This file contains a list (array) of question menus. You can add or remove as
many as you want following the given format.
Content type: object[]
The question
items.json
This file contains all items that you can find on peds or in vehicles if you search
them.
Content type: object[]
0 - Only in vehicle
1 - Only on ped
loadouts.json
This file contains all loadouts that you can get in the duty menu. The list's
(array’s) name is the loadout’s name that’ll be displayed in the menu.
Content type: object → [key: string]: [value: object]
https://pastebin.com/DP1k7JGW
vehicles.json
The police array contains all vehicles that can be spawned with the duty menu.
Content type: object
Toggle spike strip availability on the vehicle. The default value is false.
ambulance
airAmbulance
firedept
coroner
towtruck
mechanic
prisontransport
animalControl
An array that contains an object with the vehicle model and livery number.
Example: { “model”: “car1", “livery”: 1 }
Note that if you don’t specify the livery id, 0 will be used, except for the air
ambulance, it’ll use 1, because that’s the default GTA air ambulance livery.
street-names.txt
It contains random street names where peds could live. Every street should be
in a new line.
charges.json
Content type: object
It contains all charges that’ll be displayed in the MDT when you click on
charges to add for a citation.
disabled_callouts.json
It contains all callout class names that’ll be disabled on the server. If you don't
know the name get in contact with the callout's developer.
scene_management.json
Content type: object
garage.json
Content type: object[]
x, y, z type: float
The respective values of the coordinate.
<calloutname>/config.json
This file should be placed in one folder with the callout DLL file.
(callouts/<calloutname> folder!
This config file is used for the callout. It’s optional, which means if you don’t
want to edit the following values you don’t need to make this config file.
Probability: Now you can configure the probability of each callout. The
higher number you set, the more chance it'll have to spawn. Default value:
1
Department: You can define which departments can receive the given
callout If you don't specify the `Department` in the config, every
department will have the chance to receive it). Default: null = any
department)
{
"OversizedCar": {
"IgnoreDistance": false,
"MinTimeout": 0,
"Probability": 2,
"Departments": null
},
"StolenFireTruck": {
"IgnoreDistance": true,
"MinTimeout": 5,
Keys: