Installation
Last updated
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.
Ox Lib (Required, Works anywhere).
Kadfilm's FX Lights https://github.com/kadfilm/kad_fxlights
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.
Drag and drop the resource and rename it to pickle_dj.
Install Kadfilm's FX Lights as a seperate resource named kad_fxlights https://github.com/kadfilm/kad_fxlights
Create a Cloudflare account (if you haven't already)
Go to the TURN Server page https://dash.cloudflare.com/?to=/:account/realtime/turn
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).
Click the "Create" button to the right of Overview and Analytics, the name is whatever you prefer.

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
}
}
Click "Finish" on the bottom right of that page.
Ensure both pickle_dj and kad_fxlights in the server.cfg
All set, restart the script and enjoy!
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