[ESX/QB] Advanced SIM Card System for LB Phone

[PAID][ESX/QB] :fire: NRG SimCard – Advanced SIM Card System for LB Phone :iphone:

Hey everyone! :wave:
I’m excited to share with you my latest FiveM script – NRG SimCard, an advanced add-on for LB Phone that introduces realistic and customizable SIM card mechanics into your server.


:dart: Key Features

  • :clipboard: Purchase Registered or Unregistered SIM Cards

    • Registered SIM Card: Allows full phone control (block, delete, duplicate) and is traceable by police.
    • Unregistered SIM Card: Limited functionality and completely anonymous – perfect for roleplay scenarios.
  • :telephone_receiver: Data Transfer With SIM Card

    • Call logs and messages are stored on the SIM card, not on the device – they follow the card when moved or copied.
  • :1234: Phone Number Management

    • :wastebasket: Delete Number: Fully removes from the system.
    • :no_entry_sign: Block SIM: Deactivates previous SIMs using the number.
    • :repeat: Duplicate Number: Share a number with others, only one can be active at a time.
  • :mobile_phone_off: Turn Phone On/Off

    • Useful for stealth gameplay or running away from people.
  • :credit_card: Insert/Remove SIM Cards

    • Change numbers dynamically, swap phones or go off the radar.
  • :desktop_computer: Custom UI

    • Modern and intuitive interface for managing SIM features easily.
  • :man_police_officer: Police Access to Registered Numbers

    • Players with police jobs can trace registered numbers to their owners.


:wrench: Config

Config = {}
Config.Framework = 'ESX' -- QBcore or ESX
Config.language = 'en' -- Language setting for the interface
-- 'pl'  - Polish
-- 'en'  - English
-- 'fr'  - French
-- 'it'  - Italian
-- 'pt'  - Portuguese
-- 'sv'  - Swedish
-- 'es'  - Spanish
-- 'de'  - German
-- 'tr'  - Turkish

Config.UseNrgScriptsCustomUi = true  											-- If set to false, the script will use the default ox_lib menu. If set to true, the custom NRG UI will be used.
Config.UseTarget = 'ox_target'													-- ox_target(Supports All) or qb-target(Supports only NrgCustomUi)

Config.Blip = true                                                              -- Determines if a blip will be created on the map
Config.BlipShortRange = true                                                   -- Defines whether the blip is short range or global
Config.BlipCoords = vector3(-1083.10, -245.79, 37.76)                            -- Coordinates for the blip on the map [X, Y, Z]
Config.BlipSprite = 459                                                         -- Blip Sprite ID https://docs.fivem.net/docs/game-references/blips/#blips
Config.BlipColor = 3                                                            -- Blip Color ID https://docs.fivem.net/docs/game-references/blips/#blip-colors
Config.BlipScale = 1.0                                                          -- Scale/size of the blip on the map
Config.BlipName = "Phone Operator" -- The name displayed for the blip

Config.coords = vector4(-1083.10, -245.79, 37.76, 200.12)                      -- Coordinates and heading (rotation) for a Sim Shop location
Config.AddPedOnCoords = true                                                    -- Whether to create a ped at the coordinates
Config.PedModel = 'ig_molly'                                            -- Ped model used for creating the NPC (non-player character)
Config.TargetSizeIfNotPed = vector3(2.0, 2.0, 2.0)                              -- Size of the interaction box if no ped is present (used with ox_target)

Config.AddUnregisteredItemToShop = true                                         -- Determines if the Unregistered Sim Card is added to the shop for purchase
Config.AddPhoneItemToShop = true                                                -- Determines if the phone item is added to the shop for purchase
Config.MaxSimCard = 10															-- Maximum number of cards that can be registered by a player

Config.prices = {}                                                              -- Table containing price settings
Config.prices.registered = 100                                               -- Price for a registered SIM CARD
Config.prices.unregistered = 80                                                 -- Price for an unregistered SIM CARD
Config.prices.duplicat = 80                                                     -- Price for a duplicate SIM CARD
Config.prices.phone = 250                                                       -- Price for the phone item

Config.uniqueitem = 'custom_number'                                             -- Required item for creating a custom phone number (used as a unique identifier)

Config.PoliceJobs = { 'police' }                                                -- List of jobs considered as police

Config.ShowPhoneAfterTurnOn = false                                             -- Whether to show the phone interface automatically after it is turned on


Config.Account = 'both' -- Defines the account type used for payments

:camera_flash: Preview

:movie_camera: Watch the Video (YouTube)


:wrench: Requirements

Resource
ox_lib
ox_inventory
oxmysql
lb-phone

Documentation


:credit_card: Purchase


:information_source: Final Information

Code is accessible Escrow
Subscription-based No
Lines (approximately) 3033 (lua) + UI
Requirements ox_lib, ox_inventory, oxmysql, lb-phone
Support Yes and constant updates

Make your in-game phones smarter and more realistic with NRG SimCard. Perfect for immersive RP, criminal gameplay, or police investigations. :fire:

5 Likes

Looks great! Definietly going to try!

2 Likes

:rocket: Update v1.1.1 – NRG Simcard Changelog

:wrench: Added:
[+] Editable notify system
[+] Editable progress bar system

:lady_beetle: Fixes:
[/] Fixed SMS visibility issue
[/] Fixed UI turning off when ped was active

:gear: New Config Options:

Config.ProgressBar = 'ox_lib' -- ox_lib, esx, QBcore or add your Custom in progressbar.lua
Config.OxLibNotify = true     -- if true, uses ox_lib notify; if false, uses ESX or QBcore notify or add your Custom

:information_source: The rest of the config remains unchanged.

2 Likes

:rocket: Update v1.1.2 – NRG Simcard Changelog

:wrench: Added:
[+] Add Export exports["nrg_simcard"]:OpenActivePhone()

:lady_beetle: Fixes:
[/] Fix the issue with images not loading in the UI.

1 Like

I’ve been looking for a simcard for lb-phone for a long time. thanks

1 Like

:sparkles: NRG Simcard v1.1.3 Released! :sparkles:

:arrows_counterclockwise: Changelog:
[+] Added a new feature that automatically assigns a SIM card to an empty phone in your inventory.
When you use a SIM card, if you have an empty phone, the script will automatically find it and assign the SIM card to that specific phone.

:wrench: ox_inventory item configuration for sim_card:

["sim_card"] = {
    label = "Sim Card",
    weight = 190,
    stack = false,
    consume = 0,
    client = {
        export = "nrg_simcard.insertSimCard",
        add = function()
            TriggerEvent("nrg_simcard:itemAddedSIM")
        end
    },
},

:package: Export used for SIM assignment:

export = "nrg_simcard.insertSimCard"

Make sure to update your inventory config and enjoy the new smart SIM feature!

3 Likes

Planning to buy this script just a question. i dont want to use the NPC to purchase the sim card and the phone. is this posible?

can be the phone have a durability? then when the person go to the water there is a tendency the phone durability is dropping. every day the phone durability drop

Yes, you can disable NPCs in the config file.

As for damaging the phone, the script doesn’t include that. The script is for an advanced SIM card system, not the phone itself. Check if LB Phone has such an option in the config. I saw it somewhere, but I’m not sure if it was an add-on or LB Phone itself.

:sparkles: New Update Released!
NRG Simcard v1.1.4 is now live!

:arrows_counterclockwise: Changelog:
:heavy_plus_sign: Added support for Kiminaze ContextMenu
:heavy_plus_sign: Added config option for generated phone number length
:heavy_plus_sign: Added config option for custom phone number length
:heavy_check_mark: Fixed issue with maximum phone number length validation

:gear: New config options:

Config.GeneratePhoneNumberLenght = {11, 11}    -- Length of the generated phone number [min, max]
Config.CustomPhoneNumberLenght = {6, 11}       -- Length of the custom phone number [min, max]

How about the damaging the sim card and the durability

Question : is this possible will haave a prepaid sim ?

How about the damaging the sim card and the durability
You can set it in ox_inventory.

Question : is this possible will haave a prepaid sim ?
Our exports support this possibility. Simply add it in the appropriate script, and the player will receive a free SIM card upon joining the server.

no i mean… load card example.

i have 100$ load to reload in the sim card .
when i consume the 100$ load i cannot call or text or connect any apps in the phone

Maybe it’s possible to create a config, where you can add a fixed prefix?

lb_phone you have the config:

Config.PhoneNumber.Prefixes = {
β€œ555”
}

But the simcard’s are overwriting that… That would be nice.