- Copy
lastresort_loadinginto theresourcesdirectory. Do not rename it. - Stop or remove the old loading-screen resource; only one can run at a time.
- Add this near the top of
server.cfg:
server.cfg
ensure lastresort_loading- Set the text, colors, images, video, and music in
config.js, then restart the server.
Configure#
- Put videos in
assets/video, images and logos inassets/img, and music inassets/audio. - List every file in
config.js; the first compatible media source will be used. - Configure branding, server links, staff, news, tips, rules, and locale in the same file.
- Optional live news and tips can be loaded from local JSON files or server convars.
Verify#
- Connect with a clean client and confirm the screen opens before other resources load.
- Check video or slideshow playback, music controls, links, and responsive layout.
- Confirm the loading screen closes after the player finishes connecting.
- Check the console for deferral, remote content, or malformed configuration warnings.
Important#
- Put media files in the matching
assetssubdirectory. - Disable video in the config when using images only.
- The rules gate is disabled by default; enable it only after writing your rules.
- Back up
config.js, custom assets, anddatabefore updating.