> For the complete documentation index, see [llms.txt](https://docs.tzmc.dev/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tzmc.dev/docs/qb-core/amazon-delivery/config.md).

# Config

```lua
TZMCAmazonDeliveryConfig = {}

--[[
 
    INSTALLATION
 
    1.  Navigate to .../[qb]/qb-core/shared/items.lua
    2.  Scroll to the bottom of the item list and paste the following text - https://pastebin.com/ufjJ7V6p - It should look like this https://ibb.co/g3frFBv (Bear in mind you can alter the weight of the parcel)
    3.  Once added, navigate to .../[qb]/qb-inventory/html/images/ - Paste the following picture into the images folder hhttps://ibb.co/RBk60zc. Make sure the file is called 'parcelBox.png'
    4.  Once added, navigate to .../[qb]/qb-inventory/html/js/app.js
    5.  Scroll down to around line 400 where you should see a function called 'FormatItemInfo'. Paste the following text before you see the words 'else if' - https://pastebin.com/sh0386va - It should look like this https://ibb.co/ZhdB0Wj
    6.  You are now done.
 
]]--

TZMCAmazonDeliveryConfig.MaxDeliveries = 5
TZMCAmazonDeliveryConfig.PaymentType = 'bank'
TZMCAmazonDeliveryConfig.MinimumPayment = 250
TZMCAmazonDeliveryConfig.MaximumPayment = 750
TZMCAmazonDeliveryConfig.CompletedPaymentAmount = 1000 -- This is bonus given to the player for completing all deliveries
TZMCAmazonDeliveryConfig.QuitCooldownTime = 900 -- When a player quits, they will need to wait this long to do another job. This prevents players from trying to get an easy delivery run by quitting and trying again every time.

-- COMAND --

TZMCAmazonDeliveryConfig.StopJobCommand = 'stopjob'
TZMCAmazonDeliveryConfig.StopJobCommandHelpText = "Stop the job you're currently active on"

-- NOTIFICATIONS --

TZMCAmazonDeliveryConfig.UseQBNotify = true
TZMCAmazonDeliveryConfig.NotificationEvent = "" -- If you're using your own notification system, enter the event here. If you leave this blank and set QBNotify to false this will use the FiveM chat to notify the player. The parameters are (text, status) Status can be either 'success' or 'error'.

TZMCAmazonDeliveryConfig.SuccessTitle = 'Success'
TZMCAmazonDeliveryConfig.ErrorTitle = 'Error'
TZMCAmazonDeliveryConfig.ForgotParcel = "Seems you forgot to collect the customer's parcel..."
TZMCAmazonDeliveryConfig.AlreadyInJob = "You're in a job already"
TZMCAmazonDeliveryConfig.RecentlyQuitJob = "You recently quit a job"
TZMCAmazonDeliveryConfig.JobStarted = "Job started, head to the first delivery spot ("..TZMCAmazonDeliveryConfig.MaxDeliveries.." parcels required)"
TZMCAmazonDeliveryConfig.NotInJob = "You're not in a job"
TZMCAmazonDeliveryConfig.NextDelivery = "Deliver the next package"
TZMCAmazonDeliveryConfig.CurrentPoint = "Delivery point"
TZMCAmazonDeliveryConfig.FullDeliveryCompleted = "Delivery completed! You have earned a bonus of $"..TZMCAmazonDeliveryConfig.CompletedPaymentAmount..' for completing all deliveries'
```


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.tzmc.dev/docs/qb-core/amazon-delivery/config.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
