-
Put the
ncore_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_loading -
Put your video in
assets/video/, your music inassets/audio/and your images inassets/img/, then list them inconfig.js. The manifest already packs .webm, .mp4, .mkv, .m4v and .ogv videos, .mp3 and .ogg music and .png, .jpg, .svg and .webp images. -
Set your server name, links, rules, news and tips in
config.js, then restart the server.
Optional convars#
Put them above ensure ncore_loading. README.md lists all of them with their defaults.
set lrl:rulesGate 1
set lrl:rulesVersion 1
set lrl:newsUrl "https://example.com/news.json"Notes#
- Nothing else is required. QBox, QBCore and ESX are detected and only used for the player's character name.
- Do not rename the
ncore_loadingfolder. - To try the screen without the game, serve the resource folder over http (for example run
python -m http.serverinside it and open http://localhost:8000). Opened straight from disk, the browser blocks the language file, so texts can be missing. The progress runs on its own and the status chip shows the preview values fromconfig.js. - The rules gate is a prompt held by the client script. The server saves the answer and drops players who decline, but it does not block anyone who has not accepted.
- Acceptances are written to
data/rules_accepted.json. Clear them withlrl_rules_reset allin the server console.
