Installation
Download
There are two ways to get the phone. Pick one. If you are not sure, use the Release.
Recommended: the Release (already built, ready to drop in)
This is what almost everyone should use. It is the phone fully built, with nothing left to compile. Just download, unzip, and drop it in.
- Go to the Releases page.
- Open the latest release, expand Assets, and download the file named
sd-phone.zip. - Unzip it. You get a folder called
sd-phone. Drop that folder into your server'sresources. - Skip the rest of this section and continue with Dependencies below.
Download sd-phone.zip, NOT "Source code (zip)"
Every release also shows a Source code (zip) / Source code (tar.gz) link. That one is not built and the phone will open to a blank black screen if you use it. Only download the asset named sd-phone.zip. If you genuinely want to edit the code, read the next part.
Building from source (only if you want to edit the code)
The Source code download and git clone give you the raw project. They do not include the built phone screen (the web/build folder), so if you drop them in as-is the phone opens to a blank screen. You have to build it once yourself. It is easy, just follow these steps exactly.
First, install Node.js. Download it from nodejs.org and install the LTS version (the big green button). This gives you the npm command used below. After installing, close and reopen any terminal you had open.
Then build the phone:
Get the source: either download the ZIP from the repo (green Code button > Download ZIP) and unzip it, or run
git clone https://github.com/Samuels-Development/sd-phone.git.If you downloaded the ZIP, the folder is named
sd-phone-main. Rename it tosd-phone, or the resource will not start in-game.Open a terminal inside the
webfolder of the resource. On Windows, any of these works, pick whatever is easiest:- Copy the path and
cdto it (easiest): find thewebfolder insidesd-phone, right-click it and choose Copy as path (this copies the path with quotes already added). Open Command Prompt or PowerShell, typecd(with a space after it), paste the path, and press Enter. Example:cd "C:\FiveM\resources\sd-phone\web". - Or open the
webfolder in File Explorer, click the address bar, typecmd, and press Enter. - Or right-click inside the
webfolder and choose Open in Terminal.
You are in the right place when the terminal line ends with
...\sd-phone\web>.- Copy the path and
Run these two commands, one at a time, waiting for each to finish:
npm install
npm run build- When the second command prints something like
built in 6.07s, you are done. A newweb/buildfolder has appeared. That is the compiled phone. - Drop the whole
sd-phonefolder into your server'sresourcesand continue with Dependencies.
Edited the code later? Rebuild.
Every time you change the phone's files, run npm run build again inside the web folder. The server loads the compiled web/build folder, not your raw source edits, so nothing changes in-game until you rebuild.
Phone screen is blank or black?
This almost always means the web/build folder is missing, because the build was skipped or the "Source code" zip was used. Build it with the steps above, or just download the Release zip instead.
Dependencies
Hard requirements, both must start before the phone:
| Resource | Purpose |
|---|---|
| ox_lib | require loader, callbacks, notifications |
| oxmysql | database access |
| sd-phone-props | streams the in-hand phone models, one per frame colour |
The phone auto-detects the running framework (qb-core, qbx_core, ESX, ox_core, ND) and whichever inventory, banking, housing, garage, and voice resources are installed; there is nothing to configure for the common setups, ND included. Only ox_core needs a step: map your group types to jobs and gangs in configs/framework.lua. Calls and the Radio app carry audio over pma-voice.
1 Add the Resource
Place sd-phone and sd-phone-props in your resources folder and ensure them after the dependencies:
ensure ox_lib
ensure oxmysql
ensure sd-phone-props
ensure sd-phoneNo SQL to import
Database tables create themselves on first boot. The only SQL on this page is the ESX item list below, and that is for your inventory, not the phone.
2 Add Items
Register one item per phone you want on your server. The item decides what the phone is: its frame colour, whether it folds, and which design it has.
| Item | What it is |
|---|---|
phone_<colour> | the regular phone |
phone_fold_<colour> | the foldable: a hinge down the back, and it opens to twice the width |
phone_slate_<colour> | the Slate design: flat sides and a camera bar |
phone_slate_fold_<colour> | the Slate foldable |
There are 41 colours, so 164 items in all. Add as many or as few as you like; a phone that is not in your inventory simply cannot be given. The blocks below hold every item, grouped by kind, with the phone case item at the end; copy the whole block or just the groups you want. The same lists as files:
ox_inventory: all itemsqb-core / qbx_core: all itemsESX: all items (SQL)
Which version has what
Release 1.1.0 has the first eight regular colours. The other colours, the foldable and Slate items and phone cases are on the main branch and ship with the next release. Trimming the list is done in Items in configs/phone.lua.
-- sd-phone: every phone item for ox_inventory (data/items.lua). Add the ones you want to sell.
-- The item decides what the phone is: phone_<colour> regular, phone_fold_<colour> foldable,
-- phone_slate_<colour> the Slate design, phone_slate_fold_<colour> the Slate foldable.
-- Regular phones
['phone_black'] = {
label = 'Black Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_black' },
},
['phone_blue'] = {
label = 'Blue Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_blue' },
},
['phone_green'] = {
label = 'Green Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_green' },
},
['phone_orange'] = {
label = 'Orange Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_orange' },
},
['phone_pink'] = {
label = 'Pink Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_pink' },
},
['phone_purple'] = {
label = 'Purple Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_purple' },
},
['phone_red'] = {
label = 'Red Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_red' },
},
['phone_yellow'] = {
label = 'Yellow Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_yellow' },
},
['phone_white'] = {
label = 'White Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_white' },
},
['phone_silver'] = {
label = 'Silver Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_silver' },
},
['phone_graphite'] = {
label = 'Graphite Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_graphite' },
},
['phone_titanium'] = {
label = 'Titanium Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_titanium' },
},
['phone_gold'] = {
label = 'Gold Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_gold' },
},
['phone_rosegold'] = {
label = 'Rose Gold Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_rosegold' },
},
['phone_bronze'] = {
label = 'Bronze Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_bronze' },
},
['phone_mocha'] = {
label = 'Mocha Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_mocha' },
},
['phone_cream'] = {
label = 'Cream Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_cream' },
},
['phone_burgundy'] = {
label = 'Burgundy Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_burgundy' },
},
['phone_coral'] = {
label = 'Coral Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_coral' },
},
['phone_peach'] = {
label = 'Peach Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_peach' },
},
['phone_lime'] = {
label = 'Lime Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_lime' },
},
['phone_mint'] = {
label = 'Mint Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_mint' },
},
['phone_sage'] = {
label = 'Sage Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_sage' },
},
['phone_forest'] = {
label = 'Forest Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_forest' },
},
['phone_teal'] = {
label = 'Teal Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_teal' },
},
['phone_cyan'] = {
label = 'Cyan Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_cyan' },
},
['phone_skyblue'] = {
label = 'Sky Blue Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_skyblue' },
},
['phone_navy'] = {
label = 'Navy Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_navy' },
},
['phone_indigo'] = {
label = 'Indigo Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_indigo' },
},
['phone_lavender'] = {
label = 'Lavender Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_lavender' },
},
['phone_magenta'] = {
label = 'Magenta Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_magenta' },
},
['phone_rose'] = {
label = 'Rose Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_rose' },
},
['phone_jetblack'] = {
label = 'Jet Black Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_jetblack' },
},
['phone_pearl'] = {
label = 'Pearl Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_pearl' },
},
['phone_ruby'] = {
label = 'Ruby Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_ruby' },
},
['phone_sapphire'] = {
label = 'Sapphire Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_sapphire' },
},
['phone_blackgold'] = {
label = 'Black & Gold Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_blackgold' },
},
['phone_whitegold'] = {
label = 'White & Gold Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_whitegold' },
},
['phone_leather_brown'] = {
label = 'Brown Leather Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_leather_brown' },
},
['phone_leather_black'] = {
label = 'Black Leather Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_leather_black' },
},
['phone_leather_tan'] = {
label = 'Tan Leather Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_leather_tan' },
},
-- Foldable phones
['phone_fold_black'] = {
label = 'Foldable Black Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_black' },
},
['phone_fold_blue'] = {
label = 'Foldable Blue Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_blue' },
},
['phone_fold_green'] = {
label = 'Foldable Green Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_green' },
},
['phone_fold_orange'] = {
label = 'Foldable Orange Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_orange' },
},
['phone_fold_pink'] = {
label = 'Foldable Pink Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_pink' },
},
['phone_fold_purple'] = {
label = 'Foldable Purple Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_purple' },
},
['phone_fold_red'] = {
label = 'Foldable Red Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_red' },
},
['phone_fold_yellow'] = {
label = 'Foldable Yellow Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_yellow' },
},
['phone_fold_white'] = {
label = 'Foldable White Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_white' },
},
['phone_fold_silver'] = {
label = 'Foldable Silver Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_silver' },
},
['phone_fold_graphite'] = {
label = 'Foldable Graphite Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_graphite' },
},
['phone_fold_titanium'] = {
label = 'Foldable Titanium Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_titanium' },
},
['phone_fold_gold'] = {
label = 'Foldable Gold Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_gold' },
},
['phone_fold_rosegold'] = {
label = 'Foldable Rose Gold Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_rosegold' },
},
['phone_fold_bronze'] = {
label = 'Foldable Bronze Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_bronze' },
},
['phone_fold_mocha'] = {
label = 'Foldable Mocha Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_mocha' },
},
['phone_fold_cream'] = {
label = 'Foldable Cream Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_cream' },
},
['phone_fold_burgundy'] = {
label = 'Foldable Burgundy Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_burgundy' },
},
['phone_fold_coral'] = {
label = 'Foldable Coral Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_coral' },
},
['phone_fold_peach'] = {
label = 'Foldable Peach Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_peach' },
},
['phone_fold_lime'] = {
label = 'Foldable Lime Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_lime' },
},
['phone_fold_mint'] = {
label = 'Foldable Mint Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_mint' },
},
['phone_fold_sage'] = {
label = 'Foldable Sage Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_sage' },
},
['phone_fold_forest'] = {
label = 'Foldable Forest Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_forest' },
},
['phone_fold_teal'] = {
label = 'Foldable Teal Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_teal' },
},
['phone_fold_cyan'] = {
label = 'Foldable Cyan Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_cyan' },
},
['phone_fold_skyblue'] = {
label = 'Foldable Sky Blue Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_skyblue' },
},
['phone_fold_navy'] = {
label = 'Foldable Navy Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_navy' },
},
['phone_fold_indigo'] = {
label = 'Foldable Indigo Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_indigo' },
},
['phone_fold_lavender'] = {
label = 'Foldable Lavender Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_lavender' },
},
['phone_fold_magenta'] = {
label = 'Foldable Magenta Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_magenta' },
},
['phone_fold_rose'] = {
label = 'Foldable Rose Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_rose' },
},
['phone_fold_jetblack'] = {
label = 'Foldable Jet Black Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_jetblack' },
},
['phone_fold_pearl'] = {
label = 'Foldable Pearl Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_pearl' },
},
['phone_fold_ruby'] = {
label = 'Foldable Ruby Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_ruby' },
},
['phone_fold_sapphire'] = {
label = 'Foldable Sapphire Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_sapphire' },
},
['phone_fold_blackgold'] = {
label = 'Foldable Black & Gold Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_blackgold' },
},
['phone_fold_whitegold'] = {
label = 'Foldable White & Gold Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_whitegold' },
},
['phone_fold_leather_brown'] = {
label = 'Foldable Brown Leather Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_leather_brown' },
},
['phone_fold_leather_black'] = {
label = 'Foldable Black Leather Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_leather_black' },
},
['phone_fold_leather_tan'] = {
label = 'Foldable Tan Leather Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_fold_leather_tan' },
},
-- Slate phones
['phone_slate_black'] = {
label = 'Black Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_black' },
},
['phone_slate_blue'] = {
label = 'Blue Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_blue' },
},
['phone_slate_green'] = {
label = 'Green Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_green' },
},
['phone_slate_orange'] = {
label = 'Orange Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_orange' },
},
['phone_slate_pink'] = {
label = 'Pink Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_pink' },
},
['phone_slate_purple'] = {
label = 'Purple Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_purple' },
},
['phone_slate_red'] = {
label = 'Red Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_red' },
},
['phone_slate_yellow'] = {
label = 'Yellow Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_yellow' },
},
['phone_slate_white'] = {
label = 'White Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_white' },
},
['phone_slate_silver'] = {
label = 'Silver Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_silver' },
},
['phone_slate_graphite'] = {
label = 'Graphite Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_graphite' },
},
['phone_slate_titanium'] = {
label = 'Titanium Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_titanium' },
},
['phone_slate_gold'] = {
label = 'Gold Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_gold' },
},
['phone_slate_rosegold'] = {
label = 'Rose Gold Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_rosegold' },
},
['phone_slate_bronze'] = {
label = 'Bronze Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_bronze' },
},
['phone_slate_mocha'] = {
label = 'Mocha Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_mocha' },
},
['phone_slate_cream'] = {
label = 'Cream Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_cream' },
},
['phone_slate_burgundy'] = {
label = 'Burgundy Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_burgundy' },
},
['phone_slate_coral'] = {
label = 'Coral Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_coral' },
},
['phone_slate_peach'] = {
label = 'Peach Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_peach' },
},
['phone_slate_lime'] = {
label = 'Lime Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_lime' },
},
['phone_slate_mint'] = {
label = 'Mint Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_mint' },
},
['phone_slate_sage'] = {
label = 'Sage Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_sage' },
},
['phone_slate_forest'] = {
label = 'Forest Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_forest' },
},
['phone_slate_teal'] = {
label = 'Teal Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_teal' },
},
['phone_slate_cyan'] = {
label = 'Cyan Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_cyan' },
},
['phone_slate_skyblue'] = {
label = 'Sky Blue Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_skyblue' },
},
['phone_slate_navy'] = {
label = 'Navy Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_navy' },
},
['phone_slate_indigo'] = {
label = 'Indigo Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_indigo' },
},
['phone_slate_lavender'] = {
label = 'Lavender Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_lavender' },
},
['phone_slate_magenta'] = {
label = 'Magenta Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_magenta' },
},
['phone_slate_rose'] = {
label = 'Rose Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_rose' },
},
['phone_slate_jetblack'] = {
label = 'Jet Black Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_jetblack' },
},
['phone_slate_pearl'] = {
label = 'Pearl Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_pearl' },
},
['phone_slate_ruby'] = {
label = 'Ruby Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_ruby' },
},
['phone_slate_sapphire'] = {
label = 'Sapphire Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_sapphire' },
},
['phone_slate_blackgold'] = {
label = 'Black & Gold Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_blackgold' },
},
['phone_slate_whitegold'] = {
label = 'White & Gold Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_whitegold' },
},
['phone_slate_leather_brown'] = {
label = 'Brown Leather Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_leather_brown' },
},
['phone_slate_leather_black'] = {
label = 'Black Leather Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_leather_black' },
},
['phone_slate_leather_tan'] = {
label = 'Tan Leather Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_leather_tan' },
},
-- Slate foldable phones
['phone_slate_fold_black'] = {
label = 'Foldable Black Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_black' },
},
['phone_slate_fold_blue'] = {
label = 'Foldable Blue Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_blue' },
},
['phone_slate_fold_green'] = {
label = 'Foldable Green Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_green' },
},
['phone_slate_fold_orange'] = {
label = 'Foldable Orange Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_orange' },
},
['phone_slate_fold_pink'] = {
label = 'Foldable Pink Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_pink' },
},
['phone_slate_fold_purple'] = {
label = 'Foldable Purple Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_purple' },
},
['phone_slate_fold_red'] = {
label = 'Foldable Red Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_red' },
},
['phone_slate_fold_yellow'] = {
label = 'Foldable Yellow Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_yellow' },
},
['phone_slate_fold_white'] = {
label = 'Foldable White Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_white' },
},
['phone_slate_fold_silver'] = {
label = 'Foldable Silver Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_silver' },
},
['phone_slate_fold_graphite'] = {
label = 'Foldable Graphite Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_graphite' },
},
['phone_slate_fold_titanium'] = {
label = 'Foldable Titanium Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_titanium' },
},
['phone_slate_fold_gold'] = {
label = 'Foldable Gold Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_gold' },
},
['phone_slate_fold_rosegold'] = {
label = 'Foldable Rose Gold Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_rosegold' },
},
['phone_slate_fold_bronze'] = {
label = 'Foldable Bronze Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_bronze' },
},
['phone_slate_fold_mocha'] = {
label = 'Foldable Mocha Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_mocha' },
},
['phone_slate_fold_cream'] = {
label = 'Foldable Cream Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_cream' },
},
['phone_slate_fold_burgundy'] = {
label = 'Foldable Burgundy Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_burgundy' },
},
['phone_slate_fold_coral'] = {
label = 'Foldable Coral Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_coral' },
},
['phone_slate_fold_peach'] = {
label = 'Foldable Peach Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_peach' },
},
['phone_slate_fold_lime'] = {
label = 'Foldable Lime Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_lime' },
},
['phone_slate_fold_mint'] = {
label = 'Foldable Mint Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_mint' },
},
['phone_slate_fold_sage'] = {
label = 'Foldable Sage Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_sage' },
},
['phone_slate_fold_forest'] = {
label = 'Foldable Forest Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_forest' },
},
['phone_slate_fold_teal'] = {
label = 'Foldable Teal Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_teal' },
},
['phone_slate_fold_cyan'] = {
label = 'Foldable Cyan Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_cyan' },
},
['phone_slate_fold_skyblue'] = {
label = 'Foldable Sky Blue Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_skyblue' },
},
['phone_slate_fold_navy'] = {
label = 'Foldable Navy Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_navy' },
},
['phone_slate_fold_indigo'] = {
label = 'Foldable Indigo Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_indigo' },
},
['phone_slate_fold_lavender'] = {
label = 'Foldable Lavender Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_lavender' },
},
['phone_slate_fold_magenta'] = {
label = 'Foldable Magenta Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_magenta' },
},
['phone_slate_fold_rose'] = {
label = 'Foldable Rose Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_rose' },
},
['phone_slate_fold_jetblack'] = {
label = 'Foldable Jet Black Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_jetblack' },
},
['phone_slate_fold_pearl'] = {
label = 'Foldable Pearl Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_pearl' },
},
['phone_slate_fold_ruby'] = {
label = 'Foldable Ruby Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_ruby' },
},
['phone_slate_fold_sapphire'] = {
label = 'Foldable Sapphire Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_sapphire' },
},
['phone_slate_fold_blackgold'] = {
label = 'Foldable Black & Gold Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_blackgold' },
},
['phone_slate_fold_whitegold'] = {
label = 'Foldable White & Gold Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_whitegold' },
},
['phone_slate_fold_leather_brown'] = {
label = 'Foldable Brown Leather Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_leather_brown' },
},
['phone_slate_fold_leather_black'] = {
label = 'Foldable Black Leather Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_leather_black' },
},
['phone_slate_fold_leather_tan'] = {
label = 'Foldable Tan Leather Slate Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_slate_fold_leather_tan' },
},
-- Phone case (bought at the case stores)
['phone_case'] = {
label = 'Phone Case',
weight = 40,
stack = false,
close = true,
consume = 0,
description = 'A phone case. Use it to put it on your phone.',
server = { export = 'sd-phone.usePhone_case' },
buttons = {
{ label = 'Put On a Phone', action = function(slot) exports['sd-phone']:fitPhoneCase(slot) end },
},
},-- sd-phone: every phone item for qb-core / qbx_core (shared/items.lua). Add the ones you want to sell.
-- Regular phones
['phone_black'] = { name = 'phone_black', label = 'Black Phone', weight = 190, type = 'item', image = 'phone_black.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_blue'] = { name = 'phone_blue', label = 'Blue Phone', weight = 190, type = 'item', image = 'phone_blue.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_green'] = { name = 'phone_green', label = 'Green Phone', weight = 190, type = 'item', image = 'phone_green.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_orange'] = { name = 'phone_orange', label = 'Orange Phone', weight = 190, type = 'item', image = 'phone_orange.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_pink'] = { name = 'phone_pink', label = 'Pink Phone', weight = 190, type = 'item', image = 'phone_pink.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_purple'] = { name = 'phone_purple', label = 'Purple Phone', weight = 190, type = 'item', image = 'phone_purple.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_red'] = { name = 'phone_red', label = 'Red Phone', weight = 190, type = 'item', image = 'phone_red.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_yellow'] = { name = 'phone_yellow', label = 'Yellow Phone', weight = 190, type = 'item', image = 'phone_yellow.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_white'] = { name = 'phone_white', label = 'White Phone', weight = 190, type = 'item', image = 'phone_white.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_silver'] = { name = 'phone_silver', label = 'Silver Phone', weight = 190, type = 'item', image = 'phone_silver.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_graphite'] = { name = 'phone_graphite', label = 'Graphite Phone', weight = 190, type = 'item', image = 'phone_graphite.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_titanium'] = { name = 'phone_titanium', label = 'Titanium Phone', weight = 190, type = 'item', image = 'phone_titanium.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_gold'] = { name = 'phone_gold', label = 'Gold Phone', weight = 190, type = 'item', image = 'phone_gold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_rosegold'] = { name = 'phone_rosegold', label = 'Rose Gold Phone', weight = 190, type = 'item', image = 'phone_rosegold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_bronze'] = { name = 'phone_bronze', label = 'Bronze Phone', weight = 190, type = 'item', image = 'phone_bronze.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_mocha'] = { name = 'phone_mocha', label = 'Mocha Phone', weight = 190, type = 'item', image = 'phone_mocha.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_cream'] = { name = 'phone_cream', label = 'Cream Phone', weight = 190, type = 'item', image = 'phone_cream.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_burgundy'] = { name = 'phone_burgundy', label = 'Burgundy Phone', weight = 190, type = 'item', image = 'phone_burgundy.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_coral'] = { name = 'phone_coral', label = 'Coral Phone', weight = 190, type = 'item', image = 'phone_coral.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_peach'] = { name = 'phone_peach', label = 'Peach Phone', weight = 190, type = 'item', image = 'phone_peach.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_lime'] = { name = 'phone_lime', label = 'Lime Phone', weight = 190, type = 'item', image = 'phone_lime.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_mint'] = { name = 'phone_mint', label = 'Mint Phone', weight = 190, type = 'item', image = 'phone_mint.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_sage'] = { name = 'phone_sage', label = 'Sage Phone', weight = 190, type = 'item', image = 'phone_sage.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_forest'] = { name = 'phone_forest', label = 'Forest Phone', weight = 190, type = 'item', image = 'phone_forest.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_teal'] = { name = 'phone_teal', label = 'Teal Phone', weight = 190, type = 'item', image = 'phone_teal.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_cyan'] = { name = 'phone_cyan', label = 'Cyan Phone', weight = 190, type = 'item', image = 'phone_cyan.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_skyblue'] = { name = 'phone_skyblue', label = 'Sky Blue Phone', weight = 190, type = 'item', image = 'phone_skyblue.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_navy'] = { name = 'phone_navy', label = 'Navy Phone', weight = 190, type = 'item', image = 'phone_navy.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_indigo'] = { name = 'phone_indigo', label = 'Indigo Phone', weight = 190, type = 'item', image = 'phone_indigo.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_lavender'] = { name = 'phone_lavender', label = 'Lavender Phone', weight = 190, type = 'item', image = 'phone_lavender.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_magenta'] = { name = 'phone_magenta', label = 'Magenta Phone', weight = 190, type = 'item', image = 'phone_magenta.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_rose'] = { name = 'phone_rose', label = 'Rose Phone', weight = 190, type = 'item', image = 'phone_rose.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_jetblack'] = { name = 'phone_jetblack', label = 'Jet Black Phone', weight = 190, type = 'item', image = 'phone_jetblack.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_pearl'] = { name = 'phone_pearl', label = 'Pearl Phone', weight = 190, type = 'item', image = 'phone_pearl.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_ruby'] = { name = 'phone_ruby', label = 'Ruby Phone', weight = 190, type = 'item', image = 'phone_ruby.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_sapphire'] = { name = 'phone_sapphire', label = 'Sapphire Phone', weight = 190, type = 'item', image = 'phone_sapphire.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_blackgold'] = { name = 'phone_blackgold', label = 'Black & Gold Phone', weight = 190, type = 'item', image = 'phone_blackgold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_whitegold'] = { name = 'phone_whitegold', label = 'White & Gold Phone', weight = 190, type = 'item', image = 'phone_whitegold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_leather_brown'] = { name = 'phone_leather_brown', label = 'Brown Leather Phone', weight = 190, type = 'item', image = 'phone_leather_brown.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_leather_black'] = { name = 'phone_leather_black', label = 'Black Leather Phone', weight = 190, type = 'item', image = 'phone_leather_black.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_leather_tan'] = { name = 'phone_leather_tan', label = 'Tan Leather Phone', weight = 190, type = 'item', image = 'phone_leather_tan.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
-- Foldable phones
['phone_fold_black'] = { name = 'phone_fold_black', label = 'Foldable Black Phone', weight = 190, type = 'item', image = 'phone_fold_black.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_blue'] = { name = 'phone_fold_blue', label = 'Foldable Blue Phone', weight = 190, type = 'item', image = 'phone_fold_blue.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_green'] = { name = 'phone_fold_green', label = 'Foldable Green Phone', weight = 190, type = 'item', image = 'phone_fold_green.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_orange'] = { name = 'phone_fold_orange', label = 'Foldable Orange Phone', weight = 190, type = 'item', image = 'phone_fold_orange.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_pink'] = { name = 'phone_fold_pink', label = 'Foldable Pink Phone', weight = 190, type = 'item', image = 'phone_fold_pink.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_purple'] = { name = 'phone_fold_purple', label = 'Foldable Purple Phone', weight = 190, type = 'item', image = 'phone_fold_purple.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_red'] = { name = 'phone_fold_red', label = 'Foldable Red Phone', weight = 190, type = 'item', image = 'phone_fold_red.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_yellow'] = { name = 'phone_fold_yellow', label = 'Foldable Yellow Phone', weight = 190, type = 'item', image = 'phone_fold_yellow.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_white'] = { name = 'phone_fold_white', label = 'Foldable White Phone', weight = 190, type = 'item', image = 'phone_fold_white.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_silver'] = { name = 'phone_fold_silver', label = 'Foldable Silver Phone', weight = 190, type = 'item', image = 'phone_fold_silver.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_graphite'] = { name = 'phone_fold_graphite', label = 'Foldable Graphite Phone', weight = 190, type = 'item', image = 'phone_fold_graphite.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_titanium'] = { name = 'phone_fold_titanium', label = 'Foldable Titanium Phone', weight = 190, type = 'item', image = 'phone_fold_titanium.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_gold'] = { name = 'phone_fold_gold', label = 'Foldable Gold Phone', weight = 190, type = 'item', image = 'phone_fold_gold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_rosegold'] = { name = 'phone_fold_rosegold', label = 'Foldable Rose Gold Phone', weight = 190, type = 'item', image = 'phone_fold_rosegold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_bronze'] = { name = 'phone_fold_bronze', label = 'Foldable Bronze Phone', weight = 190, type = 'item', image = 'phone_fold_bronze.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_mocha'] = { name = 'phone_fold_mocha', label = 'Foldable Mocha Phone', weight = 190, type = 'item', image = 'phone_fold_mocha.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_cream'] = { name = 'phone_fold_cream', label = 'Foldable Cream Phone', weight = 190, type = 'item', image = 'phone_fold_cream.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_burgundy'] = { name = 'phone_fold_burgundy', label = 'Foldable Burgundy Phone', weight = 190, type = 'item', image = 'phone_fold_burgundy.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_coral'] = { name = 'phone_fold_coral', label = 'Foldable Coral Phone', weight = 190, type = 'item', image = 'phone_fold_coral.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_peach'] = { name = 'phone_fold_peach', label = 'Foldable Peach Phone', weight = 190, type = 'item', image = 'phone_fold_peach.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_lime'] = { name = 'phone_fold_lime', label = 'Foldable Lime Phone', weight = 190, type = 'item', image = 'phone_fold_lime.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_mint'] = { name = 'phone_fold_mint', label = 'Foldable Mint Phone', weight = 190, type = 'item', image = 'phone_fold_mint.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_sage'] = { name = 'phone_fold_sage', label = 'Foldable Sage Phone', weight = 190, type = 'item', image = 'phone_fold_sage.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_forest'] = { name = 'phone_fold_forest', label = 'Foldable Forest Phone', weight = 190, type = 'item', image = 'phone_fold_forest.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_teal'] = { name = 'phone_fold_teal', label = 'Foldable Teal Phone', weight = 190, type = 'item', image = 'phone_fold_teal.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_cyan'] = { name = 'phone_fold_cyan', label = 'Foldable Cyan Phone', weight = 190, type = 'item', image = 'phone_fold_cyan.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_skyblue'] = { name = 'phone_fold_skyblue', label = 'Foldable Sky Blue Phone', weight = 190, type = 'item', image = 'phone_fold_skyblue.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_navy'] = { name = 'phone_fold_navy', label = 'Foldable Navy Phone', weight = 190, type = 'item', image = 'phone_fold_navy.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_indigo'] = { name = 'phone_fold_indigo', label = 'Foldable Indigo Phone', weight = 190, type = 'item', image = 'phone_fold_indigo.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_lavender'] = { name = 'phone_fold_lavender', label = 'Foldable Lavender Phone', weight = 190, type = 'item', image = 'phone_fold_lavender.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_magenta'] = { name = 'phone_fold_magenta', label = 'Foldable Magenta Phone', weight = 190, type = 'item', image = 'phone_fold_magenta.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_rose'] = { name = 'phone_fold_rose', label = 'Foldable Rose Phone', weight = 190, type = 'item', image = 'phone_fold_rose.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_jetblack'] = { name = 'phone_fold_jetblack', label = 'Foldable Jet Black Phone', weight = 190, type = 'item', image = 'phone_fold_jetblack.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_pearl'] = { name = 'phone_fold_pearl', label = 'Foldable Pearl Phone', weight = 190, type = 'item', image = 'phone_fold_pearl.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_ruby'] = { name = 'phone_fold_ruby', label = 'Foldable Ruby Phone', weight = 190, type = 'item', image = 'phone_fold_ruby.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_sapphire'] = { name = 'phone_fold_sapphire', label = 'Foldable Sapphire Phone', weight = 190, type = 'item', image = 'phone_fold_sapphire.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_blackgold'] = { name = 'phone_fold_blackgold', label = 'Foldable Black & Gold Phone', weight = 190, type = 'item', image = 'phone_fold_blackgold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_whitegold'] = { name = 'phone_fold_whitegold', label = 'Foldable White & Gold Phone', weight = 190, type = 'item', image = 'phone_fold_whitegold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_leather_brown'] = { name = 'phone_fold_leather_brown', label = 'Foldable Brown Leather Phone', weight = 190, type = 'item', image = 'phone_fold_leather_brown.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_leather_black'] = { name = 'phone_fold_leather_black', label = 'Foldable Black Leather Phone', weight = 190, type = 'item', image = 'phone_fold_leather_black.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_fold_leather_tan'] = { name = 'phone_fold_leather_tan', label = 'Foldable Tan Leather Phone', weight = 190, type = 'item', image = 'phone_fold_leather_tan.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
-- Slate phones
['phone_slate_black'] = { name = 'phone_slate_black', label = 'Black Slate Phone', weight = 190, type = 'item', image = 'phone_slate_black.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_blue'] = { name = 'phone_slate_blue', label = 'Blue Slate Phone', weight = 190, type = 'item', image = 'phone_slate_blue.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_green'] = { name = 'phone_slate_green', label = 'Green Slate Phone', weight = 190, type = 'item', image = 'phone_slate_green.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_orange'] = { name = 'phone_slate_orange', label = 'Orange Slate Phone', weight = 190, type = 'item', image = 'phone_slate_orange.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_pink'] = { name = 'phone_slate_pink', label = 'Pink Slate Phone', weight = 190, type = 'item', image = 'phone_slate_pink.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_purple'] = { name = 'phone_slate_purple', label = 'Purple Slate Phone', weight = 190, type = 'item', image = 'phone_slate_purple.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_red'] = { name = 'phone_slate_red', label = 'Red Slate Phone', weight = 190, type = 'item', image = 'phone_slate_red.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_yellow'] = { name = 'phone_slate_yellow', label = 'Yellow Slate Phone', weight = 190, type = 'item', image = 'phone_slate_yellow.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_white'] = { name = 'phone_slate_white', label = 'White Slate Phone', weight = 190, type = 'item', image = 'phone_slate_white.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_silver'] = { name = 'phone_slate_silver', label = 'Silver Slate Phone', weight = 190, type = 'item', image = 'phone_slate_silver.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_graphite'] = { name = 'phone_slate_graphite', label = 'Graphite Slate Phone', weight = 190, type = 'item', image = 'phone_slate_graphite.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_titanium'] = { name = 'phone_slate_titanium', label = 'Titanium Slate Phone', weight = 190, type = 'item', image = 'phone_slate_titanium.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_gold'] = { name = 'phone_slate_gold', label = 'Gold Slate Phone', weight = 190, type = 'item', image = 'phone_slate_gold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_rosegold'] = { name = 'phone_slate_rosegold', label = 'Rose Gold Slate Phone', weight = 190, type = 'item', image = 'phone_slate_rosegold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_bronze'] = { name = 'phone_slate_bronze', label = 'Bronze Slate Phone', weight = 190, type = 'item', image = 'phone_slate_bronze.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_mocha'] = { name = 'phone_slate_mocha', label = 'Mocha Slate Phone', weight = 190, type = 'item', image = 'phone_slate_mocha.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_cream'] = { name = 'phone_slate_cream', label = 'Cream Slate Phone', weight = 190, type = 'item', image = 'phone_slate_cream.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_burgundy'] = { name = 'phone_slate_burgundy', label = 'Burgundy Slate Phone', weight = 190, type = 'item', image = 'phone_slate_burgundy.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_coral'] = { name = 'phone_slate_coral', label = 'Coral Slate Phone', weight = 190, type = 'item', image = 'phone_slate_coral.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_peach'] = { name = 'phone_slate_peach', label = 'Peach Slate Phone', weight = 190, type = 'item', image = 'phone_slate_peach.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_lime'] = { name = 'phone_slate_lime', label = 'Lime Slate Phone', weight = 190, type = 'item', image = 'phone_slate_lime.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_mint'] = { name = 'phone_slate_mint', label = 'Mint Slate Phone', weight = 190, type = 'item', image = 'phone_slate_mint.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_sage'] = { name = 'phone_slate_sage', label = 'Sage Slate Phone', weight = 190, type = 'item', image = 'phone_slate_sage.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_forest'] = { name = 'phone_slate_forest', label = 'Forest Slate Phone', weight = 190, type = 'item', image = 'phone_slate_forest.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_teal'] = { name = 'phone_slate_teal', label = 'Teal Slate Phone', weight = 190, type = 'item', image = 'phone_slate_teal.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_cyan'] = { name = 'phone_slate_cyan', label = 'Cyan Slate Phone', weight = 190, type = 'item', image = 'phone_slate_cyan.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_skyblue'] = { name = 'phone_slate_skyblue', label = 'Sky Blue Slate Phone', weight = 190, type = 'item', image = 'phone_slate_skyblue.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_navy'] = { name = 'phone_slate_navy', label = 'Navy Slate Phone', weight = 190, type = 'item', image = 'phone_slate_navy.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_indigo'] = { name = 'phone_slate_indigo', label = 'Indigo Slate Phone', weight = 190, type = 'item', image = 'phone_slate_indigo.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_lavender'] = { name = 'phone_slate_lavender', label = 'Lavender Slate Phone', weight = 190, type = 'item', image = 'phone_slate_lavender.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_magenta'] = { name = 'phone_slate_magenta', label = 'Magenta Slate Phone', weight = 190, type = 'item', image = 'phone_slate_magenta.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_rose'] = { name = 'phone_slate_rose', label = 'Rose Slate Phone', weight = 190, type = 'item', image = 'phone_slate_rose.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_jetblack'] = { name = 'phone_slate_jetblack', label = 'Jet Black Slate Phone', weight = 190, type = 'item', image = 'phone_slate_jetblack.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_pearl'] = { name = 'phone_slate_pearl', label = 'Pearl Slate Phone', weight = 190, type = 'item', image = 'phone_slate_pearl.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_ruby'] = { name = 'phone_slate_ruby', label = 'Ruby Slate Phone', weight = 190, type = 'item', image = 'phone_slate_ruby.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_sapphire'] = { name = 'phone_slate_sapphire', label = 'Sapphire Slate Phone', weight = 190, type = 'item', image = 'phone_slate_sapphire.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_blackgold'] = { name = 'phone_slate_blackgold', label = 'Black & Gold Slate Phone', weight = 190, type = 'item', image = 'phone_slate_blackgold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_whitegold'] = { name = 'phone_slate_whitegold', label = 'White & Gold Slate Phone', weight = 190, type = 'item', image = 'phone_slate_whitegold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_leather_brown'] = { name = 'phone_slate_leather_brown', label = 'Brown Leather Slate Phone', weight = 190, type = 'item', image = 'phone_slate_leather_brown.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_leather_black'] = { name = 'phone_slate_leather_black', label = 'Black Leather Slate Phone', weight = 190, type = 'item', image = 'phone_slate_leather_black.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_leather_tan'] = { name = 'phone_slate_leather_tan', label = 'Tan Leather Slate Phone', weight = 190, type = 'item', image = 'phone_slate_leather_tan.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
-- Slate foldable phones
['phone_slate_fold_black'] = { name = 'phone_slate_fold_black', label = 'Foldable Black Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_black.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_blue'] = { name = 'phone_slate_fold_blue', label = 'Foldable Blue Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_blue.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_green'] = { name = 'phone_slate_fold_green', label = 'Foldable Green Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_green.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_orange'] = { name = 'phone_slate_fold_orange', label = 'Foldable Orange Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_orange.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_pink'] = { name = 'phone_slate_fold_pink', label = 'Foldable Pink Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_pink.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_purple'] = { name = 'phone_slate_fold_purple', label = 'Foldable Purple Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_purple.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_red'] = { name = 'phone_slate_fold_red', label = 'Foldable Red Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_red.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_yellow'] = { name = 'phone_slate_fold_yellow', label = 'Foldable Yellow Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_yellow.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_white'] = { name = 'phone_slate_fold_white', label = 'Foldable White Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_white.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_silver'] = { name = 'phone_slate_fold_silver', label = 'Foldable Silver Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_silver.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_graphite'] = { name = 'phone_slate_fold_graphite', label = 'Foldable Graphite Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_graphite.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_titanium'] = { name = 'phone_slate_fold_titanium', label = 'Foldable Titanium Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_titanium.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_gold'] = { name = 'phone_slate_fold_gold', label = 'Foldable Gold Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_gold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_rosegold'] = { name = 'phone_slate_fold_rosegold', label = 'Foldable Rose Gold Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_rosegold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_bronze'] = { name = 'phone_slate_fold_bronze', label = 'Foldable Bronze Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_bronze.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_mocha'] = { name = 'phone_slate_fold_mocha', label = 'Foldable Mocha Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_mocha.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_cream'] = { name = 'phone_slate_fold_cream', label = 'Foldable Cream Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_cream.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_burgundy'] = { name = 'phone_slate_fold_burgundy', label = 'Foldable Burgundy Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_burgundy.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_coral'] = { name = 'phone_slate_fold_coral', label = 'Foldable Coral Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_coral.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_peach'] = { name = 'phone_slate_fold_peach', label = 'Foldable Peach Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_peach.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_lime'] = { name = 'phone_slate_fold_lime', label = 'Foldable Lime Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_lime.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_mint'] = { name = 'phone_slate_fold_mint', label = 'Foldable Mint Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_mint.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_sage'] = { name = 'phone_slate_fold_sage', label = 'Foldable Sage Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_sage.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_forest'] = { name = 'phone_slate_fold_forest', label = 'Foldable Forest Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_forest.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_teal'] = { name = 'phone_slate_fold_teal', label = 'Foldable Teal Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_teal.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_cyan'] = { name = 'phone_slate_fold_cyan', label = 'Foldable Cyan Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_cyan.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_skyblue'] = { name = 'phone_slate_fold_skyblue', label = 'Foldable Sky Blue Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_skyblue.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_navy'] = { name = 'phone_slate_fold_navy', label = 'Foldable Navy Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_navy.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_indigo'] = { name = 'phone_slate_fold_indigo', label = 'Foldable Indigo Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_indigo.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_lavender'] = { name = 'phone_slate_fold_lavender', label = 'Foldable Lavender Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_lavender.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_magenta'] = { name = 'phone_slate_fold_magenta', label = 'Foldable Magenta Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_magenta.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_rose'] = { name = 'phone_slate_fold_rose', label = 'Foldable Rose Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_rose.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_jetblack'] = { name = 'phone_slate_fold_jetblack', label = 'Foldable Jet Black Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_jetblack.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_pearl'] = { name = 'phone_slate_fold_pearl', label = 'Foldable Pearl Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_pearl.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_ruby'] = { name = 'phone_slate_fold_ruby', label = 'Foldable Ruby Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_ruby.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_sapphire'] = { name = 'phone_slate_fold_sapphire', label = 'Foldable Sapphire Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_sapphire.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_blackgold'] = { name = 'phone_slate_fold_blackgold', label = 'Foldable Black & Gold Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_blackgold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_whitegold'] = { name = 'phone_slate_fold_whitegold', label = 'Foldable White & Gold Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_whitegold.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_leather_brown'] = { name = 'phone_slate_fold_leather_brown', label = 'Foldable Brown Leather Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_leather_brown.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_leather_black'] = { name = 'phone_slate_fold_leather_black', label = 'Foldable Black Leather Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_leather_black.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
['phone_slate_fold_leather_tan'] = { name = 'phone_slate_fold_leather_tan', label = 'Foldable Tan Leather Slate Phone', weight = 190, type = 'item', image = 'phone_slate_fold_leather_tan.png', unique = true, useable = true, shouldClose = true, description = 'A smartphone.' },
-- Phone case (bought at the case stores)
['phone_case'] = { name = 'phone_case', label = 'Phone Case', weight = 40, type = 'item', image = 'phone_case.png', unique = true, useable = true, shouldClose = true, description = 'A phone case. Use it to put it on your phone.' },-- ESX only, and only needed if you set `SeedEsxItems = false` in configs/phone.lua.
-- sd-phone adds these rows itself on boot by default; this file is the manual equivalent.
--
-- ESX keeps its item catalogue in this table and nowhere else, so an item missing from it can
-- never be given or used. Import this once, then restart the server (or the phone items stay
-- unknown to ESX until it re-reads the table).
--
-- Not for ox_inventory / qs / tgiann / codem installs: those keep their own item lists, and the
-- items belong there instead.
INSERT IGNORE INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('phone_black', 'Black Phone', 1, 0, 1),
('phone_blue', 'Blue Phone', 1, 0, 1),
('phone_green', 'Green Phone', 1, 0, 1),
('phone_orange', 'Orange Phone', 1, 0, 1),
('phone_pink', 'Pink Phone', 1, 0, 1),
('phone_purple', 'Purple Phone', 1, 0, 1),
('phone_red', 'Red Phone', 1, 0, 1),
('phone_yellow', 'Yellow Phone', 1, 0, 1),
('phone_white', 'White Phone', 1, 0, 1),
('phone_silver', 'Silver Phone', 1, 0, 1),
('phone_graphite', 'Graphite Phone', 1, 0, 1),
('phone_titanium', 'Titanium Phone', 1, 0, 1),
('phone_gold', 'Gold Phone', 1, 0, 1),
('phone_rosegold', 'Rose Gold Phone', 1, 0, 1),
('phone_bronze', 'Bronze Phone', 1, 0, 1),
('phone_mocha', 'Mocha Phone', 1, 0, 1),
('phone_cream', 'Cream Phone', 1, 0, 1),
('phone_burgundy', 'Burgundy Phone', 1, 0, 1),
('phone_coral', 'Coral Phone', 1, 0, 1),
('phone_peach', 'Peach Phone', 1, 0, 1),
('phone_lime', 'Lime Phone', 1, 0, 1),
('phone_mint', 'Mint Phone', 1, 0, 1),
('phone_sage', 'Sage Phone', 1, 0, 1),
('phone_forest', 'Forest Phone', 1, 0, 1),
('phone_teal', 'Teal Phone', 1, 0, 1),
('phone_cyan', 'Cyan Phone', 1, 0, 1),
('phone_skyblue', 'Sky Blue Phone', 1, 0, 1),
('phone_navy', 'Navy Phone', 1, 0, 1),
('phone_indigo', 'Indigo Phone', 1, 0, 1),
('phone_lavender', 'Lavender Phone', 1, 0, 1),
('phone_magenta', 'Magenta Phone', 1, 0, 1),
('phone_rose', 'Rose Phone', 1, 0, 1),
('phone_jetblack', 'Jet Black Phone', 1, 0, 1),
('phone_pearl', 'Pearl Phone', 1, 0, 1),
('phone_ruby', 'Ruby Phone', 1, 0, 1),
('phone_sapphire', 'Sapphire Phone', 1, 0, 1),
('phone_blackgold', 'Black & Gold Phone', 1, 0, 1),
('phone_whitegold', 'White & Gold Phone', 1, 0, 1),
('phone_leather_brown', 'Brown Leather Phone', 1, 0, 1),
('phone_leather_black', 'Black Leather Phone', 1, 0, 1),
('phone_leather_tan', 'Tan Leather Phone', 1, 0, 1),
('phone_fold_black', 'Foldable Black Phone', 1, 0, 1),
('phone_fold_blue', 'Foldable Blue Phone', 1, 0, 1),
('phone_fold_green', 'Foldable Green Phone', 1, 0, 1),
('phone_fold_orange', 'Foldable Orange Phone', 1, 0, 1),
('phone_fold_pink', 'Foldable Pink Phone', 1, 0, 1),
('phone_fold_purple', 'Foldable Purple Phone', 1, 0, 1),
('phone_fold_red', 'Foldable Red Phone', 1, 0, 1),
('phone_fold_yellow', 'Foldable Yellow Phone', 1, 0, 1),
('phone_fold_white', 'Foldable White Phone', 1, 0, 1),
('phone_fold_silver', 'Foldable Silver Phone', 1, 0, 1),
('phone_fold_graphite', 'Foldable Graphite Phone', 1, 0, 1),
('phone_fold_titanium', 'Foldable Titanium Phone', 1, 0, 1),
('phone_fold_gold', 'Foldable Gold Phone', 1, 0, 1),
('phone_fold_rosegold', 'Foldable Rose Gold Phone', 1, 0, 1),
('phone_fold_bronze', 'Foldable Bronze Phone', 1, 0, 1),
('phone_fold_mocha', 'Foldable Mocha Phone', 1, 0, 1),
('phone_fold_cream', 'Foldable Cream Phone', 1, 0, 1),
('phone_fold_burgundy', 'Foldable Burgundy Phone', 1, 0, 1),
('phone_fold_coral', 'Foldable Coral Phone', 1, 0, 1),
('phone_fold_peach', 'Foldable Peach Phone', 1, 0, 1),
('phone_fold_lime', 'Foldable Lime Phone', 1, 0, 1),
('phone_fold_mint', 'Foldable Mint Phone', 1, 0, 1),
('phone_fold_sage', 'Foldable Sage Phone', 1, 0, 1),
('phone_fold_forest', 'Foldable Forest Phone', 1, 0, 1),
('phone_fold_teal', 'Foldable Teal Phone', 1, 0, 1),
('phone_fold_cyan', 'Foldable Cyan Phone', 1, 0, 1),
('phone_fold_skyblue', 'Foldable Sky Blue Phone', 1, 0, 1),
('phone_fold_navy', 'Foldable Navy Phone', 1, 0, 1),
('phone_fold_indigo', 'Foldable Indigo Phone', 1, 0, 1),
('phone_fold_lavender', 'Foldable Lavender Phone', 1, 0, 1),
('phone_fold_magenta', 'Foldable Magenta Phone', 1, 0, 1),
('phone_fold_rose', 'Foldable Rose Phone', 1, 0, 1),
('phone_fold_jetblack', 'Foldable Jet Black Phone', 1, 0, 1),
('phone_fold_pearl', 'Foldable Pearl Phone', 1, 0, 1),
('phone_fold_ruby', 'Foldable Ruby Phone', 1, 0, 1),
('phone_fold_sapphire', 'Foldable Sapphire Phone', 1, 0, 1),
('phone_fold_blackgold', 'Foldable Black & Gold Phone', 1, 0, 1),
('phone_fold_whitegold', 'Foldable White & Gold Phone', 1, 0, 1),
('phone_fold_leather_brown', 'Foldable Brown Leather Phone', 1, 0, 1),
('phone_fold_leather_black', 'Foldable Black Leather Phone', 1, 0, 1),
('phone_fold_leather_tan', 'Foldable Tan Leather Phone', 1, 0, 1),
('phone_slate_black', 'Black Slate Phone', 1, 0, 1),
('phone_slate_blue', 'Blue Slate Phone', 1, 0, 1),
('phone_slate_green', 'Green Slate Phone', 1, 0, 1),
('phone_slate_orange', 'Orange Slate Phone', 1, 0, 1),
('phone_slate_pink', 'Pink Slate Phone', 1, 0, 1),
('phone_slate_purple', 'Purple Slate Phone', 1, 0, 1),
('phone_slate_red', 'Red Slate Phone', 1, 0, 1),
('phone_slate_yellow', 'Yellow Slate Phone', 1, 0, 1),
('phone_slate_white', 'White Slate Phone', 1, 0, 1),
('phone_slate_silver', 'Silver Slate Phone', 1, 0, 1),
('phone_slate_graphite', 'Graphite Slate Phone', 1, 0, 1),
('phone_slate_titanium', 'Titanium Slate Phone', 1, 0, 1),
('phone_slate_gold', 'Gold Slate Phone', 1, 0, 1),
('phone_slate_rosegold', 'Rose Gold Slate Phone', 1, 0, 1),
('phone_slate_bronze', 'Bronze Slate Phone', 1, 0, 1),
('phone_slate_mocha', 'Mocha Slate Phone', 1, 0, 1),
('phone_slate_cream', 'Cream Slate Phone', 1, 0, 1),
('phone_slate_burgundy', 'Burgundy Slate Phone', 1, 0, 1),
('phone_slate_coral', 'Coral Slate Phone', 1, 0, 1),
('phone_slate_peach', 'Peach Slate Phone', 1, 0, 1),
('phone_slate_lime', 'Lime Slate Phone', 1, 0, 1),
('phone_slate_mint', 'Mint Slate Phone', 1, 0, 1),
('phone_slate_sage', 'Sage Slate Phone', 1, 0, 1),
('phone_slate_forest', 'Forest Slate Phone', 1, 0, 1),
('phone_slate_teal', 'Teal Slate Phone', 1, 0, 1),
('phone_slate_cyan', 'Cyan Slate Phone', 1, 0, 1),
('phone_slate_skyblue', 'Sky Blue Slate Phone', 1, 0, 1),
('phone_slate_navy', 'Navy Slate Phone', 1, 0, 1),
('phone_slate_indigo', 'Indigo Slate Phone', 1, 0, 1),
('phone_slate_lavender', 'Lavender Slate Phone', 1, 0, 1),
('phone_slate_magenta', 'Magenta Slate Phone', 1, 0, 1),
('phone_slate_rose', 'Rose Slate Phone', 1, 0, 1),
('phone_slate_jetblack', 'Jet Black Slate Phone', 1, 0, 1),
('phone_slate_pearl', 'Pearl Slate Phone', 1, 0, 1),
('phone_slate_ruby', 'Ruby Slate Phone', 1, 0, 1),
('phone_slate_sapphire', 'Sapphire Slate Phone', 1, 0, 1),
('phone_slate_blackgold', 'Black & Gold Slate Phone', 1, 0, 1),
('phone_slate_whitegold', 'White & Gold Slate Phone', 1, 0, 1),
('phone_slate_leather_brown', 'Brown Leather Slate Phone', 1, 0, 1),
('phone_slate_leather_black', 'Black Leather Slate Phone', 1, 0, 1),
('phone_slate_leather_tan', 'Tan Leather Slate Phone', 1, 0, 1),
('phone_slate_fold_black', 'Foldable Black Slate Phone', 1, 0, 1),
('phone_slate_fold_blue', 'Foldable Blue Slate Phone', 1, 0, 1),
('phone_slate_fold_green', 'Foldable Green Slate Phone', 1, 0, 1),
('phone_slate_fold_orange', 'Foldable Orange Slate Phone', 1, 0, 1),
('phone_slate_fold_pink', 'Foldable Pink Slate Phone', 1, 0, 1),
('phone_slate_fold_purple', 'Foldable Purple Slate Phone', 1, 0, 1),
('phone_slate_fold_red', 'Foldable Red Slate Phone', 1, 0, 1),
('phone_slate_fold_yellow', 'Foldable Yellow Slate Phone', 1, 0, 1),
('phone_slate_fold_white', 'Foldable White Slate Phone', 1, 0, 1),
('phone_slate_fold_silver', 'Foldable Silver Slate Phone', 1, 0, 1),
('phone_slate_fold_graphite', 'Foldable Graphite Slate Phone', 1, 0, 1),
('phone_slate_fold_titanium', 'Foldable Titanium Slate Phone', 1, 0, 1),
('phone_slate_fold_gold', 'Foldable Gold Slate Phone', 1, 0, 1),
('phone_slate_fold_rosegold', 'Foldable Rose Gold Slate Phone', 1, 0, 1),
('phone_slate_fold_bronze', 'Foldable Bronze Slate Phone', 1, 0, 1),
('phone_slate_fold_mocha', 'Foldable Mocha Slate Phone', 1, 0, 1),
('phone_slate_fold_cream', 'Foldable Cream Slate Phone', 1, 0, 1),
('phone_slate_fold_burgundy', 'Foldable Burgundy Slate Phone', 1, 0, 1),
('phone_slate_fold_coral', 'Foldable Coral Slate Phone', 1, 0, 1),
('phone_slate_fold_peach', 'Foldable Peach Slate Phone', 1, 0, 1),
('phone_slate_fold_lime', 'Foldable Lime Slate Phone', 1, 0, 1),
('phone_slate_fold_mint', 'Foldable Mint Slate Phone', 1, 0, 1),
('phone_slate_fold_sage', 'Foldable Sage Slate Phone', 1, 0, 1),
('phone_slate_fold_forest', 'Foldable Forest Slate Phone', 1, 0, 1),
('phone_slate_fold_teal', 'Foldable Teal Slate Phone', 1, 0, 1),
('phone_slate_fold_cyan', 'Foldable Cyan Slate Phone', 1, 0, 1),
('phone_slate_fold_skyblue', 'Foldable Sky Blue Slate Phone', 1, 0, 1),
('phone_slate_fold_navy', 'Foldable Navy Slate Phone', 1, 0, 1),
('phone_slate_fold_indigo', 'Foldable Indigo Slate Phone', 1, 0, 1),
('phone_slate_fold_lavender', 'Foldable Lavender Slate Phone', 1, 0, 1),
('phone_slate_fold_magenta', 'Foldable Magenta Slate Phone', 1, 0, 1),
('phone_slate_fold_rose', 'Foldable Rose Slate Phone', 1, 0, 1),
('phone_slate_fold_jetblack', 'Foldable Jet Black Slate Phone', 1, 0, 1),
('phone_slate_fold_pearl', 'Foldable Pearl Slate Phone', 1, 0, 1),
('phone_slate_fold_ruby', 'Foldable Ruby Slate Phone', 1, 0, 1),
('phone_slate_fold_sapphire', 'Foldable Sapphire Slate Phone', 1, 0, 1),
('phone_slate_fold_blackgold', 'Foldable Black & Gold Slate Phone', 1, 0, 1),
('phone_slate_fold_whitegold', 'Foldable White & Gold Slate Phone', 1, 0, 1),
('phone_slate_fold_leather_brown', 'Foldable Brown Leather Slate Phone', 1, 0, 1),
('phone_slate_fold_leather_black', 'Foldable Black Leather Slate Phone', 1, 0, 1),
('phone_slate_fold_leather_tan', 'Foldable Tan Leather Slate Phone', 1, 0, 1);
-- Only needed when unique phones are on with SIM cards (configs/uniqueandsim.lua).
INSERT IGNORE INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('sim_card', 'SIM Card', 1, 0, 1);ESX without a separate inventory: this is done for you
ESX keeps its items in the items table, and an item missing from it can never be given or used. On ESX with no separate inventory resource, sd-phone adds the missing phone rows at boot and refreshes ESX's catalogue in place, no restart needed. To do it yourself instead, set SeedEsxItems = false in configs/phone.lua and import sql/esx_items.sql. Servers running ox_inventory, qs, tgiann or codem are untouched: add the items to that inventory as above.
Players can also open the phone with a keybind (F1 by default), which still needs one of these items. The Racing app is unlocked separately by a racing_usb item, used up when it is used: take the requires out of its row in configs/apps.lua to give it to everyone.
3 Add Item Images
Copy the item icons from sd-phone's images/ folder into your inventory's image folder (ox_inventory/web/images/, qb-inventory/html/images/, and so on). You can also download them directly from the container below.






































































































































































The files are named after the items, so ox_inventory picks them up automatically with no image field needed. Foldables are drawn standing half open, so the four kinds are easy to tell apart in a slot. phone_case.png goes with the phone case item, and sim_card.png is only needed if you turn on unique phones; see below.
4 Add Your API Keys
Third-party keys live in configs/server/apikeys.lua, which is deliberately excluded from the client download. Set them before you start the phone for the first time:
| Key | Purpose |
|---|---|
Giphy | The Messages GIF picker. Free key from developers.giphy.com; left blank the picker shows a setup hint |
FivemanageMedia | Required for the Camera, Photos and Voice Memos apps on the default provider. Photo, video, and voice-note uploads go through fivemanage.com. Use a Fivemanage token of type Media. Left blank, the uploader falls back to the legacy sd_fivemanage_key convar; with neither set, capture UI still opens but nothing uploads or saves |
QboxCdn | Only used when you switch the media provider to Qbox (see below). A token from the Qbox Dashboard CDN. Left blank, the uploader falls back to the sd_qbox_cdn_key convar |
FiveMeshCdn | Only used when you switch the media provider to FiveMesh (see below). A Server API Key (fm_server_...) or a Developer API Key (fm_live_...) with cdn:write from app.fivemesh.io. Left blank, the uploader falls back to the sd_fivemesh_cdn_key convar, set with set (never setr or sets) so the key stays on the server |
The media apps need a media key
Camera photos and videos, Photos uploads, and Voice Memos all need somewhere to store their files. Without a key for whichever provider you are on, those apps open but captures never upload or save. On the default provider, create a free token in the Fivemanage dashboard: open the Tokens tab, click Create Token, and pick token type Media. The rest of the phone works fine without it.
Media hosting for the phone
Photos, camera clips and voice memos upload to Fivemanage and come back as fast CDN URLs, so you never run your own media server. Required for those apps: in the dashboard, open the Tokens tab, create a token of type Media, and drop it into FivemanageMedia.
Choosing a media provider
Uploads go to Fivemanage out of the box. If you already pay for a Qbox Dashboard plan or use FiveMesh, you can send them there instead. It is the same set of apps either way, only the destination changes.
Qbox CDNPart of the Qbox Dashboard. 2 GB free, paid tiers up to 120 GB.
Cloud infrastructure for FiveM servers. Supports direct uploads.
-- configs/photos.lua
Provider = 'fivemanage', -- 'fivemanage' (default), 'qbox' or 'fivemesh'-- configs/server/apikeys.lua
FivemanageMedia = 'your-fivemanage-media-token',
QboxCdn = 'your-qbox-cdn-token',
FiveMeshCdn = 'your-fivemesh-api-key',To get a Qbox token: sign in at dashboard.qbox.re with Discord, open CDN → API, and generate one. The free tier includes 2 GB of storage; paid tiers go up to 120 GB. Uploaded files come back as https://r2.qbox.re/... URLs, and a single file may be up to 100 MB.
To get a FiveMesh key: sign in at app.fivemesh.io, enable CDN, and generate a Server API Key (fm_server_...) or a Developer API Key (fm_live_...) with the cdn:write permission. Uploads land in the folder set by FiveMeshPath in configs/photos.lua: phone by default, nested folders such as phone/production work, and an empty string uses the CDN root. If you restrict the key to certain CDN paths, include that folder.
Only 'qbox' and 'fivemesh' switch it
Anything other than 'qbox' or 'fivemesh', including a typo, keeps uploads on Fivemanage, so your media never quietly moves somewhere you did not choose. Whichever provider is active, the server prints a startup warning naming it if its key is missing.
Each key is only read by its own provider, so it is safe to leave all of them filled in while you try one out. Every app that uploads (Camera, Photos, Voice Memos, bodycams, Photogram and Weazel News) follows the same switch.
Direct uploads (optional)
By default every upload goes through your game server first, where UploadLimits in configs/photos.lua applies to every byte before anything reaches the CDN. Setting AllowDirectUpload = true in the same file lets supported uploads go straight from the player's phone to the CDN instead, which keeps large clips off the game network. It is off by default.
- FiveMesh: each direct upload gets a short-lived link for a single file, with a size limit, allowed file types and its own folder, and the server checks the uploaded file before saving it. Supported uploads fall back to the server route if a direct upload fails.
- Fivemanage: read the warning above
AllowDirectUploadinconfigs/photos.luabefore turning it on. A Fivemanage upload link can be used for any number of uploads of any size until it expires, so a modified client could fill your storage during that window. - Qbox: always uploads through your server, so the setting changes nothing.
5 Turn On Video Calls (TURN)
Video calls send their picture directly between the two players. That works out of the box when both are on the same network, which is why it usually looks fine while you test. Two players on different home connections need a relay server in the middle, called TURN.
Skip this step and the failure is easy to mistake for a bug: the call connects, the timer runs, the audio works, each player sees their own camera perfectly, and the other person's half of the screen stays black.
One setup covers video calls and the nearby-voice capture that camera clips record. It does not touch Photogram Live, Vibez Live or bodycams: broadcasts are one-to-many and take their own relay instead of TURN, and bodycams are rendered on the watching terminal and send no video at all.
The easy way: Cloudflare (free)
Needs sd-phone v0.9.10 or newer
On v0.9.9 and older, video calls do not read the Cloudflare convars: they only accept a fixed relay through sd_phone_turn_*. If you are on an older build, either update, or use the fixed-relay option below. The Cloudflare pair still works on older builds for camera-clip audio, Photogram Live and bodycams, just not for calls.
sd-phone talks to Cloudflare's TURN service directly, so you only paste two values and it handles the rest, including refreshing credentials before they expire.
- Sign in at dash.cloudflare.com (a free account is fine).
- In the sidebar open Realtime, then the TURN tab.
- Click Create TURN key and give it any name, for example
sd-phone. - Cloudflare shows a Turn Token ID and a API Token. Copy both now; the API token is only shown once.
- Put them in your
server.cfgand restart:
set sd_cf_turn_token_id "paste-the-turn-token-id"
set sd_cf_turn_api_token "paste-the-api-token"That's it. The free tier covers a normal roleplay server, and configs/voice.lua already has Turn.Provider = 'cloudflare' switched on.
You set these once and never touch them again. The two values are a long-lived key, not a password that expires. The phone uses them to mint short-lived relay credentials automatically, re-minting shortly before each one lapses, which is roughly one request a day for the whole server. Nothing to rotate, nothing to renew.
How do I know it worked?
While no relay is configured, sd-phone prints a reminder in your server console at boot. Once the convars are set, that line disappears (or silence it with WarnAboutTurn = false in configs/phone.lua). To test properly you need two players on different internet connections, not two clients on one PC.
The alternative: your own TURN server
Running coturn? Give it a static-auth-secret and sd-phone issues every player a login of their own that expires, so nothing worth copying sits in the game. This can also sit alongside the Cloudflare pair as an extra relay:
set sd_phone_turn_url "turn:turn.example.com:3478"
set sd_phone_turn_secret "the static-auth-secret from turnserver.conf"A provider that only gives you a fixed username and password, such as Metered, uses this pair instead. It is one login shared by every player, which anyone can copy out of the game, so the server warns about it at boot:
set sd_phone_turn_url "turn:turn.example.com:3478"
set sd_phone_turn_username "your-username"
set sd_phone_turn_credential "your-password"Do not paste a generated Cloudflare or Twilio credential here
These three convars are for a relay with a fixed password that you control, such as your own coturn box. Cloudflare and Twilio hand out credentials that expire within a day, and these convars have no way to renew one, so a pasted value would stop working overnight.
That is not a reason to avoid Cloudflare: use the sd_cf_turn_* pair in the section above instead, where the phone renews credentials for you and you never have to touch them.
Running Photogram Live or Vibez Live? That is a separate setup
Live broadcasts do not use TURN. They go through their own relay, and without it a stream cuts out for anyone not on the streamer's network. The steps are on the Live Broadcasts page, under Set up the relay. Bodycams need nothing extra.
6 Start the Resource
To load the resource, either restart your server entirely, or run the following in your server console (F8 or txAdmin live console):
refresh
ensure sd-phoneOptional item setup
SIM tray button (only for SimTray)
Skip this unless you are running unique phones with SimTray = true, where the SIM is a physical card dragged into the phone. In every other mode the phone item above is complete as-is.
On one_inventory there is nothing to add: sd-phone puts the SIM Tray entry on every phone item itself. On ox_inventory, using the phone opens the phone, so the tray needs its own right-click entry. Add a buttons field to each phone item:
buttons = {
{ label = 'SIM Tray', action = function(slot) exports['sd-phone']:openSimTray(slot) end },
},Which gives you, for example:
['phone_black'] = {
label = 'Phone',
weight = 190,
stack = false,
consume = 0,
server = { export = 'sd-phone.usePhone_black' },
buttons = {
{ label = 'SIM Tray', action = function(slot) exports['sd-phone']:openSimTray(slot) end },
}
},Note the comma added after server = { ... } once a field follows it. Repeat for every phone item you added; an item without the entry simply has no way to reach its tray.
buttons is an ox_inventory feature; one_inventory lets a resource register the entry itself instead, which is why it needs no edit. Leaving the entry in place on a server that later switches away from tray mode is harmless, since openSimTray is a no-op outside it.
Phone cases
Players design and buy phone cases at case stores in the world: a clerk outside two Digital Den shops by default (Stores in configs/cases.lua, with the price list and blip). Talking to the clerk opens a 3D customiser for the phone the player is holding: case colour, pattern, accessory, charm, and up to six stickers that can be placed, sized and turned anywhere on the back. Set Enabled = false in that file to switch cases off altogether.
A bought case is a phone_case item with the design stored on it, so it can be given, traded or sold like anything else. It belongs to the phone it is fitted to: each phone a player carries keeps its own case, and the case a phone had comes back as an item when another goes on.
Add the item. On ox_inventory, in data/items.lua:
['phone_case'] = {
label = 'Phone Case',
weight = 40,
stack = false, -- every case carries its own design
close = true,
consume = 0, -- required: sd-phone takes the item itself when the case goes on
description = 'A phone case. Use it to put it on your phone.',
server = { export = 'sd-phone.usePhone_case' },
buttons = {
{ label = 'Put On a Phone', action = function(slot) exports['sd-phone']:fitPhoneCase(slot) end },
},
},and give each phone item a button for its own case, next to the SIM Tray one if you have it:
buttons = {
{ label = 'Phone Case', action = function(slot) exports['sd-phone']:openPhoneCaseMenu(slot) end },
},Right-clicking a case then offers Put On a Phone (a list when the player carries several phones), and right-clicking a phone offers Phone Case: take off the one it has, or fit one from the pockets.
On qb-core / qbx_core, in shared/items.lua:
phone_case = { name = 'phone_case', label = 'Phone Case', weight = 40, type = 'item', image = 'phone_case.png', unique = true, useable = true, shouldClose = true, description = 'A phone case. Use it to put it on your phone.' },Inventories without buttons on their items get the same lists from the /phonecase command (Command in configs/cases.lua). Using the case item works everywhere: with one phone it goes straight on, with several the player picks. A case can also be taken off in Settings, Phone Case, on the phone itself.
The case models, the store's studio room and the stickers are streamed by sd-phone-props, so keep it up to date alongside sd-phone.
To hand a player a ready-made case from another script, give the item with the design as its data:
exports.ox_inventory:AddItem(source, 'phone_case', 1, {
case = { style = 'leather', color = 4, charm = 'heart', charmColor = 17 },
description = 'Leather case, heart charm',
})SIM card item (optional)
Only needed if you turn on unique phones in configs/uniqueandsim.lua (off by default), where phone numbers live on SIM items instead of characters. Not needed in the BuiltInNumbers variant, where phones mint their own numbers. Copy sim_card.png from sd-phone's images/ folder into ox_inventory/web/images/ like the phone icons, then add the item:
['sim_card'] = {
label = 'SIM Card',
weight = 5,
stack = false,
close = true,
consume = 0, -- required: sd-phone consumes the item itself on install
server = { export = 'sd-phone.useSim_card' }
},['sim_card'] = { name = 'sim_card', label = 'SIM Card', weight = 5, type = 'item', image = 'sim_card.png', unique = true, useable = true, shouldClose = true, description = 'A SIM card. Install it in a phone to get a number.' },INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('sim_card', 'SIM Card', 5, 0, 1);That's the whole integration. Sell or spawn sim_card anywhere you like — an ox_inventory shop, a loot table, an admin give — and a blank card activates itself on first use, minting a fresh registered number on the spot. The giveSimCard export exists only for special cases (character-bound SIMs or hardcoded numbers), and ActivateBlankSims = false in configs/uniqueandsim.lua disables self-activation if you want every SIM to come through it.
Convars
| Convar | Default | Purpose |
|---|---|---|
sd_fivemanage_key | empty | Legacy location for the Fivemanage media token; prefer configs/server/apikeys.lua |
sd_qbox_cdn_key | empty | The Qbox CDN token, when Provider = 'qbox'; prefer configs/server/apikeys.lua |
sd_phone_lbcompat | true | The lb-phone compatibility layer; set false to disable |
sd_cf_turn_token_idsd_cf_turn_api_token | empty | Cloudflare TURN, used by the WebRTC features: video calls and nearby-voice capture in camera clips. Live broadcasts and bodycams do not use it. See step 5 |
sd_phone_turn_urlsd_phone_turn_secret | empty | Your own coturn server, with its static-auth-secret: every player gets their own expiring login. Used in addition to the above |
sd_phone_turn_urlsd_phone_turn_usernamesd_phone_turn_credential | empty | A TURN server with one fixed login (Metered), used in addition to the above. Shared by every player, so the server warns about it |
Both are optional, and either one alone is enough. With neither, the phone falls back to public STUN: recordings still capture the player's own microphone, and video and nearby voices work only between players who can reach each other directly, which in practice means the same network.
Migrating from lb-phone
If the server previously ran lb-phone, the built-in importer carries player data over (numbers, passcodes, contacts, call history, blocked numbers, SMS including groups, photos, notes):
sdphone:migrate dry # preview, writes nothing
sdphone:migrate # import, idempotent and marker-guardedThird-party lb-phone integrations keep working through the compatibility layer without edits.

