πInstallation
This comprehensive guide will walk you through the installation process of GKSPHONE V2. Follow each step carefully to ensure a successful installation.
Critical Prerequisites:
Use WinSCP for FTP file transfers. FileZilla may corrupt files during transfer.
If upgrading from v1 to v2, you must remove all
gksphone_*tables from your database before proceeding.
Step 1: File Structure Setup
Create the proper directory structure for GKSPHONE V2:
Navigate to your server's resources folder
Create a
[phone]folder inside the resources directoryExtract all files from the downloaded zip into this
[phone]folder
Expected Directory Structure:

Step 2: Item Configuration
Configure phone items based on your inventory system:
Add these items to your qb-core/shared/items.lua file:
Add iphone and phone to tgiann-inventory/configs/configMaxStack.lua for stack
ESX includes a default phone item. Add only the iPhone item by running this SQL query:
Step 3: Database Setup
Before running the SQL file, make sure to delete all tables starting with gksphone_ in your database.
Automatic Setup Available: If you enable Config.DatabaseAutoSetup in gksphone/config/config.lua, the system will automatically create the required database tables. You can skip the manual SQL step.
Manual Database Setup
Important: Delete all existing
gksphone_*tables from your databaseRun the
gksphone/gksphonev2.sqlfile in your database management tool
Step 4: Framework Configuration
If you haven't changed your framework's source file name, you can leave this as "auto" for automatic detection.
Open
gksphone/config/config.luaSet
Config.Frameworkto match your server framework:"esx"for ESX"qb"for QB-Core"qbx"for Qbox"auto"for automatic detection

Step 5: Server Configuration
Configure your server settings in gksphone/config/serverconfig.lua:
Media Service Setup
You can use any media service you prefer. We recommend GKS Media, Fivemerr, or Fivemanage.
Music and PlayTube App Configuration

Important: Keep your Tebex ID secure. Support cannot help recover lost transaction IDs.
Application Logging Configuration

Step 6: Server Startup Configuration
Add GKSPHONE to your server.cfg file. Order is important - ensure dependencies start before the phone system:
Installation Complete! After completing all steps, restart your server. The GKSPHONE V2 system should now be active and ready for use.
π Updating GKSPHONE V2
Follow the steps below to safely update your GKSPHONE resource:
β¬οΈ Download the Latest Version
Download the latest version of GKSPHONE V2 from the portal cfx page.
π± Migrating from Other Phones
This guide explains how to migrate data from other popular phone systems to GKSPhone. Currently, migration is only supported for LB-Phone. Support for other phones will be added in future updates.
π What Data is Transferred
When migrating from LB-Phone, the following data will be transferred to GKSPhone:
π Call History
π€ Contacts
πΌοΈ Photos
ποΈ Notes
π° Advertisement Posts
πΆοΈ DarkChat
πΈ Instagram
π¦ Twitter
π¬ Messages
All these data types are automatically converted and imported into the GKSPhone database.
βοΈ Requirements
Before running the migration process:
Make sure your GKSPhone database is clean (no existing data).
Ensure no players are online on your server during the transfer.
π Migration Process
Once you meet the above requirements:
Open your server console.
Run the following command:
Wait until the process completes. Do not restart or stop the server during this process.
After completion, all eligible player data from LB-Phone will be migrated to GKSPhone automatically.
π§© Future Support
Migration tools for other popular phone systems will be added in future updates. Stay tuned for announcements in our Discord or documentation.
Last updated