-
Put the
ncore_ilikeglow_loadingfolder intoresources/[ncore](create the[ncore]folder if you do not have one yet). -
Stop or remove any other loading-screen resource. Only one resource can declare a loading screen.
-
Add this line near the top of
server.cfg, before your other resources:server.cfgensure ncore_ilikeglow_loading -
Put your music in
assets/audio/and list it undermusic.tracksinconfig.js. Put your logo inassets/img/if you want one. The manifest already packs .mp3 and .ogg music and .png, .jpg, .svg and .webp images. -
Set your server name, colors, links, rules, news and tips in
config.js, then restart the server.
The background is the 3D neon highway, so no video is needed. To use a video or images instead, put them in assets/video/ or assets/img/, list them in config.js and set video.enabled or image.enabled to true. The scene then fades out behind them, unless you set scene.withMedia to 'overlay'.
Optional convars#
Put them above ensure ncore_ilikeglow_loading. All of them are listed with their defaults in README.md.
setr ilg:rulesGate 1
setr ilg:rulesVersion 1
setr ilg:newsUrl "https://example.com/news.json"The rules gate runs in the client script, so it works as a prompt and the server doesn't enforce it. Acceptances are written to data/rules_accepted.json. Clear them with ilg_rules_reset all in the server console.
Preview before you upload#
Double-click demo.html to see your screen in your desktop browser, straight from the folder. It reads your config.js, so you can check colors, the texts you set there and your music before restarting the server. The language texts come from a copy in demo/locales.js, so changes in locales/*.json only show in game. See README.md for the options and hotkeys. Players never download the demo files.
Notes#
- Nothing else is required. QBox, QBCore and ESX are detected and only used for the player's character name. Their playerLoaded event usually arrives after the loading screen has closed, so most players see their FiveM name.
- Do not rename the
ncore_ilikeglow_loadingfolder. - Players without 3D graphics support (WebGL 2) automatically get the 2D background.
