πŸ”¨Config.json Documentation

The Config.json file contains global settings that control the core behavior and appearance of the FiveM Modern Loading Screen.


πŸ“ Configuration Options

🌍 Language

  • Key: Language

  • Type: String

  • Default: "EN"

  • Description: Specifies the default language for loading messages. Supported values include:

    • "EN": English

    • "ES": Spanish

    • "FR": French

  • Example:

    "Language": "EN"

🎨 Colors

  • Main Color:

    • Key: MainColor

    • Type: String (RGBA format)

    • Default: "rgba(255, 255, 255, 1)"

    • Description: Defines the primary color used in the UI elements.

  • Shadow Color:

    • Key: ShadowColor

    • Type: String (RGBA format)

    • Default: "rgba(195, 0, 255, 1)"

    • Description: Specifies the color of text shadows.

  • Loading Bar Color:

    • Key: LoadingColor

    • Type: String (RGBA format)

    • Default: "rgba(195, 0, 255, 1)"

    • Description: Determines the color of the loading progress bar.


πŸ–ΌοΈ Loading Avatar

  • Key: LoadingAvatar

  • Type: String (URL)

  • Default: "https://i.ibb.co/vDz23X5/logo.jpg"

  • Description: URL to the image displayed as the loading avatar.

  • Example:

    "LoadingAvatar": "https://example.com/my-logo.jpg"

🌌 Background Settings

  • Image Background:

    • Key: Background.IsImage

    • Type: Boolean

    • Default: true

    • Description: Enables or disables image as the background.

  • Video Background:

    • Key: Background.IsVideo

    • Type: Boolean

    • Default: false

    • Description: Enables or disables local video as the background.

  • YouTube Background:

    • Key: Background.IsYouTube

    • Type: Boolean

    • Default: false

    • Description: Enables or disables a YouTube video as the background.

  • Background Path:

    • Key: Background.Path

    • Type: String (URL)

    • Default: "https://images.hdqwalls.com/download/gta-free-mode-t0-1920x1080.jpg"

    • Description: URL to the image or local path to the video file for the background.

  • YouTube Video ID:

    • Key: Background.VideoId

    • Type: String

    • Default: "DAQYMyzE8ww"

    • Description: The ID of the YouTube video to use as the background.


πŸ”„ Example Configuration

Here’s an example of a complete Config.json file:

{
  "Language": "EN",
  "MainColor": "rgba(255, 255, 255, 1)",
  "ShadowColor": "rgba(195, 0, 255, 1)",
  "LoadingColor": "rgba(195, 0, 255, 1)",
  "LoadingAvatar": "https://i.ibb.co/vDz23X5/logo.jpg",
  "Background": {
    "IsImage": true,
    "IsVideo": false,
    "IsYouTube": false,
    "Path": "https://images.hdqwalls.com/download/gta-free-mode-t0-1920x1080.jpg",
    "VideoId": "DAQYMyzE8ww"
  }
}

⚠️ Notes

  • Ensure that URLs for images and videos are accessible and properly formatted.

  • Use RGBA color codes for full control over transparency and appearance.

Last updated