Agents can also search and read this documentation through its MCP server.
Installation
Installation
General Setup
- Extract the resource into your server's
resourcesfolder. - Make sure the folder name is strictly
hkn_loadingscreen. - Remove or stop any other loading screen resource running on your server.
- Edit the
config.jsfile according to your server. - Open your
server.cfg. - Add the following line:
ensure hkn_loadingscreen
Warning: Only one loading screen can run at a time. Make sure no other resource on your server uses
loadscreenin itsfxmanifest.lua.
Assets
All images, songs and the background video are located in the assets folder. Replace them with your own files, or add new ones and write their path in config.js.
| File | Description |
|---|---|
assets/bg.mp4 |
Background video. |
assets/logo.png |
Server logo. |
assets/song1.mp3 |
Songs used by the playlist. |
assets/music.png |
Cover art of the songs. |
assets/1.png - 16.png |
Images used by the gallery. |
Configuration
Below are the main configuration options for hkn_loadingscreen. The config file is config.js. See the Config page for every option.
Update Check
Enable or disable the version check on resource start.
updateCheck: true,
General
Server name, colors, visualizer theme and background.
accentColor: "#ff6961",
visualizerTheme: "bars",
serverNameMain: "HKN WORKS",
serverNameSub: "RP",
serverSubtitle: "Live in the moment",
bgPath: "assets/bg.mp4",
logoPath: "assets/logo.png",
Music
Volume and playlist.
musicVolume: 1,
playlist: [
{ file: "assets/song1.mp3", name: "Diamonds", artist: "Rihanna", cover: "assets/music.png" },
],
Social Media
Links shown on the loading screen. Set a platform to false to hide it.
socials: {
discord: "https://discord.gg/link",
instagram: "https://instagram.com/link",
telegram: false,
youtube: "https://youtube.com/link",
},
Rules
Rules listed in the Rules tab.
rules: [
"No griefing or trolling other players.",
"Respect all admins and staff decisions.",
],
Staff Team
Staff members listed in the Staff tab.
staff: [
{ name: "Founder", role: "Server Owner", color: "#ff0066", image: "assets/logo.png" },
],
Gallery
Images shown in the gallery slider.
gallery: [
"assets/1.png",
"assets/2.png",
],
Keybinds
Keys shown in the Keyboard tab.
keybinds: {
"TAB": "Open Inventory",
"E": "Interact / Use",
},
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending
.mdto page URLs; this page is available as Markdown.