Installation Guide

This document explains the full installation proccess and config.lua file used by the resource. Every section is described in detail so server owners can easily customize the PauseMenu their needs.

Step 1: Configure your PauseMenu


Framework Setup

Choose which framework your server uses.

Config.frameworkType = "ESX"

Supported frameworks:

Framework
Value

ESX

"ESX"

QBOX

"QBOX"

QBCore

"QBCore"

Example configurations:

Config.frameworkType = "ESX"
Config.frameworkType = "QBOX"
Config.frameworkType = "QBCore"

Important: If the framework type is incorrect, player data such as job, money or gang may not load correctly. In client_editable and server_editables files you can define your own framework.


UI Settings

All interface related configuration is stored inside:


Accent Colors

Defines the default UI gradient colors.

These colors are used across the interface and can be changed by players in the UI settings menu.


Controls which buttons appear in the top navigation bar.

Option
Description

map

Opens the map

rules

Shows server rules

pages

Opens custom pages

keybinds

Shows server shortcuts

gameSettings

Opens GTA settings

uiSettings

Opens UI customization

darkModeLightModeToggle

Switch between dark and light theme

Setting a value to false hides the button.


Custom Navigation Buttons

You can add custom buttons to the pause menu.

Field
Description

label

Button label

command

Client command executed

icon

Icon file located in html/icons

Icons must be placed inside:


Player Statistics

Controls which player information is visible in the statistics panel.

Displayed information depends on the framework and server integrations.


Add links to your community platforms.

Platform
Purpose

Discord

Community server

TikTok

Social media

Tebex

Donations / store


Max Players

Defines the maximum server player count used for the player counter.

Setting this value to 0 hides the player counter.


Permissions

Defines which permission groups can edit specific features.

Section
Who can edit

rules

Admins

pages

Admins

announcements

Admins + moderators

keybinds

Admins

keybindsAdd

Admins


Animation Settings

Controls the animation played when opening the pause menu.

Property
Description

enable

Enables animation

dict

Animation dictionary

anim

Animation name

prop

Attached prop

bone

Player bone index

placement

Position offset

loop

Loop animation

To disable the animation:


Localization

Defines which language the UI uses.

Supported languages:

Language
Value

English

en

Polish

pl

Example:


Translations

All interface text is stored inside Config.translations.

To add a new language:

  1. Copy an existing translation block

  2. Rename the language key

  3. Replace the text values



Last updated