OrigenNetwork
Docs

Configuration · origen_pausemenu

Configuration is located in shared/config.lua. The file is open-source (escrow_ignore).


Framework

VariableTypeDefaultDescription
Config.Frameworkstring"newesx"Framework in use. Accepted values: esx, newesx, oldqb, newqb

Command

VariableTypeDefaultDescription
Config.Commandstring"pauseMenu"Command name used to open the menu (also registered as key mapping)
Config.CommandDescriptionstring"Open Pause Menu"Description shown in the key bindings settings

Behavior

VariableTypeDefaultDescription
Config.OpenDeadbooleantrueWhether dead players can open the pause menu
Config.DisableMapbooleantrueIf true, the native pause menu (P / ESC) is disabled — the menu only opens via the configured command
Config.ExitMessagestring"Thanks for playing!"Message shown to the player when they leave the server via the exit button

Money (QBCore only)

VariableTypeDefaultDescription
Config.MoneyItem.enabledbooleanfalseUse an item as the cash representation instead of the cash money type
Config.MoneyItem.itemstring"cash"Item name to read the cash amount from

Config.MoneyItem only applies when using a QBCore framework (oldqb or newqb).


Police

VariableTypeDefaultDescription
Config.PoliceJobstable{ "police" }List of job names considered as police
Config.PoliceRequirednumber1Minimum number of police on duty for PoliceAvailable to be true in the NUI

VariableTypeDescription
Config.DiscordstringDiscord invite URL shown in the menu
Config.WebsitestringWebsite URL shown in the menu
Config.TwitterstringTwitter profile URL shown in the menu
Config.InstagramstringInstagram profile URL shown in the menu
Config.YoutubestringYouTube channel URL shown in the menu

Animation

VariableTypeDefaultDescription
Config.EnableAnimbooleantruePlay a tablet animation when the menu is opened
Config.PropNamestring"prop_cs_tablet"Prop spawned during the animation. Alternative: "prop_tourist_map_01"

Custom NUI data

VariableTypeDefaultDescription
Config.CustomNUIDatabooleanfalseIf true, the SendNUIData() function in custom/client.lua is called instead of the default data sender
Config.ExtraDatatable{}Additional key-value pairs sent to the NUI under the other field when Config.CustomNUIData is false

Enable Config.CustomNUIData when you need to send data the default handler does not cover (e.g. extra wallet types, custom fields). See the Custom page for implementation details.