Install phone, garage and housing scripts on FiveM

How to install a phone, garage or housing script on your FiveM server: dependencies, start order, SQL, config, items and spotting risky scripts.

EliteStarHosting Team4 December 20264 min read
FiveM server hosting from €5 a month: view the plans

A phone, garages and houses make a roleplay server complete. The recipes already include some (December 2026):

  • ESX Legacy: esx_garage and esx_property, in resources/[esx_addons]. Since 4 November 2026, the recipe no longer includes a phone.
  • Qbox: qbx_garages and qbx_properties, in resources/[qbx].
  • QBCore: qb-garages, qb-houses, qb-apartments and qb-phone, in resources/[qb]. That recipe was removed from txAdmin on 29 October 2026, but existing servers still have these scripts.

Need a server? Our FiveM server hosting starts at €5 a month, with txAdmin ready to go. You can also try one free for 24 hours.

Want something else? You install every script the same way. As an example we use sd-phone: a free phone (GPL-3.0) for Qbox, QBCore, ESX, ox_core and ND. In December 2026, version 1.1.3 is the newest.

How to install a script

  1. Read the installation page and write down what the script needs. sd-phone needs ox_lib (3.39.0 or newer), oxmysql and sd-phone-props.
  2. Download the release: the .zip file under Assets, not Source code. For many scripts with their own screen, the source code lacks that screen: sd-phone then opens blank.
  3. Upload and unpack: in the game panel, open Files, go to resources and upload the .zip file with Upload and Upload Files. Click the three dots ..., choose Unarchive and then delete the .zip file.
  4. Start order: go to server.cfg editor, click Manual Edit and put the script's ensure lines below those of your framework and of its dependencies. Click Save. This file contains your license key: never share it.
  5. Database: if the script has a .sql file, import it with Import Database and Merge, or in HeidiSQL. Many scripts create their tables themselves, such as sd-phone and qbx_properties.
  6. Config: in config.lua or the config folder, choose your framework, inventory and target, if the script offers that choice.
  7. Items: with ox_inventory, put new items in ox_inventory/data/items.lua and their images in ox_inventory/web/images, as in Install ox_inventory and ox_target. sd-phone needs eight phone items, from phone_black to phone_yellow.
  8. Restart your server and check the console for red lines.

For sd-phone, these lines go at the bottom of your server.cfg. ox_lib and oxmysql are already in the ESX Legacy and Qbox recipes; with QBCore, install ox_lib first.

ensure sd-phone-props
ensure sd-phone

The Import database window with Upload File, Merge or Wipe and the Import Database button

Does a script ask for a key from another service? sd-phone wants a Fivemanage key for photos in configs/server/apikeys.lua. Such a key is secret: never share that file.

Trustworthy or risky?

This is how you recognise a good script:

  • It comes from the maker: their GitHub or web store, the Cfx Marketplace or the Releases on the Cfx.re forum. Leaked scripts often contain a backdoor, see Keep your FiveM server clean and safe.
  • There has been a recent release or commit, and questions under Issues get answers. Does GitHub show Public archive next to the name? Then the script is no longer maintained.
  • The instructions name your framework: ESX Legacy, Qbox or QBCore.
  • For Qbox, it works with ox_inventory, ox_target and ox_lib. If a script only knows qb-inventory, qb-target or qb-menu, you need a different version.
  • It uses oxmysql. Does a script still ask for mysql-async? Then it's old: mysql-async hasn't had a new release since 2020.

Be wary of a free script with code you can't read when there's no .fxap file with it. That file belongs to Cfx.re's own protection. Never share your license key or database password, not even with a script maker.

Buy paid scripts from the maker or on the Cfx Marketplace: Cfx.re's rules say paid scripts must be sold through Tebex. They and are often protected with Asset Escrow. Your license key must then belong to the same Cfx.re account as your purchase. Upload the .zip file in one piece and only unpack it on the server, as in Get paid FiveM scripts (escrow) working.

Common problems

  • Phone or menu stays blank: you uploaded the source code (the green Code button). Download the .zip file from the release.
  • **Could not find dependency ox_lib for resource sd-phone.**: a dependency is missing or has a different name. Install it under exactly that name and put its ensure line above.
  • **Table '...' doesn't exist**: the script doesn't create its tables itself. Import the .sql file that comes with it.
  • Item without an image, or an unknown item: the item isn't in ox_inventory/data/items.lua, or the image doesn't have exactly the item's name.

You find other messages in FiveM server errors in the console.

Your own server for this? FiveM server hosting from €5 a month.

Online within minutes, DDoS protection included, no contract.