Configuration

This showcases and explains the config.js file within the Loading Screen!

const Config = {
    ServerName: "EazyMods",
    ServerDescription: "Our next-gen FiveM loading screen",
    ServerLogo: "https://your-logo-url.com/logo.png",
    
    Background: {
        default: {
            type: "image", 
            value: "https://wallpapercave.com/wp/wp8832416.jpg", // URL for image/video or leave empty for gradient
            overlay: true, // Enable dark overlay on background
            overlayOpacity: 0.7, 
        },
        christmas: {
            type: "image",
            value: "https://wallpapercave.com/wp/wp8832416.jpg",
            overlay: true,
            overlayOpacity: 0.6,
        },
        halloween: {
            type: "image",
            value: "https://wallpapercave.com/wp/wp8832416.jpg",
            overlay: true,
            overlayOpacity: 0.7,
        }
    },
    
    DefaultTheme: "default", // Options: default, christmas, halloween
    Themes: {
        default: {
            primary: "#3b82f6",    // Blue
            secondary: "#ec4899",  // Pink
            accent: "#10b981",     // Green
            background: "#030712", // Dark
            text: "#ffffff",       // White
            gradient: "135deg, #0f172a 0%, #1e293b 100%" // Only used if background type is gradient
        },
        christmas: {
            primary: "#22c55e",    // Green
            secondary: "#ef4444",  // Red
            accent: "#f59e0b",     // Gold
            background: "#1f2937", // Dark Blue
            text: "#ffffff",       // White
            gradient: "135deg, #0f172a 0%, #1e3a8a 100%" // Only used if background type is gradient
        },
        halloween: {
            primary: "#f97316",    // Orange
            secondary: "#6b21a8",  // Purple
            accent: "#84cc16",     // Lime
            background: "#18181b", // Almost Black
            text: "#ffffff",       // White
            gradient: "135deg, #18181b 0%, #3b0764 100%" // Only used if background type is gradient
        }
    },
    
    LoadingText: "Loading Server...",
    
    StaffTeam: [
        {
            name: "John Doe",
            role: "Owner",
            avatar: "https://i.pravatar.cc/300?img=1",
            bio: "Server founder and lead developer"
        },
        {
            name: "Jane Smith",
            role: "Admin",
            avatar: "https://i.pravatar.cc/300?img=5",
            bio: "Community manager and event organizer"
        },
        {
            name: "Mike Johnson",
            role: "Developer",
            avatar: "https://i.pravatar.cc/300?img=3",
            bio: "Custom scripts and server maintenance"
        },
        {
            name: "Sarah Williams",
            role: "Moderator",
            avatar: "https://i.pravatar.cc/300?img=9",
            bio: "Keeping the server safe and friendly"
        }
    ],
    
    SocialMedia: {
        discord: "https://discord.gg/yourserver",
        tiktok: "https://tiktok.com/@yourserver",
        website: "https://yourserver.com",
        instagram: "https://instagram.com/yourserver",
        twitter: "https://twitter.com/yourserver"
    },
    
    EnableMusic: true,
    MusicVolume: 0.3,
    MusicURL: "https://files.freemusicarchive.org/storage-freemusicarchive-org/music/no_curator/Tours/Enthusiast/Tours_-_01_-_Enthusiast.mp3",
    MusicTitle: "Background Music - Artist Name",
    
    ServerStats: {
        players: "61 Slots",
        uptime: "99.9%",
        ping: "Low Latency",
        custom: "Custom Economy"
    },
    
    Updates: [
        {
            title: "Latest Update",
            content: "New features added to the server! Check out the new vehicles and weapons.",
            date: "2024-03-14"
        },
        {
            title: "Server Maintenance",
            content: "Scheduled maintenance this weekend. Server will be down for 2 hours.",
            date: "2024-03-13"
        },
        {
            title: "Community Event",
            content: "Join us for a racing tournament this Friday with cash prizes!",
            date: "2024-03-12"
        }
    ],
    
    Rules: [
        "No cheating or exploiting",
        "Respect all players",
        "No RDM (Random Death Match)",
        "No VDM (Vehicle Death Match)",
        "Follow staff instructions"
    ]
};

Last updated