Installation
Install Eleven Phone on your FiveM Qbox server: the resource, the phone item in ox_inventory, server.cfg convars, the keybind and a first test call.
This guide installs Eleven Phone, the phone script for FiveM Qbox servers, in a few minutes. Check the Requirements first.
What your server needs
| Framework | Qbox (qbx_core). It does not work with QBCore or ESX |
| Database | MySQL or MariaDB, through oxmysql |
| FiveM artifact | The current recommended FXServer artifact |
| Required | qbx_core, oxmysql and ox_lib (listed in dependencies in fxmanifest.lua) |
1. Download from Keymaster
After purchase, the resource is assigned to your Cfx.re account. Download it from Keymaster → Granted Assets. The zip contains the eleven-phone folder. If this is your first encrypted script, the Install with Keymaster guide covers the server license key and the artifacts you need.
Important
Don't rename the folder. The exports (exports['eleven-phone']) and the inventory item (eleven-phone.UsePhoneItem) rely on that name.
2. The resource
Copy eleven-phone into your resources folder and add it to server.cfg, after its dependencies:
# Required: without them the phone does not start
ensure ox_lib
ensure oxmysql
ensure qbx_core
# Recommended: the phone starts without them and says on screen what is missing
ensure pma-voice # voice in calls
ensure screenshot-basic # the Camera
ensure ox_inventory # the phone as an item
ensure eleven-phone
Start the server. The first time, you'll see a line like this in the console:
[eleven-phone] base de datos: 63 tabla(s) creada(s), 0 columna(s) añadida(s), 0 ajustada(s)
That's all the database needs: there's no .sql to run, neither on install nor on update. The resource reads its sql/schema.sql on start and creates whatever is missing. If you don't see that line and the apps say they can't open, your oxmysql isn't responding.
3. The phone as an item
This is the only step the resource can't do for you, because ox_inventory/data/items.lua is yours. Open the ox_inventory_items.lua shipped in the phone folder and paste its contents inside the return {} of your ox_inventory/data/items.lua. Then restart ox_inventory.
This is the part that matters:
['phone'] = {
label = 'Telefono',
weight = 190,
stack = false,
close = true,
consume = 0,
description = 'Tu telefono. Usalo para abrirlo.',
client = { export = 'eleven-phone.UsePhoneItem' },
},
- If you already have a
phoneitem (many ox_inventory setups ship one), keep yours and just add theclientline. Without it the item exists but using it opens nothing. - Don't remove
consume = 0. ox_inventory setsconsume = 1on every item with aclient.export, and the phone would be used up on first use. - The file also includes seven license cards (
license_car,license_bike,license_bus,license_boat,license_plane,license_hunt,license_fishing). They're optional: they only let the Licenses app tell whether you're carrying the physical card.
Note
Item images are not included: ox_inventory looks them up in its web/images/ by item name (phone.png). Without an image the item has no icon and works the same. Feel free to translate the label and description.
Tip
Want the phone to open without carrying anything? Set Config.Item = { Enabled = false } in your config.lua and skip this step.
4. server.cfg convars
Add the convars for whatever you'll use (see Requirements):
# Photos, videos and voice notes (required for the camera)
setr eleven_phone_fivemanage_key "YOUR_KEY"
# TURN relay for video calls and livestreams (optional)
set eleven_phone_turn_token_id "…"
set eleven_phone_turn_api_token "…"
# Optional: token for your own photo and video storage
set eleven_phone_media_secret "YOUR_SECRET"
# Optional: CoinGecko key for the Crypto app
set eleven_phone_coingecko_key "…"
eleven_phone_media_secretis only needed if you store files on your own storage instead of FiveManage. See Your own storage.eleven_phone_coingecko_keyis not required: Crypto works without a key. See Crypto.
5. The key
By default the phone opens with F1 and with the /phone command. Each player can rebind the key in FiveM's keyboard settings. To change the default:
Config.Keybind = 'F2'
Config.Command = 'phone'
6. Test it
- Check the server console on the first start: the
[eleven-phone] base de datos: …line from step 2 must be there. - Join the server with the
phoneitem in your inventory and use it (or press F1). The phone opens and asks you to create a PIN. - Call another player from the Phone app. With
pma-voicerunning, you can hear each other.
If something doesn't respond, see Troubleshooting.
7. Your systems and catalogs
Out of the box the phone only relies on the framework, so it works without touching anything: qbx_core's bank charges and pays, and vehicles come from player_vehicles. When you want to fine-tune it:
- External systems: bank, cards, garages, keys and CAD.
- Catalogs: the businesses in Services, the radio show and the driving school.
- Coverage: the cell towers on your map. It ships off.
Keymaster entitlement error
If the console says something like this on start:
You lack the required entitlement to use eleven-phone
the server isn't allowed to run the encrypted resource. Check the following:
- The server license key (
sv_licenseKey) was created with the same Cfx.re account that bought the resource. Keys are listed under Keymaster → Server Keys. - The resource appears under Keymaster → Granted Assets for that account.
- You downloaded the zip from Keymaster and didn't rename the folder.
- If it's a subscription, it's still active.
- Restart the whole server after changing the license key.
More causes and fixes in Install with Keymaster. If everything checks out and it still fails, open a ticket on our Discord with a screenshot of the error.
Updating later
When a new version comes out, back up your database, replace the folder keeping your config.lua and paste the items again if the version adds new ones. The steps are in Updating.