From 2c0e8bb24663b1e7086d6d16aec2d2d8efe1c6e8 Mon Sep 17 00:00:00 2001 From: "smx.pusha" <139338836+smxpusha@users.noreply.github.com> Date: Sat, 8 Aug 2026 17:55:45 +0200 Subject: [PATCH] FIX - require phone item to open device --- README.md | 6 +++--- sky_phone/config/config.lua | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ec2fe8d..428972a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # sky_phone -Standalone FiveM phone built with Vue 3, TypeScript, Pinia, Vue Router, Konsta UI 5, and Tailwind CSS 4. Each non-stackable `sky_phone` item receives a unique 15-digit IMEI and owns its server-persisted device state. The phone opens through the usable item; `/phone` is disabled unless `Config.Phone.DevelopmentCommand` is enabled explicitly. +Standalone FiveM phone built with Vue 3, TypeScript, Pinia, Vue Router, Konsta UI 5, and Tailwind CSS 4. Each non-stackable `phone` item receives a unique 15-digit IMEI and owns its server-persisted device state. The phone opens through the usable item; `/phone` is disabled unless `Config.Phone.DevelopmentCommand` is enabled explicitly. An iFruit account is optional. Unlinked devices retain local settings, alarms, media, apps, notes, contacts, and recent calls. Linking from Mail or Settings moves local data into an empty cloud account; an existing cloud dataset wins over local contacts and recents. Signing out keeps an editable local snapshot without deleting cloud data. @@ -8,7 +8,7 @@ An iFruit account is optional. Unlinked devices retain local settings, alarms, m - ESX Legacy (`es_extended`), Qbox (`qbx_core`), or QBCore (`qb-core`). The bridge selects a running supported framework when `Config.Bridge.Framework` is set to `"auto"`. - A supported inventory: `ox_inventory`, `qb-inventory`, `lj-inventory`, `qs-inventory`, `codem-inventory`, `core_inventory`, `mf-inventory`, or `smx-inventory`. The bridge auto-detects a running provider and normalizes metadata, slots, counts, item mutations, and usable-item callbacks. `mf-inventory` and `smx-inventory` require ESX. Because SMX stores standard ESX items as stacks, its adapter persists one active Phone/SIM metadata record per player and item type in ESX player metadata. -- A non-stackable inventory item named `sky_phone`. +- A non-stackable inventory item named `phone`. - Two unique, non-stackable inventory items named `sky_phone_sim_registered` and `sky_phone_sim_anonymous`. Their metadata is initialized automatically on first use, so shops and crafting recipes add plain items without supplying a number. - `oxmysql` with MySQL/MariaDB. - `pma-voice` when `Config.Calls.VoiceProvider` is set to `"pma"`. @@ -49,7 +49,7 @@ For `ox_inventory`, configure all three items with `stack = false` and `consume Example `ox_inventory/data/items.lua` entries: ```lua -["sky_phone"] = { +["phone"] = { label = "iFruit Phone", weight = 200, stack = false, diff --git a/sky_phone/config/config.lua b/sky_phone/config/config.lua index 7e7d448..9562150 100644 --- a/sky_phone/config/config.lua +++ b/sky_phone/config/config.lua @@ -15,7 +15,7 @@ Config.Command = "phone" Config.Phone = { Item = "phone", - DevelopmentCommand = true, + DevelopmentCommand = false, DeviceName = "iFruit Phone", }