Skip to Content

Configuration

Every setting lives in one file: shared/config.lua, inside the flux-pausemenu folder. Open it in any text editor to make changes.

This file is yours to edit freely, and your changes are kept when you update the resource — you won’t lose your settings. After editing it, run restart flux-pausemenu in your server console and reopen the menu to see the change.

This page walks through every option, grouped by what it does. You can skip to the part you care about — nothing here is required reading.

The basics

Config.Framework = 'qbox' -- 'esx' | 'qbcore' | 'qbox' | 'standalone' Config.Locale = 'en' -- 'en' | 'fr' | 'de' | 'es' | 'pt' Config.Debug = false -- extra messages in the console, for fixing problems
SettingWhat it does
Config.FrameworkWhich framework the menu reads player data from. See Pick your framework.
Config.LocaleThe menu’s language.
Config.DebugPrints extra info to the client console. Leave this false unless you’re chasing a problem.

Opening the menu

Config.Command = 'pausemenu' -- chat command, e.g. typing /pausemenu Config.Key = 'ESCAPE' -- the key that opens the menu Config.DisableNativePauseMenu = true -- show this menu instead of GTA's ESC screen
SettingWhat it does
Config.CommandA chat command players can type to open the menu.
Config.KeyThe key that opens the menu. Players can also rebind this themselves in FiveM Settings → Key Bindings. Set it to '' (empty) if you only want the chat command.
Config.DisableNativePauseMenuWhen true, your players get this menu in place of GTA’s normal ESC menu. This is the whole point of the resource, so most servers leave it true.

Branding

Config.Brand = { name = 'Flux Developments', -- your server name, shown at the top tagline = 'Roleplay Server', -- a short line under the name logo = 'header-logo.svg', -- your logo }
FieldWhat it does
nameYour server’s name, shown in the menu header.
taglineA short subtitle under the name.
logoYour logo image. Either drop a file into the resource’s web/ folder and name it here, or paste a full web link (https://...) to an image.

Color theme

Config.Theme = { primary = '#FF0000', -- one color the whole menu is built from }

This is the fun one. Pick one color and the entire menu — borders, glows, highlights, button tints — is generated from it automatically. You don’t touch anything else.

Not sure what hex code your brand color is? Search “color picker” in Google and copy the # value (for example #7C3AED for purple).

Player profile pictures

Config.Avatar = { source = 'discord', -- 'discord' | 'steam' | 'none' }

Shows each player’s real profile picture on their card. This needs a little extra setup (a Discord or Steam key), so it has its own page: Player Avatar.

The scene

When the menu opens, the camera swings around to show the player’s character holding a map. Both the camera move and the animation can be turned off independently if you’d rather keep it simple.

Camera

Config.Camera = { enabled = true, distance = 1.8, height = 0.6, xOffset = 0.85, fov = 50.0, targetZOffset = -0.35, }
FieldWhat it does
enabledSet to false to skip the camera move entirely.
distanceHow far the camera sits from the character.
heightHow high the camera sits.
xOffsetShifts the character to one side of the screen.
fovField of view (how “zoomed in” the shot feels).
targetZOffsetAim height. Lower numbers frame more of the upper body.

These are fine to leave as‑is. Only change them if you want to fine‑tune the camera shot — adjust one number at a time and reopen the menu to see the effect.

Animation

Config.Animation = { enabled = true, dict = 'amb@world_human_tourist_map@male@base', name = 'base', prop = 'prop_tourist_map_01', propBone = 28422, propOffset = vector3(0.07, 0.05, 0.03), propRot = vector3(20.0, 0.0, 180.0), }
FieldWhat it does
enabledSet to false to skip the map‑holding animation.
dict / nameThe animation played on the character.
propThe map model placed in the character’s hand.
propBoneWhich hand bone the map attaches to.
propOffset / propRotFine position and angle of the map in the hand.

Open and close animation

This controls the slide‑and‑fade when the menu appears and disappears. Opening (entry) and closing (exit) are set separately.

Config.Transitions = { entry = { enabled = true, speed = 1.0 }, exit = { enabled = true, speed = 2.0 }, }
FieldWhat it does
enabledSet to false for an instant open or close, with no animation.
speedHow fast the animation plays. 1.0 is normal, 2.0 is twice as fast, 0.5 is half speed. (Anything outside 0.15 is gently pulled back into range.)

Social buttons

Up to three buttons that link to your community. Tapping one opens the link (or copies it, for things like Discord invites).

Config.Socials = { { label = 'YouTube', url = 'https://www.youtube.com/@FluxDevelopments', icon = '/youtube.svg', color = '#FF0000', -- the button's color }, -- up to 3 entries }
FieldWhat it does
labelThe text on the button.
urlWhere the button links to.
iconAn icon name from lucide.dev , one of the built‑ins 'discord' / 'tiktok', or your own SVG file placed in the web/ folder.
colorThe button’s color, as a hex code.

A small rotating set of announcement cards inside the menu — great for rules reminders, events, or a welcome message.

Config.Announcement = { autoRotate = true, rotateSeconds = 8, -- seconds each card is shown items = { { title = 'Announcement', body = 'Welcome to the server...' }, -- add as many as you like }, }
FieldWhat it does
autoRotateCycle through the cards automatically.
rotateSecondsHow long each card stays on screen.
itemsYour list of cards, each with a title and body.

Rules pop‑up

Config.Rules = { url = 'https://docs.fluxdevelopments.net', -- leave as '' to hide the link button items = { 'Respect all players and staff at all times.', -- add your own rules }, }
FieldWhat it does
urlA link to your full rules, shown as a button. Set it to '' (empty) to hide that button.
itemsThe rules shown in the pop‑up, one line each.

Bottom buttons

The bar at the bottom of the menu. The Close FiveM button is always there; these two can be hidden.

Config.ActionButtons = { keyBinds = true, -- show the Keybinds button rules = true, -- show the Rules button }

Keybinds list

The list of keys shown in the Keybinds pop‑up.

This list is for display only — it shows players what your server’s keys are. It does not change any keybindings. Players rebind keys in FiveM’s own settings.

Config.KeyBinds = { { key = 'ESC', label = 'keybind_open_pause' }, { key = 'M', label = 'keybind_open_map' }, { key = 'F5', label = 'keybind_interaction' }, { key = 'TAB', label = 'keybind_inventory' }, }
FieldWhat it does
keyThe key shown on the on‑screen keyboard.
labelThe action it does. Can be plain text, or a translation key from the locales/ files.
Last updated on