DocumentationFrameworks & intégrations

Frameworks & intégrations

Le téléphone ne dépend d'aucun framework en particulier. Tout ce qui touche à votre serveur passe par des providers, livrés en clair dans le dossier zs-phone/bridge/.

Détection automatique

Au démarrage, le téléphone choisit seul ses providers en regardant quelles ressources tournent. Dans le cas général, vous n'avez rien à configurer.

La console affiche le résultat :

code
[zs-phone] framework=esx inventory=ox_inventory housing=qs-housing garage=native banking=okokBanking billing=esx_billing society=esx_society voice=pma

Ordre de détection du framework

PrioritéRessource présenteProvider retenu
1core et es_extendedklmstudios
2qbx_coreqbox
3qb-coreqb
4ox_coreox
5es_extendedesx
6vrpvrp2
7aucunestandalone

Forcer un provider

Chaque axe est indépendant et se force dans zs-phone/config/config.lua :

lua
Config.Phone.Framework = 'auto' -- auto | klmstudios | esx | qb | qbox | ox | vrp2 | standalone
Config.Phone.Inventory = 'auto' -- auto | ox_inventory | qb-inventory | lj-inventory | qs-inventory | codem-inventory | core_inventory | mf-inventory | false
Config.Phone.Housing   = 'auto' -- auto | klmstudios | loaf_housing | qb-houses | qs-housing | vms_housing | rtx_housing | false
Config.Phone.Garage    = 'auto' -- auto | klmstudios | cd_garage | jg-advancedgarages | qs-advancedgarages | loaf_garage | native
Config.Phone.Banking   = 'auto' -- auto | klmstudios | esx | qb | qb-banking | Renewed-Banking | okokBanking | ox | internal
Config.Phone.Billing   = 'auto' -- auto | klmstudios | esx_billing | qb | internal
Config.Phone.Society   = 'auto' -- auto | klmstudios | esx_society | qb-management | internal
Config.Phone.Voice     = 'auto' -- auto | pma | mumble | salty | toko

Ce que chaque framework fournit

klmstudiosesxqbqboxoxvrp2standalone
Identité, nom du personnage✅✅✅✅✅✅✅
Argent (Portefeuille)✅✅✅✅✅✅⚠️
Métier, grade (Services, Jobby)✅✅✅✅✅⚠️❌
Véhicules (Garage)✅✅✅✅✅✅❌
Propriétés (Maison)✅via housingvia housingvia housingvia housing❌❌

⚠️ = partiel · ❌ = application inactive

Clé d'identité par framework

Le téléphone est rattaché à un personnage. La valeur utilisée dépend du framework :

FrameworkClé
KLMSTUDIO, ESXidentifier
QBCore, Qboxcitizenid
ox_corecharId
vRP 2vrp_<user_id>
Standalonelicence FiveM

Détail par intégration

DMCA.com Protection Status