> For the complete documentation index, see [llms.txt](https://leviascripts.gitbook.io/levia-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://leviascripts.gitbook.io/levia-scripts/loading-screen/config.md).

# Config

***

### Main Config File

All settings are located in:

```
config.js
```

***

### Background

```
Config.Background = 'video/background.png'
```

Defines the background media used in the loading screen.

Supported formats:

* `.png`
* `.jpg`
* `.webp`

Defined in:

```
Config.ImageExtensions = ['png', 'jpg', 'webp']
```

***

### Server Information

```
Config.ServerName = 'Levia Scripts'
Config.ServerTagline = 'A project with new opportunities'
Config.ServerDesc = 'A balanced gaming experience will only bring good emotions...'
Config.Logo = 'img/logo.png'
```

These values control the main identity displayed on the loading screen:

* Server name
* Short tagline
* Description text
* Logo image

***

### Music System

```
Config.Music = [  { title, artist, src }]
```

Defines the music playlist shown in the loading screen.

Each track includes:

* `title` → Song name
* `artist` → Artist name
* `src` → Audio file path

Example structure:

```
{ title: "SKOKKA", artist: "Huan62", src: "audio/music.mp3" }
```

***

### Discord Integration

```
Config.Discord = {
guildId: 'YOUR_GUILD_ID',
name: 'Levia Scripts',
link: 'https://discord.gg/LeviaScripts',}
```

Used to display Discord information and fetch online members via widget API.

Requirements:

* Discord server widget must be enabled

***

### Social Links

```
Config.Socials = [  { icon, url }]
```

Adds social media icons with external links.

Supported icons:

* facebook
* instagram
* tiktok

***

### Team Section

```
Config.Team = [  { name, role, discord, avatar }]
```

Displays staff members on the loading screen.

Each member includes:

* Name
* Role
* Discord tag
* Avatar image

***

### News System

```
Config.News = [  { title, body, image, date, author }]
```

Used to show server announcements or updates.

Fields:

* `title` → News title
* `body` → Description text
* `image` → Preview image
* `date` → Publication date
* `author` → Author tag

***

### Server Rules

```
Config.Rules = []
```

List of rules displayed to players during loading.

Used to enforce server behavior such as:

* Roleplay rules
* Anti-meta gaming
* Fair play guidelines

***

### UI Settings

```
Config.AccentColor = '#5ce773'Config.ShowShadow = trueConfig.ByText = 'Levia Scripts'
```

Controls visual styling:

* `AccentColor` → Main UI color
* `ShowShadow` → Enables/disables shadows
* `ByText` → Footer branding text

***

### Tips System

```
Config.Tips = []
```

Displays rotating loading tips such as:

* Controls
* Server info
* Gameplay hints

***

### Countdown System

```
Config.Countdown = null
```

Optional countdown timer displayed on the loading screen.

Example:

```
{ label: 'Season 2 Launch', date: '2025-06-01 00:00' }
```

***

### Gallery System

```
Config.Gallery = []
```

Displays images in a gallery section.

Example:

```
['img/gallery/1.png', 'img/gallery/2.png']
```

***

### Summary

The loading screen is fully configurable and allows you to customize:

* Branding
* Music system
* News & updates
* Staff team
* Rules
* Social links
* UI design

***

{% hint style="danger" %}
If you're using Levia Inventory, removing or disabling other inventory systems does not automatically prevent conflicts unless they are fully removed from your server.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://leviascripts.gitbook.io/levia-scripts/loading-screen/config.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
