πŸ“”Installation

On this page you will find installation instructions for the GKSPHONE V2 version.

Step 1: File Location

  • Create a [phone] folder inside the main source file and extract the files in the zip to this folder.

If you are using ox_inventory, follow the steps on the documentation page

Step 2: Insert SQL Query

  • Run the gksphone/gksphonev2.sql file into your database.

Step 3: Serverconfig.lua Configuration

  • You can use any media service you want. The media upload systems we recommend are GKS Media, Discord Webhook, Fivemerr and Fivemanage.

Write the following code in the relevant places in the serverconfig.lua file and edit only the AuthToken section.

serverconfig.lua
--Options: "gksmedia", "fivemanage", "fivemerr", "discord", "customMedia"
Cfg.MediaService = "gksmedia"  

-- Fill in these fields according to the service you selected:
Cfg.AuthTokenImage = ""    -- Token/API/webhook for image sharing
Cfg.AuthTokenAudio = ""    -- Token/API/webhook for audio sharing
Cfg.AuthTokenVideo = ""    -- Token/API/webhook for video sharing

Music and Playtube App Configuration

You must write your gksphone purchase tbx-id in Cfg.TebexTransactionID in serverconfig.lua file. If you don't know tbx-id, check your tebex purchase history.

gksphone/config/serverconfig.lua

Log Configuration of Applications

In this section of the serverconfig.lua file, you only need to enter the discord webhooks for the applications you want to log.

gksphone/config/serverconfig.lua

Step 4: Server.cfg Configuration

Just start the phone file is enough.

-- First we will start the framework, never below
ensure oxmysql
ensure es_extended or qb-core

-- These resources must be started before the phone
ensure your_banking
ensure your_inventory
ensure your_housing
ensure your_garages

-- the other scripts don't matter - they can be started before or after no difference


-- The phone system
ensure [phone]

Last updated