Suty Phone
Compatibility
Compatibility
Everything below is found on its own ('auto' in config.lua). The server console says what was picked when the phone starts. To force one, write its name in the matching option.
Frameworks
| Framework | Status |
|---|---|
Qbox (qbx_core) |
✅ Made and played on |
QBCore (qb-core) |
✅ Tested on 1.3.0: server start, money, names |
ESX Legacy (es_extended) |
✅ Tested on 1.15.0: server start, money, names. Names and birthdates come from esx_identity, duty is ESX's own job duty, and a job's boss is the grade named boss |
Config.Framework: 'auto', 'qbx', 'qb' or 'esx'.
Inventories
Each phone item carries its own number, so a stolen phone is that phone, with its data.
| Inventory | Number on the item | A new phone gets its number |
|---|---|---|
| ox_inventory | ✅ metadata | when the item is created |
| origen_inventory | ✅ metadata | when the item is created |
| qb-inventory 2.2+ | ✅ info | when the item is created |
| qb-inventory 1.x / 2.0-2.1, ps-inventory, lj-inventory | ✅ info | the first time it's used |
| qs-inventory, codem-inventory, tgiann-inventory, core_inventory | ✅ | the first time it's used |
| ESX's own inventory | ❌ | the first time it's used |
- On qb-style inventories the phone items must be
unique = true. - ESX's own inventory keeps no data on an item: each character gets one number per phone model, kept on the character, so a phone given away or stolen doesn't take its number. Use one of the other inventories for unique phones.
Config.Inventory: 'auto', 'ox_inventory', 'qb-inventory', 'qs-inventory', 'esx'…
Banking and invoices
Balances always use the framework's bank money. These add the history, the card and invoices in the Bank app.
Config.BankSystem |
Resource |
|---|---|
'renewed' |
Renewed-Banking |
'okok' |
okokBanking |
'qb' |
qb-banking |
'ps' |
ps-banking |
'tgg' |
tgg-banking |
'fd' |
fd_banking |
'none' |
Only the phone's own history |
Config.BillingSystem |
Resource |
|---|---|
'bossmenu' |
suty-bossmenu |
'okok' |
okokBilling |
'esx' |
esx_billing |
'none' |
No invoices |
Garages (Garajes app)
Config.GarageSystem |
Resource |
|---|---|
'suty-garages' |
suty-garages (also valet and maintenance) |
'jg-advancedgarages' |
jg-advancedgarages |
'cd_garage' |
cd_garage |
'okokGarage' |
okokGarage |
'codem-garage' |
codem-garage |
'qbx_garages' |
qbx_garages |
'qb-garages' |
qb-garages |
'esx_garage' |
esx_garage |
'db' |
No garage script: reads the framework's vehicle table |
'auto' takes the first one started, in this order.
Optional resources
| Resource | What you get |
|---|---|
| Renewed-Banking | Bank history in the Bank app |
| suty-bossmenu | Invoices in the Bank app |
| illenium-appearance | The Klaro NPC looks like a character of your server |
| suty-postal | Postal codes in Maps and in the logs |
| Renewed-Weathersync | The Weather app also shows when the weather will change |
| suty-drugsell | The El Punto app |
| suty-tappay | The Tap Pay app |
| suty-garages | Valet and maintenance in Garajes |
Optional services
| Service | What it's for |
|---|---|
| Fivemanage | Stores photos and videos outside your server (recommended) |
| KLIPY | GIFs in Messages and Wasap |
| Cloudflare TURN | Video calls that hide IPs and work behind strict NAT |
| Python + yt-dlp + Node.js | YouTube songs on Fotogram stories |
Scripts made for other phones
Jobs, heists and drug scripts written for another phone still reach this one: their messages, mails and notifications arrive without editing them. Each phone has a switch in Config.Compat, and none of them answers while that phone's own resource is started.
Config.Compat |
Also | What answers |
|---|---|---|
'lb-phone' |
Notifications, messages, mails, contacts, numbers, calls, phone state, company messages, and custom apps (Custom apps) | |
'qb-phone' |
qbx_phone | Mails and notifications |
'qs-smartphone' |
Notifications, messages, mails, numbers, calls, disabling the phone | |
'qs-smartphone-pro' |
Notifications, phone state, closing and disabling the phone | |
'gksphone' |
Notifications, messages, mails, numbers, calls, blocking the phone | |
'npwd' |
Notifications, messages, numbers, phone state, disabling the phone | |
'high-phone' |
Notifications, messages, mails, numbers, calls, open / close | |
'yseries' |
Notifications, messages, mails, numbers, phone state, company messages |
Config.CompatOptions = {
mailDomain = 'nubemail.com', -- mail addresses: <NubeID or number>@<domain>
app = 'settings', -- app shown for notifications with no matching app here
rate = { count = 12, window = 10000 },-- pushes per phone number every window (ms)
}
Mails arrive as notifications of the Mail app, and a message from a name (a bank, "Police") as a notification of Messages; a message between two numbers is a real Messages thread.
Coming from another phone
A new phone can take back a number its character had in another phone script (Config.Recovery.sources): lb-phone, qb-phone, npwd, esx_phone, gcphone, high-phone, gksphone and yseries are read when their tables are in the database. With the Klaro stores on, a Klaro employee puts the number back from the tablet instead. The other script's tables are only read, never changed.
