One phone per item and Cloud
Unique phones per item: in Eleven Phone for FiveM each phone item has its own number and data, and can be stolen. How it works, its limits and Cloud backups.
By default the phone belongs to the character: their number, contacts and photos go with them, and the phone inventory item only decides whether it can be opened.
With Config.Aparatos.Unicos = true, every phone item is a separate device, with its own number and all its contents. A character can carry several, and whoever has someone else's phone (and knows its PIN) can use all of it.
Config.Aparatos = { Unicos = true }
It requires Config.InventoryType = 'ox_inventory': the number travels in each item's metadata, and the inventory tooltip shows it (for example, (205) 555-0184).
What changes when it's on
- Each phone keeps its own stuff. Contacts, blocked numbers, contact card, gallery and albums, notes, settings (wallpaper, case, tones), installed apps, PIN, plan and the Eco session stay with the device. Chats, calls and Services were already tied to the number.
- Accounts belong to the phone's owner. Bank, Crypto, bets, Mail, Chispa, Garage, Licences and Taxi show and move whatever belongs to the person who first set up that phone, online or not. With someone else's phone unlocked you can send their money through Messages, up to
Config.Pagos.TopeDiarioper day (500 by default). - The PIN protects the data, not just the screen. Until it's unlocked, the server returns nothing from the phone except what the lock screen shows. Unlocking expires after
Config.Security.SesionMinidle minutes (15 by default). - Notifications hidden when locked. Lock-screen previews ship off; each player can turn them on in Settings.
- FaceID and fingerprint belong to the owner. They only work for whoever first set up the phone. With someone else's phone, it's always the PIN. Each round of failed attempts doubles the wait.
- First setup. The first blank phone a character opens takes their usual number, with everything on it. Later ones ask to be set up fresh (new number) or restored from a Cloud backup.
- Calls to another phone. Anything arriving on a phone that's in your pocket but not in your hand shows up as a notification ("Another phone") and is answered by taking that one out. One active call per person.
Limits
- Debit cards: the bank handles them through the account holder's session. With someone else's phone they work if the owner is online.
- With
Config.MoneyType = 'qbx'an offline player can't be charged: with an offline owner's phone, purchases say there are no funds.
Cloud
The Cloud app backs up a phone and restores it onto another, so you don't lose everything if it's stolen. It only exists with Unicos on; otherwise it switches itself off. It belongs to the person: each player signs in with their own user and whatever they choose (password, FaceID, fingerprint or several), on their own phone.
Config.Cloud = {
Precio = 500, -- price, from the holder's bank
Dias = 7, -- how often it's charged
CopiasPorNumero = 3, -- backups kept per number
EstrenoDias = 7, -- free days for everyone when first enabled
}
- It backs up your phones daily while you're carrying them, and has a "Back up now" button. A stolen phone isn't backed up: that would save whatever the thief deleted.
- Restoring happens from a blank phone's welcome screen: your number moves to that phone with whatever the backup had, and the phone that had it is left without service (it can be set up again).
- Saving, deleting backups, cancelling and restoring are confirmed with the password, FaceID or fingerprint the account has set.
- If a period can't be charged, the account is paused: backups are kept, but no new ones are made and nothing can be restored until paid from the app.
- Launch: the first start with
Unicosbacks up every number and gives everyoneEstrenoDiasfree. Backups of anyone who doesn't sign up in that time are deleted.
Updating from a version without this feature
The first time a version with "one phone per item" starts, the resource reorganises the data by number. It's automatic and happens once: it first saves a copy of every table it touches (eleven_phone_*_bak_aparatos). As long as Unicos stays off, nothing changes in game. Back up your database before updating, as always.
Turning it off after enabling it
You can, but it isn't free: the numbers and data of phones that were set up stay with those phones, and each character goes back to seeing only their main number (the last one of theirs they used).