Photos and branding
Photos and branding in Eleven Police MDT for FiveM: the FiveManage key with set, your own image storage, name and logo with Config.Branding and the notice.
Tablet photos
File photos, the gallery, bodycams and the photo studio are always uploaded by the server. The player only sends the image; the key never reaches clients.
With FiveManage
Put the key in your server.cfg:
set eleven_police_fivemanage_key "your-key"
Important
Use set, never setr: with setr the key is replicated to every player. If you ever had it as setr, change it to set and generate a new key in FiveManage.
The server needs outbound HTTPS to fmapi.net. Without a key, photos are not uploaded and the rest of the tablet works; the console warns you on start.
With your own store
If you would rather keep the images on your own web server:
Config.FotosAlmacen = 'https://your-domain.com/api/photos'
set eleven_police_photo_secret "a-long-token"
The tablet sends a POST to that URL with ?token=<your token> and a JSON body { "image": "<base64>", "crop": … }. Your store must reply 200 with { "url": "https://your-domain.com/…" }, on the same host as Config.FotosAlmacen. With your own store, FiveManage is not used.
Config.FotosHostsPermitidos lists the hosts photos are accepted from (by default FiveManage, imgur and Discord, plus your store's).
Branding
Config.Branding = {
name = 'My Police MDT', -- header, Settings and command palette
subtitle = 'SECURE CHANNEL', -- line under the name on start-up
logo = 'https://your-domain.com/logo.webp',
}
Everything is optional: whatever you leave out uses the default ("Eleven Police MDT"). Use an https URL for the logo. It is also the default logo on diplomas and contracts. Each department's logo goes in image in Config.Departments.
Settings → Eleven Project
The tablet's Settings have a section with the installed version and a suggestion for Eleven Phone (the phone the tablet uses for fine notices). To keep only the version:
Config.ShowPhoneAd = false
Hiding the HUD in photos
When taking a capture, the tablet fires the eleven_police:screenshots:toggleHUD event so your HUD can hide itself. If your HUD hides with a command, set it in Config.ToggleHUDCommand.