DOC - document GIPHY Lua configuration

This commit is contained in:
Leon.Schmidt
2026-08-06 18:31:19 +02:00
parent dee819fb78
commit bebd265c47
+6 -5
View File
@@ -15,14 +15,15 @@ An iFruit account is optional. Unlinked devices retain local settings, alarms, m
## Messages GIF provider
GIF search keeps its credential server-side. Add this convar to `server.cfg`:
Configure GIF search in `sky_phone/config/config.lua`:
```cfg
set sky_phone_giphy_api_key "YOUR_GIPHY_API_KEY"
```lua
Config.Media.GiphyApiKey = "YOUR_GIPHY_API_KEY"
```
GIPHY provides trending and searched GIFs through a paginated server-side proxy, so the API key is
not included in the NUI bundle. Photo and video actions in Messages are intentionally inactive
GIPHY provides trending and searched GIFs through a paginated server-side proxy. The shared
`config.lua` is loaded by both FiveM runtimes, so its values are available to clients even though
only the server uses the GIPHY key. Photo and video actions in Messages are intentionally inactive
until their dedicated implementation is available.
Database migrations run automatically. Existing `sky_phone_mail_accounts` installations are renamed to `sky_phone_accounts` while preserving account IDs and mail foreign keys. iFruit passwords are intentional in-character credentials and remain plaintext `VARCHAR(64)` values; registration screens warn players never to reuse a real password.