ngddocs/ngdredemption.md

2.6 KiB

title description published date tags editor dateCreated
ngd-redemption true 2025-01-28T04:06:10.242Z markdown 2025-01-28T00:30:34.910Z

This guide assumes you already have a Tebex store integrated with FiveM. If you do not, please refer to their documentation.


Installation Steps

  1. Install ngd-Bridge
    Follow the guide to install ngd-Bridge HERE.

  2. Install ngd-redemption
    Place ngd-pillboxaddon into your [ngd] folder. This script must be started after ngd-Bridge.

  3. Modify Tebex Listings

Add Commands (Click to Expand)
  • Select Tebex listing you wish to add.
  • At the bottom of the screen, click on Game Server Commands
  • Once that opens, click on the gear to expand more options. -- Make sure the package delivery option is set to deliver even if the player is offline -- Inside of the when package is purchased field, put the following:
NGDRedemption {packageId} {transaction}

See Example:

  1. Modify Tebex Listings

  2. Add the jobs into your framework.

Job Configuration (QB/QBX) (Click to Expand)

QB (old jobs.lua)


QB (new jobs.lua)


QBX


Job Configuration (ESX) (Click to Expand)

(If this doesn't work for you, you will need to build them manually into your modified database)


  1. Add the items into your framework/inventory.
Items List (OX) (Click to Expand)

Items List (QB-NEW) (Click to Expand)


    
Items List (QB-OLD) (Click to Expand)



Configuration Notes

  • Extensive Configuration Options
    Open and configure all the Config files to match your server's settings.

  • Customizable Menu Images
    The images used in the menus can be replaced. They are located in the web/menuimages folder.

Do you still need help? Open a ticket in our Discord {.is-warning}