GG Studio Logo

Login With FiveM

Login

Install gg_lib

gg_lib is the shared library every new GG Studio script runs on. Install it once and start it before your GG scripts. It connects them to your framework, inventory, target, and dispatch on its own, and gives you Script Studio, the in-game menu where you change every script's settings. There is no config file to edit.

1. Download

You need these three resources. Each button downloads the latest release straight from GitHub:

Extract each one into your server's resources folder and keep the folder names gg_lib, oxmysql, and ox_lib. If you already run oxmysql or ox_lib, skip those.

2. Start them first

Add this to server.cfg, above every GG Studio script:

ini
ensure oxmysql
ensure ox_lib
ensure gg_lib

Database tables are created automatically. There is no SQL to import.

3. Add yourself as an admin

Script Studio is admin-only, so nobody can open it until you add yourself.

  1. Join your server and read your license2 identifier off the server console.
  2. Open gg_lib/server_config.lua and put it in the admins list:
lua
--------------------------------------------------
-- MARK: gg_lib Server Configuration
--------------------------------------------------
-- Put your license below and restart. That is the whole setup.
-- Keep a copy before you update -- an update replaces this file.

return {
    -- You. Join your server and read your license2 off the console.
    -- Nothing in game can remove anyone listed here, so it is the way back
    -- in if you ever lock yourself out. Everyone else is added in /ggsettings.
    admins = {
        "license2:put_your_own_license_here",
    },

    -- Anyone who is already an admin on your server gets in too, without
    -- being listed above. They get Admin, never Owner.
    -- Set false if you want only the list above.
    auto_admin = true,
}
  1. Restart gg_lib and type /ggsettings in game.

Keep a copy of this file before you update, because an update replaces it. Add other admins from /ggsettings → Admins instead of editing the file.

4. Change settings

Type /ggsettings in game and pick a script. Changes apply when you press Save, and anything that needs a restart is labelled. Settings are stored in your database, so updating a script never wipes them.

Common questions

The menu will not open. You are not an admin yet. Finish step 3, restart gg_lib, and try again.

Where did utility.lua go? Scripts on gg_lib have no config file. Everything is in /ggsettings.

A script picked the wrong framework or inventory. Open Bridges in /ggsettings to see what was detected. To force a choice, see Bridges.

How do I update? Copy your server_config.lua somewhere safe, replace the gg_lib folder with the new release, put the file back, and restart. Your settings live in your database, so nothing else is lost.

GuideCovers
AccessWho can open Script Studio, and how to grant it
Script StudioSearch, presets, and placing things in the world
BridgesForcing a framework, inventory, target, or dispatch
LanguageSetting the language and translating it yourself
HooksRunning your own code when a GG script reports something
WaypointsThe shared world markers every script draws
Daily resetThe clock every script's daily counters share

Source and issues: github.com/GGStudioCFX/gg_lib. Ask in the Discord if you get stuck.

Stuck on this step?

Ask in the Discord with your script name, framework, and the exact error.

Join the Discord

Copyright © 2026 GG Studio.

Not affiliated with or endorsed by Rockstar North, Take-Two Interactive, or any other rights holders. FiveM is a copyright and registered trademark of Take-Two Interactive Software, Inc.
Our checkout system is provided by Tebex Limited, who manage payment processing, product delivery, and billing support. Prices shown in currencies other than USD are approximate conversions updated daily. All purchases are processed in USD, so the final amount charged may vary depending on your bank or payment provider’s exchange rate.