> For the complete documentation index, see [llms.txt](https://kierandev.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kierandev.gitbook.io/documentation/tmc-resources/petty-crime/config-options.md).

# Config Options

## Porch Piracy&#x20;

```lua
Config.PorchPiracy = {
    -- Globally enable/disable the porch piracy feature
    Enabled = true,
    -- Prop it spawns at the locations
    PorchPiracyProps = {
        `prop_cs_cardbox_01`,
        `prop_cs_box_clothes`
    },
    -- Cooldown settings for robbing parcels
    Cooldown = {
        enabled = true, -- master toggle
        amountcanrob = 5, -- searches before player cooldown
        playercooldown = 30, -- minutes (player cooldown)
        cooldown = 15, -- minutes (global porch piracy cooldown) (removes the prop globally for everyone and respawns after cooldown time)
        CooldownNotify = true -- Sends a notify to the player when they rob a box how many more they can rob before cooldown
    },
    -- Configurable Rewards for robbing
    Rewards = {
        Common = {
            chance = 70,
            items = {
                { item = "plastic", min = 1, max = 5 },
                { item = "metalscrap", min = 1, max = 4 },
                { item = "weapon_knife", min = 1, max = 6 },
            }
        },
        Uncommon = {
            chance = 25,
            items = {
                { item = "goldbar", min = 1, max = 2 },
            }
        },
        Rare = {
            chance = 10,
            items = {
                { item = "phone", min = 1, max = 1 },
                { item = "radio", min = 1, max = 1 },
            }
        },
        SuperRare = {
            chance = 5,
            items = {
                { item = "weapon_pistol", min = 1, max = 1 },
            }
        }
    },
    -- Locations where the parcels are spawned
    Locations = {
        -- Mirror Park
        vector4(1061.024, -378.7052, 68.230751, 42.685958),
        vector4(1029.679, -409.5428, 65.94532, 39.685035),
        vector4(879.27557, -498.7658, 57.872051, 56.368946),
        vector4(943.79211, -463.8686, 61.395732, 306.59295),
        vector4(1056.4864, -448.1791, 66.257492, 172.54797),
        vector4(1089.8304, -484.6492, 65.658569, 264.07986),
        vector4(1203.1767, -557.7044, 69.400764, 275.52056),
        vector4(1200.366, -576.1002, 69.139091, 116.30456),
        vector4(1206.7606, -620.4238, 66.438629, 105.24324),
        vector4(1271.299, -682.833, 66.027656, 99.022193),
        vector4(1301.4558, -573.4405, 71.732254, 135.86695),
        vector4(1366.9986, -605.3023, 74.706993, 190.84533),
        -- Grove Street
        vector4(-32.57817, -1846.773, 26.19342, 86.532722),
        vector4(5.0762286, -1884.075, 23.697265, 140.84075),
        vector4(100.83341, -1912.461, 21.407426, 303.01095),
        -- Vespucci Canals
        vector4(-1009.028, -1014.717, 2.15031, 226.72926),
        vector4(-1065.348, -1053.763, 6.4116396, 197.14947),
        vector4(-1114.689, -1068.91, 2.1503565, 43.110469),
        vector4(-1115.826, -1195.874, 6.6835594, 276.97344),
        vector4(-1035.859, -1128.694, 2.1585822, 284.15145),
        vector4(-885.2077, -1071.27, 2.1617767, 231.06558)
    },
    -- Dispatch chances for robbing
    DispatchChance = {
        enabled = true,
        chance = 50, -- percent chance to call dispatch on robbery
        title = "Porch Piracy in Progress",
        description = "A resident has reported a porch piracy in progress. Someone just stole their parcel!",
        urgency = 1,
        jobs = "police"
    }
}
```

## Infrastructure

```lua
Config.Infrastructure = {
    -- Globally enable/disable the infrastructure smashing feature
    Enabled = true,
    -- If they require a weapon equipped to smash
    WeaponEquipped = {
        enabled = true,
        -- Defined weapon needed
        item = "weapon_crowbar"
    },
    -- All Set Props that can be smashed
    InfrastructureProps = {
        `prop_phonebooth_01`,
        `prop_phonebooth_02`,
        `prop_phonebooth_03`,
        `prop_phonebooth_04`,
        `prop_phonebox_01`,
        `prop_phonebox_02`,
        `prop_payphone_01`,
        `prop_payphone_02`,
        `prop_vend_water_01`,
        `prop_vend_water_02`,
        `prop_vend_water_03`,
        `prop_vend_soda_01`,
        `prop_vend_soda_02`,
        `prop_vend_soda_03`,
        `prop_vend_soda_04`,
        `prop_vend_soda_05`,
        `prop_vend_soda_06`,
        `prop_vend_soda_07`,
        `prop_vend_coffee_01`,
        `prop_vend_snack_01`,
        `prop_vend_fags_01`,
        `prop_vend_pizza_01`,
        `prop_parking_meter_01`,
        `prop_parking_meter_02`,
        `prop_parking_meter_03`,
        `prop_parking_meter_04`,
        `prop_parknmeter_01`,
        `prop_mailbox_01`,
        `prop_mailbox_02`,
        `prop_mailbox_03`,
        `prop_mailbox_04`,
        `prop_postbox_01`,
        `prop_postbox_02`,
        `prop_letterbox_01`,
        `prop_letterbox_02`
    },
    -- Progressbar Titles Per Progressbar
    ProgressTitles = {
        [`prop_phonebooth_01`] = "Breaking into phone box",
        [`prop_phonebooth_02`] = "Breaking into phone box",
        [`prop_phonebooth_03`] = "Breaking into phone box",
        [`prop_phonebooth_04`] = "Breaking into phone box",
        [`prop_phonebox_01`] = "Breaking into phone box",
        [`prop_phonebox_02`] = "Breaking into phone box",
        [`prop_payphone_01`] = "Breaking into phone box",
        [`prop_payphone_02`] = "Breaking into phone box",
        [`prop_vend_water_01`] = "Breaking open vending machine",
        [`prop_vend_water_02`] = "Breaking open vending machine",
        [`prop_vend_water_03`] = "Breaking open vending machine",
        [`prop_vend_soda_01`] = "Breaking open vending machine",
        [`prop_vend_soda_02`] = "Breaking open vending machine",
        [`prop_vend_soda_03`] = "Breaking open vending machine",
        [`prop_vend_soda_04`] = "Breaking open vending machine",
        [`prop_vend_soda_05`] = "Breaking open vending machine",
        [`prop_vend_soda_06`] = "Breaking open vending machine",
        [`prop_vend_soda_07`] = "Breaking open vending machine",
        [`prop_vend_coffee_01`] = "Breaking open vending machine",
        [`prop_vend_snack_01`] = "Breaking open vending machine",
        [`prop_vend_fags_01`] = "Breaking open vending machine",
        [`prop_vend_pizza_01`] = "Breaking open vending machine",
        [`prop_parking_meter_01`] = "Breaking open parking meter",
        [`prop_parking_meter_02`] = "Breaking open parking meter",
        [`prop_parking_meter_03`] = "Breaking open parking meter",
        [`prop_parking_meter_04`] = "Breaking open parking meter",
        [`prop_parknmeter_01`] = "Breaking open parking meter",
        [`prop_mailbox_01`] = "Breaking into mailbox",
        [`prop_mailbox_02`] = "Breaking into mailbox",
        [`prop_mailbox_03`] = "Breaking into mailbox",
        [`prop_mailbox_04`] = "Breaking into mailbox",
        [`prop_postbox_01`] = "Breaking into mailbox",
        [`prop_postbox_02`] = "Breaking into mailbox",
        [`prop_letterbox_01`] = "Breaking into mailbox",
        [`prop_letterbox_02`] = "Breaking into mailbox"
    },
    -- Cooldown settings for smashing infrastructure
    Cooldown = {
        enabled = true, -- master toggle
        amountcanrob = 5, -- searches before player cooldown
        playercooldown = 30, -- minutes (player cooldown)
        cooldown = 15, -- minutes (global porch piracy cooldown) (removes the prop globally for everyone and respawns after cooldown time)
        CooldownNotify = true -- Sends a notify to the player when they rob a box how many more they can rob before cooldown
    },
    -- Configurable Rewards for smashing infrastructure
    Rewards = {
        Common = {
            chance = 70,
            items = {
                { item = "plastic", min = 1, max = 5 },
                { item = "metalscrap", min = 1, max = 4 },
                { item = "weapon_knife", min = 1, max = 6 },
            }
        },
        Uncommon = {
            chance = 25,
            items = {
                { item = "goldbar", min = 1, max = 2 },
            }
        },
        Rare = {
            chance = 10,
            items = {
                { item = "phone", min = 1, max = 1 },
                { item = "radio", min = 1, max = 1 },
            }
        },
        SuperRare = {
            chance = 5,
            items = {
                { item = "weapon_pistol", min = 1, max = 1 },
            }
        }
    },
    -- Dispatch chances for smashing infrastructure
    DispatchChance = {
        enabled = true,
        chance = 50, -- percent chance to call dispatch on robbery
        title = "Infrastructure in Progress",
        description = "A player has broken into infrastructure!",
        urgency = 1,
        jobs = "police"
    }
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kierandev.gitbook.io/documentation/tmc-resources/petty-crime/config-options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
