# Configuration File

### Config File <a href="#config-files" id="config-files"></a>

{% code title="config.js" overflow="wrap" lineNumbers="true" fullWidth="false" expandable="true" %}

```lua
const Config = {
    // VIDEO CONFIGURATION
    video: {
        source: 'https://r2.fivemanage.com/m1SP9rNB8QYEmyvcw6LMp/NM1_BG_VIDEO.mp4',
        blur: '0px',
        volume: 0.2
    },

    // ── MUSIC CONFIGURATION ───────────────────────────────────────────────
    // Set enabled: true  → plays playlist below, video will be muted automatically
    // Set enabled: false → video audio is used instead, playlist is ignored
    music: {
        enabled: true,

        // Add as many songs as you want — ⏮ / ⏭ buttons cycle through them
        // Upload your audio + cover files to FiveManage and paste the r2 URLs below
        playlist: [
            {
                artist: "Anirudh Ravichander",
                song:   "Ordinary Person ",
                cover:  'https://r2.fivemanage.com/m1SP9rNB8QYEmyvcw6LMp/NM1_MUSIC_IMG.png',
                source: 'https://r2.fivemanage.com/m1SP9rNB8QYEmyvcw6LMp/NM1_MUSIC_SEP.mp3'
            },
            {
                artist: "Anirudh Ravichander",
                song:   "Anbenum",
                cover:  'https://images.indianexpress.com/2023/10/Poster-of-Anbenum-song-from-Leo.jpg?w=1200',
                source: 'https://r2.fivemanage.com/m1SP9rNB8QYEmyvcw6LMp/NM1_MUSIC_2.mp3'
            },
            {
                artist: "ARTIST NAME",
                song:   "SONG NAME",
                cover:  'https://r2.fivemanage.com/YOUR_KEY/cover3.png',
                source: 'https://r2.fivemanage.com/YOUR_KEY/song3.mp3'
            },
            {
                artist: "ARTIST NAME",
                song:   "SONG NAME",
                cover:  'https://r2.fivemanage.com/YOUR_KEY/cover4.png',
                source: 'https://r2.fivemanage.com/YOUR_KEY/song4.mp3'
            },
            // Keep adding more below — no limit
        ]
    },

    project: {
        titlePart1: "NM1",
        titlePart2: "SCRIPTS",
        description: "Welcome to NM1 Scripts. High quality resources for your server.",
        color: "#00a2ff",
        topbarLabel: "NM1 Scripts — Server Loading",
        version: "v1.0.0"
    },

    socials: [
        { icon: "fa-brands fa-discord", link: "https://discord.gg/nAVCGRRwYu" },
        { icon: "fa-brands fa-youtube", link: "https://www.youtube.com/@nm1Scripts" },
        { icon: "fa-solid fa-globe",    link: "https://nm1.tebex.io/" }
    ],

    tips: [
        "Know the rules of your server - seriously.",
        "Press F1 to open the main menu.",
        "Respect the staff team at all times."
    ],

    // ── OUR TEAM ──────────────────────────────────────────
    // Set showTeamButton: false to hide the button entirely
    // Add as many members as you want — the modal scrolls automatically
    showTeamButton: true,

    team: [
        { name: "Felix",   role: "Owner",     avatar: "https://i.pinimg.com/736x/94/76/dd/9476dd3d346a3d697362da94b9aa2dc2.jpg" },
        { name: "Alex",    role: "Developer", avatar: "https://i.pinimg.com/736x/94/76/dd/9476dd3d346a3d697362da94b9aa2dc2.jpg" },
        { name: "Sarah",   role: "Manager",   avatar: "https://i.pinimg.com/736x/94/76/dd/9476dd3d346a3d697362da94b9aa2dc2.jpg" },
        { name: "James",   role: "Admin",     avatar: "https://i.pinimg.com/736x/94/76/dd/9476dd3d346a3d697362da94b9aa2dc2.jpg" },
        { name: "Emma",    role: "Moderator", avatar: "https://i.pinimg.com/736x/94/76/dd/9476dd3d346a3d697362da94b9aa2dc2.jpg" },
        { name: "Liam",    role: "Developer", avatar: "https://i.pinimg.com/736x/94/76/dd/9476dd3d346a3d697362da94b9aa2dc2.jpg" },
        { name: "Noah",    role: "Support",   avatar: "https://i.pinimg.com/736x/94/76/dd/9476dd3d346a3d697362da94b9aa2dc2.jpg" },
        { name: "Ava",     role: "Builder",   avatar: "https://i.pinimg.com/736x/94/76/dd/9476dd3d346a3d697362da94b9aa2dc2.jpg" },
        { name: "William", role: "Admin",     avatar: "https://i.pinimg.com/736x/94/76/dd/9476dd3d346a3d697362da94b9aa2dc2.jpg" },
        { name: "Sophia",  role: "Moderator", avatar: "https://i.pinimg.com/736x/94/76/dd/9476dd3d346a3d697362da94b9aa2dc2.jpg" }
        // Add more members below — no limit
    ]
};
```

{% endcode %}


---

# Agent Instructions: 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:

```
GET https://docs.nm1scripts.in/classy-series/loading-screen/full-configuration-guide/configuration-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
