Pause Menu & Server News

Pause behavior, branding, links, camera options and poses are server config settings, not player dashboard controls.


Branding and buttons

Lua
Config.pausemenu = true
Config.Brand = {name='Your Server',logoUrl='https://your-server.com/logo.png',mark='Y'}
Config.Website = 'https://your-server.com'
Config.DiscordInvite = 'https://discord.gg/yourserver'
Config.HudEditor.pauseMenuButton = true

The dashboard uses this same brand. Customize UI appears only when enabled and access is permitted. Leave Website empty to disable its button.

On-foot poses

Config.PauseAnimations.enabled toggles poses. changeEveryMs=0 holds one pose per opening; positive values cycle poses. Supply dict/clip/flag entries. Poses run on foot, cancel on close and do not apply in vehicles. Test custom peds/animation dictionaries in-game.

News JSON

Lua
Config.PauseNews = {enabled=true,file='data/pause_news.json',maxEntries=6}

Edit the supplied JSON while preserving its structure:

JSON
{
  "eyebrow": "FROM YOUR SERVER TEAM",
  "heading": "What's new",
  "entries": [
    {
      "id": "city-update",
      "tag": "UPDATE",
      "date": "Latest release",
      "title": "A fresh look for the city",
      "text": "New features and community news.",
      "image": "assets/news/your-update.png",
      "imageAlt": "City update artwork",
      "link": "https://your-server.com/updates/latest"
    }
  ]
}

Image, imageAlt, link, date, tag and id are optional. Only entries with a valid HTTP/HTTPS link are clickable. Without a link they remain normal cards. Text is displayed as plain text.

Put local images in build/assets/news/ and reference them as assets/news/filename.png. Hosted HTTPS images also work. JSON is read each time pause opens, so text/link edits need no restart. Restart once after adding a new local client image so FiveM packages it. Do not use Windows filesystem paths in JSON.

Set PauseNews.enabled=false to hide the feed. Invalid, oversized or missing data is handled without breaking the menu.