CodeM BLVCK MDT
Store BLVCK Police MDT mugshots, photos and CCTV recordings on BasiX with its CustomProvider upload option.
You need a BasiX API key for this. Free account, 3 GB included, no card.Get your key →
1.Create a key
Create an upload-scoped key in your client area. Upload-scoped keys work on every plan, including the free one, and cannot delete anything — which is what you want in a file that ends up in a resource folder.
2.Choose CustomProvider
CodeM documents three upload providers: `FivemanageNew` (presigned URLs), `FivemanageLegacy` (direct upload) and `CustomProvider` (your own endpoint), all configured in `MediaConfig` and `MediaUploadProviders`. Select `CustomProvider`.
3.Give it the BasiX endpoint
Put the BasiX upload URL in the endpoint field of `CustomProvider`, and your key in `config/Media/ServerApi.lua`, where the installation guide keeps the media key.
texthttps://upload.basix.media/api/v3/file
Worth knowing
- The field names inside `CustomProvider` are not in the public documentation. BasiX accepts the file part under any name and the key as `Authorization` (raw, `Bearer` or `Key`) or `X-Api-Key`, and returns the URL at the top level and under `data`.
- If your copy expects a presigned flow, the BasiX presigned endpoint is `https://upload.basix.media/api/v3/file/presigned-url`.
- Source: https://codem.gitbook.io/codem-documentation/blvck/essentials/pd-mdt/systems and https://codem.gitbook.io/codem-documentation/blvck/essentials/pd-mdt/installation
Configuration last checked against the upstream project on 2026-10-27.
Try it on your own server
Create a free account and your API key is ready in about two minutes. 3 GB included, bandwidth never billed, no card needed.
Something not working, or a script not listed? Read the full FiveM docs or ask us — we will wire it up with you.