πŸ“”Installation

This comprehensive guide will walk you through the installation process of GKSPHONE V2. Follow each step carefully to ensure a successful installation.

triangle-exclamation
Installation Video Tutorial

Step 1: File Structure Setup

Create the proper directory structure for GKSPHONE V2:

  1. Navigate to your server's resources folder

  2. Create a [phone] folder inside the resources directory

  3. Extract all files from the downloaded zip into this [phone] folder

Expected Directory Structure:

Phone folder structure
Create [phone] folder in resources

Step 2: Item Configuration

Configure phone items based on your inventory system:

Add these items to your qb-core/shared/items.lua file:

Step 3: Database Setup

triangle-exclamation
circle-check

Manual Database Setup

  1. Important: Delete all existing gksphone_* tables from your database

  2. Run the gksphone/gksphonev2.sql file in your database management tool

Database Setup Tutorial

Step 4: Framework Configuration

circle-info

Supported Frameworks: ESX, QB-Core, Qbox There is also a standalone file that you can customize for your own framework.

circle-check
  1. Open gksphone/config/config.lua

  2. Set Config.Framework to match your server framework:

    • "esx" for ESX

    • "qb" for QB-Core

    • "qbx" for Qbox

    • "auto" for automatic detection

Framework configuration
Configure framework in gksphone/config/config.lua

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.

circle-info

If you are having trouble taking a photo, you may have filled out the fields below incorrectly.

Music and PlayTube App Configuration

circle-info

You must enter your GKSPHONE purchase transaction ID in Cfg.TebexTransactionID in the serverconfig.lua file. If you don't know your transaction ID, check your Tebex purchase historyarrow-up-right.

Tebex configuration
Configure Tebex ID in gksphone/config/serverconfig.lua
circle-exclamation

Application Logging Configuration

circle-info

Discord Webhooks: Enter Discord webhook URLs for applications you want to log in the serverconfig.lua file.

Fivemanage Logs: Ensure fmsdkarrow-up-right is installed for Fivemanage logging support.

Logging configuration
Configure logging in gksphone/config/serverconfig.lua

Step 6: Server Startup Configuration

Add GKSPHONE to your server.cfg file. Order is important - ensure dependencies start before the phone system:

circle-check

πŸ”„ Updating GKSPHONE V2

Follow the steps below to safely update your GKSPHONE resource:

1

πŸ“¦Backup Your Current Installation

Before updating, create a backup of your current gksphone folder. We recommend compressing it into a .zip file for safe storage.

2

πŸ—‘οΈ Remove the Old Version

Delete the existing gksphone folder from your server's [phone] directory.

3

⬇️ Download the Latest Version

Download the latest version of GKSPHONE V2 from the portal cfxarrow-up-right page.

4

βš™οΈ Reapply Your Configurations

If you've made custom changes to the following files:

  • gksphone/config/config.lua

  • gksphone/config/serverconfig.lua

Make sure to reapply your edits after updating.

circle-info

πŸ’‘ Tip: Keep a copy of your edited config files before deleting the old version, so you can easily compare and merge changes.

πŸ“± 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:

  1. Make sure your GKSPhone database is clean (no existing data).

  2. Ensure no players are online on your server during the transfer.

πŸš€ Migration Process

Once you meet the above requirements:

  1. Open your server console.

  2. Run the following command:

  3. 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