SCode StudiosSCodeDocs
Tebex Store

Configuration

Configuration of SCode Loading Screen

Everything is set in web/config.js.

Code
const config = {
  serverName: {
    enabled: true,
    text: "CHAIN V"
  },
  logo: {
    enabled: false,
    src: "logo.png"
  },

  social: {
      discord: "https://discord.gg/chainv",
      instagram: "https://instagram.com/scodestudios",
      store: "https://chainv.tebex.io"
  },

Replace web/logo.png with your own logo and set logo.enabled to true to show it.

Music

Code
  youtubeVideoId: "55_a15rbHAk",

The ID is the part after watch?v= in a YouTube link. For https://www.youtube.com/watch?v=55_a15rbHAk it is 55_a15rbHAk. Players can paste another YouTube link on the screen. That song is then saved for them instead of the default.

Rules

Code
  rules: [
      {
          title: "General Rules",
          items: [
              "Follow the RP rules when joining the server.",
              "Cheats, bugs and exploits are not allowed."
          ]
      },
      // more sections ...
  ],

Changelog

Code
  changelog: [
      {
          version: "v2.1.0",
          date: "2024-01-15",
          changes: [
              "New vehicle system",
              "Performance improvements"
          ]
      },
      // older versions ...
  ],
Code
  gallery: [
      {
          id: 1,
          title: "Server Photo 1",
          image: "img/free1.png",
          description: "A great server screenshot"
      },
      // ...
  ],

Staff

Code
  staff: [
    {
        name: "Trojen",
        role: "SCode",
        avatar: "img/sakura.png"
    },
  ]
};

Images and video

  • Background video: replace web/background.mp4.

  • Gallery pictures and avatars go in web/img/.

FiveM only sends files that are listed in fxmanifest.lua. When you add a new image (for example a new gallery picture or a staff avatar), add it to the files list too:

Lua
files {
    'web/index.html',
    'web/style.css',
    'web/script.js',
    'web/config.js',
    'web/background.mp4',
    'web/logo.png',
    'web/img/*.png',
}

Last updated: December 6, 2026