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

Installation

Read carefully to ensure you've done everything required. This resource is NOT drag & drop as it requires you to setup the API key for Cloudflare TURN.

Requirements

  • Ox Lib (Required, Works anywhere).

  • Cloudflare TURN (This is free for up to 1000GB per month at the time of this writing, easy to setup)

  • No framework required! Items work with ESX / QB but can be ran item-less for standalone servers automatically.

Installation

  1. Drag and drop the resource and rename it to pickle_dj.

  2. Install Kadfilm's FX Lights as a seperate resource named kad_fxlights https://github.com/kadfilm/kad_fxlights

  3. Create a Cloudflare account (if you haven't already)

  4. You will be asked to include a payment method, however you won't be charged unless you go over their usage limit that month (1000GB at the time of this writing).

  5. Click the "Create" button to the right of Overview and Analytics, the name is whatever you prefer.

  6. Then, open config_sv.lua and set the corresponding values in ConfigSV.StreamingServer

    ConfigSV.StreamingServer = {
        mode = "cloudflare",
        cloudflare = {
            turnTokenId = "TURN_TOKEN_HERE", -- Turn Token ID
            apiToken = "API_TOKEN_HERE", -- API Token
        }
    }

  7. Click "Finish" on the bottom right of that page.

  8. Ensure both pickle_dj and kad_fxlights in the server.cfg

  9. All set, restart the script and enjoy!

Disclaimer

We are not responsible for you going over your limits with Cloudflare's TURN service, please be responsible, monitor, and manage your usage.

Last updated