Guide
Customize your server's loading experience with music, tips and spawn selector integration.
This file configures various features for the FS-LoadingScreenV2 script including spawn selector support, music playback, server tips, background slideshow, and server branding.
đ Quick Startâ
- Place
fs-loadingscreenv2in yourresourcesfolder. - Edit
config.luato set your server name, music, and tip options. - Restart the resource to see your changes in game.
đŽ Spawn Selector Integrationâ
useFearlessStudiosSpawnSelector (boolean)â
- Description: Enables support for the [FS-SpawnSelector] resource by Fearless Studios. Set to
trueif you are using that resource.
â You must also set
Config.manuallyTrigger = trueinside the FS-SpawnSelector config.
Example: true or false
useWXSpawnSelector (boolean)â
- Description: Enables support for the WX Spawn Selector. Only enable if that resource is installed.
Example: true or false
useCanXSpawnSelector (boolean)â
- Description: Enables compatibility with the CanX Spawn Selector. Set to
trueonly if you're using that resource.
Example: true or false
đˇī¸ serverName (string)â
- Description: The name of your server shown in welcome messages and dynamic placeholders.
Example: "Fearless Roleplay" or "My Alaskan Server"
đ useWelcomePrefix (boolean)â
- Description: When true, the loading screen will say "Welcome PlayerName". When false, it just shows the player's name.
Example: true or false
đĩ musicFiles (array of objects)â
- Description: List of music tracks to play during the loading screen. Each track must include a
displayNameandfileName.
đš Structureâ
Config.musicFiles = {
{
displayName = "Chill Vibes",
fileName = "chillvibes.mp3"
},
{
displayName = "Night Drive",
fileName = "nightdrive.mp3"
}
}
đ Place all
.mp3files inside/nui/music
â ī¸ Music will not play unless at least one valid file is defined.
đĄ serverTips (array of strings)â
- Description: Rotating tips shown during the loading screen. Each must be under 128 characters.
đš Structureâ
Config.serverTips = {
"Remember to /register at City Hall!",
"Check /help for useful commands.",
"Use your map to find starter jobs."
}
âšī¸ This section is optional. If left empty, the tips box will be hidden.
đŧī¸ Background Slideshowâ
useRandomImageOrder (boolean)â
- Description: When true, background images are shuffled randomly and never repeat back-to-back.
Example: true or false
backgroundImageChangeInterval (number)â
- Description: Delay in milliseconds between background image transitions.
Example: 4000 (4 seconds)
đŦ Tip Rotation Timingâ
serverTipChangeInterval (number)â
- Description: Delay in milliseconds between server tip changes.
Example: 6000 (6 seconds)
đ Folder Overviewâ
| Folder | Purpose |
|---|---|
/nui/music | Background music files (.mp3) |
/nui/images | Slideshow background images (.jpg, .png) |
đ¸ Images are automatically cycled and require no manual config.