RX Scripts Logo
Loading Screen

Configurables

All config & open sourced files included within this script.

Config Files

export default {
  Language: "en",
  ServerInfo: {
    name: "RX Roleplay",
    description: "Where Stories Come to Life",
    logoSpin: true, // Set to false to disable logo spinning animation
  },

  // Background Video Configuration
  // IF BOTH ARE EMPTY, IT FALLBACKS TO LOCAL VIDEO called bg.mp4 in dist/ folder
  Video: {
    // YouTube video ID (e.g., "VLkOQJoeGPE" from https://www.youtube.com/watch?v=VLkOQJoeGPE)
    // Leave empty to use local fallback video (bg.mp4 in dist/ folder)
    youtubeId: "4BSZtvqfzWE", // Example: "VLkOQJoeGPE"

    // Or use a direct video URL (mp4, webm, etc.)
    // Leave empty to use local fallback video (bg.mp4 in dist/ folder)
    directUrl: "", // Example: "https://example.com/video.mp4"
  },

  // IF source IS "local", IT FALLBACKS TO LOCAL AUDIO called (audio.mp3 in dist/ folder)
  // IF source IS "video", IT USES THE AUDIO FROM THE VIDEO
  Audio: {
    // Audio from YouTube can NOT be controlled (if set to "video")
    source: "video", // "local" or "video"
    defaultVolume: 50, // 0-100
  },

  SocialLinks: [
    {
      icon: "pi pi-discord",
      url: "https://discord.gg/rxscripts",
      label: "Discord",
    },
    {
      icon: "pi pi-shop",
      url: "https://store.rxscripts.xyz",
      label: "Tebex Store",
    },
    {
      icon: "pi pi-youtube",
      url: "https://www.youtube.com/@rxscriptsxyz",
      label: "YouTube",
    },
    {
      icon: "pi pi-globe",
      url: "https://docs.rxscripts.xyz",
      label: "Website",
    },
  ],
  News: [
    {
      title: "Patch v1.0.1",
      date: "2025-05-10",
      description: "Bug fixes and performance improvements.",
      badge: "LATEST",
    },
    {
      title: "Server Launch",
      date: "2025-05-01",
      description: "We're officially live! Welcome to the server!",
    },
  ],
  Rules: [
    "Be respectful to others.",
    "No cheating or exploiting bugs.",
    "Follow staff instructions.",
    "Use appropriate language.",
    "Have fun and play fair!",
  ],
  Team: [
    { name: "Rejox", role: "Admin", avatar: "rejox.png" },
    { name: "Tobias", role: "Manager", avatar: "tobias.png" },
    { name: "Raymond", role: "Developer", avatar: "raymond.png" },
  ],
  Updates: [
    {
      version: "v1.0.2",
      changes: [
        "Added new map area.",
        "Improved matchmaking.",
        "Fixed audio sync bug.",
      ],
    },
    {
      version: "v1.0.1",
      changes: ["Balanced weapons.", "Improved server performance."],
    },
  ],
  UI: {
    color: {
      primary: {
        50: "#FEDDE9",
        100: "#FCBAD3",
        200: "#FA76A6",
        300: "#F7317A",
        400: "#D80955",
        500: "#95063B",
        600: "#76052E",
        700: "#580423",
        800: "#3B0217",
        900: "#1D010C",
        950: "#0F0106",
      },
    },
  },
};