Our Configs

Below you will find our Shared and Server Config for your Ultimate Loadingscreen.

Shared Config

sh.config.lua
Config = {
  Debug = false,
 
  -- Either 'ingame' or 'discord'
  ActivityCheck = 'discord',
 
  -- List the Discord ID of all your team members here, and the loadingscreen will automatically get the profile picture and their name
  Team = {
    {
      DiscordID = '725332583436779560',
      Role = 'Backend Developer'
      -- ProfilePicture = '', -- Place a link to a profile picture here if you want to overwrite the picture from Discord
      -- Name = ''            -- Place a name here if you want to overwrite the name from Discord
    },
    {
      DiscordID = '337576581406916631',
      Role = 'Frontend Developer'
    }
  },
 
  -- Content for the fields under the progressbar in the loadingscreen
  Fields = {
    {
      Title = 'BEST FiveM Store',
      Description = 'Get your scripts now!',
      Link = 'https://store.9m.studio',
      Image = './assets/img/card-stars.png'
    },
    {
      Title = 'BEST FiveM Support',
      Description = 'Your contact for custom work and support!',
      Link = 'https://discord.9m.studio',
      Image = './assets/img/card-person.png'
    }
  },
 
  Music = {
    DefaultVolume = 0.5, -- 0.1 to 1.0
    Tracks = {
      {
        Title = 'overseas',
        Artist = 'Ken Carson',
        Path = './assets/mp3/1.mp3',
      },
      {
        Title = 'Perkys',
        Artist = 'Money Boy',
        Path = './assets/mp3/2.mp3',
      }
    }
  },
 
  -- If you want to show the advanced loading progress (show what is currently being loaded), set this to true
  AdvancedLoadingProgress = true,
 
  -- Locales for all the texts shown in the loadingscreen
  Locales = {
    Welcome = 'WELCOME TO FIRST FIVEM PROJECT <span>SERVER RP</span>',
 
    Description =
    'Worem ipsum dolor sit amet, consectetur adipiscing elit. Etiam eu turpis molestie, dictum est a, mattis tellus. Sed dignissim, metus nec fringilla accumsan, risus sem sollicitudin lacus, ut interdum tellus elit sed risus.',
 
    Loading = {
      Default = 'Game Loading',
 
      INIT = 'Starting',
      END = 'Finalizing',
 
      PreMap = 'Pre-Map',
      Stream = 'Stream',
      PostMap = 'Post-Map',
      Session = 'Session',
 
      Load = 'load',
      Loading = 'Loading',
      LoadingPrefix = ":",
    },
 
    OurTeam = 'Our Team'
  }
 
  -- You can change the colors in web/assets/css/config.css
}

Server Config

sv.config.lua
Config = Config or {}
Config.SV = {
  -- Your discord bot token, this will be used to communicate with the discord API
  DiscordToken = 'YOUR_TOKEN_HERE',
  GuildID = 'YOUR_GUILD_ID_HERE',
  PresenceUpdateInterval = 1000
}

Styling Config

config.css
:root {
  --white: #fff;
  --white-accent: #EFEFEF;
  --primary: #45C7FF;
 
  --title-color: linear-gradient(98deg, #2B61EB 1.5%, #972BEB 98.93%);
 
  --light-grey: rgba(255, 255, 255, 0.06);
  --lighter-grey: rgba(255, 255, 255, 0.07);
 
  --progress-fill: radial-gradient(137.09% 137.09% at 3.06% 3.06%, #386ED7 0%, #8833EB 100%);
 
  --player-stroke-primary: #45BCFF;
  --player-stroke-primary-shadow: rgba(69, 188, 255, 0.25);
 
  --player-stroke-secondary: #42FF6B;
  --player-stroke-secondary-shadow: rgba(66, 255, 107, 0.25);
 
  --online: #23a45a;
  --offline: #7f838d;
  --dnd: #ec3e41;
  --idle: #eaae31;
 
  --team-role-background: rgba(69, 199, 255, 0.15);
 
  /*
    * DISCLAIMER FOR CHANGING COLORS:
    For some backgrounds, we use svgs, you need to change the color inside them.
  */
}