mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-08-28 17:01:18 +00:00
FIX - add Chrome 103 rendering fallbacks
This commit is contained in:
@@ -1,5 +1,22 @@
|
||||
# sky_phone
|
||||
|
||||
## Payphones
|
||||
|
||||
Payphone dialing is validated against server-owned booth positions. Vanilla GTA V positions live
|
||||
in `sky_phone/config/payphones.lua`; the server compares its own player coordinates with this list
|
||||
and does not trust coordinates or models sent by the NUI or client.
|
||||
|
||||
For a custom map or MLO, add each booth to `Config.Payphones.Locations` in that server-only file:
|
||||
|
||||
```lua
|
||||
{ model = "prop_phonebox_01a", coords = { x = 123.45, y = 678.90, z = 21.0 } },
|
||||
```
|
||||
|
||||
The model must also be present in `Config.Payphones.Props`. Coordinates must be finite Lua numbers
|
||||
inside the supported world bounds. Restart `sky_phone` after changing the list. If payphones are
|
||||
enabled but the list is empty or contains invalid entries, the server logs a visible warning and
|
||||
rejects calls that cannot be matched to a valid configured location.
|
||||
|
||||
## Custom Apps
|
||||
|
||||
`sky_phone` erkennt Registrierungen gestarteter Fremd-App-Ressourcen über integrierte
|
||||
@@ -167,23 +184,25 @@ and restart the resource after updating the configuration.
|
||||
- When `Config.Sim.Enabled = true`, two unique, non-stackable inventory items named `sky_phone_sim_registered` and `sky_phone_sim_anonymous`. Their metadata is initialized automatically on first use, so shops and crafting recipes add plain items without supplying a number. These item definitions are not required when SIM cards are disabled.
|
||||
- `oxmysql` with MySQL/MariaDB.
|
||||
- `pma-voice` when `Config.Calls.VoiceProvider` is set to `"pma"`.
|
||||
- A FiveManage V3 Media API token for Camera photo/video uploads and Gallery deletion. Set the
|
||||
server-only `Config.Media.FiveManage.ApiKey` in `sky_phone/config/media.lua`; the token is never
|
||||
sent to NUI because clients receive temporary presigned upload URLs instead.
|
||||
- A FiveManage V3 Media API token for Camera photo/video uploads and Gallery deletion. Set it as a
|
||||
server-only convar; the token is never sent to NUI because clients receive temporary presigned
|
||||
upload URLs instead:
|
||||
|
||||
```cfg
|
||||
set sky_phone_fivemanage_api_key "replace-with-your-media-token"
|
||||
```
|
||||
- `yaca-voice`, `pma-voice`, or `saltychat` when the Radio app is enabled. `Config.Radio.VoiceProvider = "auto"` selects the first running provider in that order.
|
||||
|
||||
## Messages GIF provider
|
||||
|
||||
Configure GIF search in `sky_phone/config/config.lua`:
|
||||
Configure GIF search as a server-only convar:
|
||||
|
||||
```lua
|
||||
Config.Media.GiphyApiKey = "YOUR_GIPHY_API_KEY"
|
||||
```cfg
|
||||
set sky_phone_giphy_api_key "replace-with-your-giphy-api-key"
|
||||
```
|
||||
|
||||
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.
|
||||
GIPHY provides trending and searched GIFs through a paginated server-side proxy. Only the server
|
||||
reads the key. Photo and video actions in Messages use media captured by the Camera app.
|
||||
|
||||
Database migrations run automatically. Existing `sky_phone_mail_accounts` installations are renamed to `sky_phone_accounts` while preserving account IDs and mail foreign keys. The migration also creates `sky_phone_character_devices` for persistent non-unique phone mappings and marks automatic SIMs through `sky_phone_sims.is_virtual`. iFruit passwords are intentional in-character credentials and remain plaintext `VARCHAR(64)` values; registration screens warn players never to reuse a real password.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user