A modern and highly customizable pause menu replacement for FiveM servers with support for both ESX and QBCore frameworks.
-
Framework Compatibility
- Automatic framework detection
- Full support for ESX and QBCore
- Seamless integration with existing server data
-
Real-Time Information Display
- Player information (Name, ID)
- Money status (Cash, Bank)
- Job details (Title, Grade)
- Server information (Players, Ping)
- Date and Time
-
Tab Customization
- Customizable tab names
- Theme-based color schemes for tabs
- Individual color control for each tab
- Support for all pause menu tabs:
- Map
- Status
- Game
- Info
- Settings
- Gallery
- R* Editor
-
Customization Options
- 5 Pre-built color themes
- Modern Dark
- Cyberpunk
- Professional
- Minimalist
- Warm
- 5 Layout presets
- Modern
- Compact
- Minimal
- Centered
- Extended
- Fully configurable components
- Customizable update intervals
- 5 Pre-built color themes
- ESX or QBCore Framework
- Download the latest release
- Extract the
nxPausemenu
folder to your server'sresources
directory - Add
ensure nxPausemenu
to yourserver.cfg
- Configure the script in
config.lua
to match your preferences - Restart your server
-- Framework Configuration
Config.Framework = 'auto' -- Options: 'auto', 'esx', 'qbcore'
Config.Debug = false -- Enable for detailed debug information
Config.Theme = {
-- Color scheme options:
-- 'modern_dark' - Sleek dark UI with accent colors
-- 'cyberpunk' - Vibrant colors with cyber aesthetic
-- 'professional' - Clean and professional look
-- 'minimalist' - Clean and simple design
-- 'warm' - Warm and inviting colors
colorScheme = 'warm',
-- Layout options:
-- 'modern' - Clean and spacious
-- 'compact' - Minimal space usage
-- 'minimal' - Bare essentials
-- 'centered' - Balanced design
-- 'extended' - Full information spread
layout = 'extended'
}
-- Menu Display Settings
Config.Title = 'Nexure Store' -- Main title displayed in the pause menu
Config.Subtitle = 'Welcome!' -- Subtitle displayed below the main title
-- Tab Customization
Config.Tabs = {
enabled = true, -- Enable custom tab names and colors
useThemeColors = true, -- Use theme colors for tabs (if false, uses custom colors)
customColor = '~w~', -- Default color for all tabs if useThemeColors is false
names = {
map = 'Map', -- Custom name for Map tab
status = 'Status', -- Custom name for Status tab
game = 'Game', -- Custom name for Game tab
info = 'Info', -- Custom name for Info tab
settings = 'Settings', -- Custom name for Settings tab
editor = 'Editor', -- Custom name for R* Editor tab
gallery = 'Gallery' -- Custom name for Gallery tab
}
}
Config.Components = {
-- Player Information Component
player = {
enabled = true, -- Enable/disable the entire player component
show = {
name = true, -- Show player name
id = true -- Show player ID
},
format = {
id_prefix = 'ID:', -- Prefix before player ID
separator = '|' -- Separator between elements
}
},
-- Money Display Component
money = {
enabled = true, -- Enable/disable money display
show = {
cash = true, -- Show cash balance
bank = true -- Show bank balance
},
format = {
currency = '$', -- Currency symbol
separator = ',' -- Thousand separator
}
},
-- Job Information Component
job = {
enabled = true, -- Enable/disable job display
show = {
label = true, -- Show job label
grade = true -- Show job grade
},
format = {
separator = '-' -- Separator between job and grade
}
},
-- Time and Date Component
datetime = {
enabled = true, -- Enable/disable time/date display
show = {
time = true, -- Show current time
date = true -- Show current date
},
format = {
time = '%H:%M:%S', -- Time format (24-hour)
date = '%Y-%m-%d' -- Date format (YYYY-MM-DD)
}
},
-- Server Information Component
server = {
enabled = true, -- Enable/disable server info
show = {
players = true, -- Show player count
ping = true -- Show ping
},
format = {
separator = '|', -- Separator between elements
ping_suffix = 'ms' -- Suffix for ping display
}
}
}
Config.UpdateIntervals = {
stats = 1000, -- General stats update (1 second)
money = 5000, -- Money update (5 seconds)
job = 10000, -- Job update (10 seconds)
datetime = 1000, -- Time/date update (1 second)
server = 2000 -- Server info update (2 seconds)
}
Each theme comes with predefined colors for both components and tabs. You can customize them in themes.lua
:
-- Color Codes Available:
-- ~r~ = Red
-- ~g~ = Green
-- ~b~ = Blue
-- ~y~ = Yellow
-- ~p~ = Purple
-- ~o~ = Orange
-- ~c~ = Grey
-- ~w~ = White
-- ~s~ = Default
-- Example theme structure with tab colors:
modern_dark = {
tabs = {
map = '~b~', -- Blue
status = '~b~', -- Blue
game = '~b~', -- Blue
info = '~b~', -- Blue
settings = '~b~', -- Blue
editor = '~c~', -- Grey
gallery = '~b~' -- Blue
},
-- ... other theme components
}
Each layout can be customized with the following properties:
{
alignment = 'right', -- Text alignment: 'left', 'center', 'right'
spacing = 2.0, -- Spacing between elements
padding = {
top = 25, -- Top padding
right = 30, -- Right padding
bottom = 25, -- Bottom padding
left = 30 -- Left padding
}
}
- The script uses native GTA V scaleform methods for UI rendering
- Automatic framework detection with fallback options
- Optimized update intervals to minimize resource usage
- Built-in error handling and debug options
- Update Intervals: Adjust the update intervals based on your needs. Higher intervals mean less frequent updates but better performance.
- Component Management: Disable components you don't need to reduce resource usage.
- Debug Mode: Only enable debug mode when necessary for troubleshooting.
-
Framework Not Detected
- Ensure your framework (ESX/QBCore) is started before this resource
- Check if the framework is properly installed
- Try setting the framework manually in config
-
UI Not Showing
- Verify the resource is started in your server.cfg
- Check for script errors in server/client console
- Ensure no other resources are conflicting with the pause menu
-
Performance Issues
- Increase update intervals
- Disable unused components
- Check server performance metrics
This project is licensed under the MIT License - see the LICENSE file for details.
For support, issues, or feature requests, please use the GitHub issue tracker.
Stay tuned for updates by watching this repository or following the releases page.