From bebd265c47d0a410f42ab43b53bee2e9a1b97bec Mon Sep 17 00:00:00 2001 From: "Leon.Schmidt" Date: Thu, 6 Aug 2026 18:31:19 +0200 Subject: [PATCH] DOC - document GIPHY Lua configuration --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1893f5b..3c4153b 100644 --- a/README.md +++ b/README.md @@ -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.