猪猪侠 发表于 2024-5-25 02:20:30

翻译

Config = {};

Config.Locale = 'en'; // en / pt / es / fr / de / nl / sv

Config.MusicVolume = 0.15 // 0.0 - 1.0

Config.BackgroundVideo = true // true it will use a video (img/video/.WEBM), false it will use a carousel of images (img/slide/.JPG)

Config.UseYoutubeVideo = false // true it will use a youtube video, false it will use a local video (img/video/.WEBM)

Config.YoutubeVideoID = 'N39o6eaBtdI' // Youtube video ID (The ID is the last part of the URL after 'watch?v=')

Config.UpdateCarouselTime = 8; // Time in seconds

Config.Color = '#1f5eff' // Color of the UI

Config.SocialMedia = {
    instagram: {
      link: "https://discord.gg/okok", // Change this to your social media link
    },
    tiktok: {
      link: "https://discord.gg/okok",
    },
    youtube: {
      link: "https://www.youtube.com/@okokscripts",
    },
    discord: {
      link: "https://discord.gg/okok",
    },
};

Config.StaffMembers = {
    1: {
      name: "Jackson Brown", // Staff member name
      rank: "administrator", // Staff member rank (administrator / moderator and can't be changed)
      image: "", // Staff member image (img/avatars/image_name.jpg) or a link ( needs to start with https://)
    },
    2: {
      name: "Liam Smith",
      rank: "administrator",
      image: "",
    },
    3: {
      name: "Logan Parker",
      rank: "administrator",
      image: "",
    },
    4: {
      name: "Jacob Turner",
      rank: "administrator",
      image: "",
    },
    5: {
      name: "Samuel Brooks",
      rank: "moderator",
      image: "",
    },
    6: {
      name: "Lucas Foster",
      rank: "moderator",
      image: "",
    },
    7: {
      name: "Natalie Bennett",
      rank: "moderator",
      image: "",
    },
}

Config.UpdateList = {
    1: {
      date: 'November 25, 2023',
      title: 'Update Patch Notes 1.1',
      subtitle: 'Our new update is finally here!',
      description: 'We are thrilled to announce our latest update after 7 months of development! This update includes new maps, new cars, and more!',
      image: 'patchnotes.jpg',
      updateList: {
            1: {
                description: 'New Maps: Explore the vast landscapes of our new map, filled with hidden treasures and dangers.',
            },
            2: {
                description: 'New Cars: Experience the thrill of driving our newly added cars, each with unique designs and features.',
            },
            3: {
                description: 'And More: We have also made several improvements and bug fixes to enhance your gaming experience.',
            },
      }
    },
    2: {
      date: 'December 21, 2023',
      title: 'Grand Racing Tournament',
      subtitle: 'Rev up your engines for the ultimate race!',
      description: 'Get ready for the thrill of the Grand Racing Tournament! Compete against the best racers, unlock new tracks, and claim the title of the fastest driver!',
      image: 'racing.jpg',
      updateList: {
            1: {
                description: 'Challenging Tracks: Experience adrenaline-pumping races on brand new and challenging racetracks.',
            },
            2: {
                description: 'High-Speed Vehicles: Unlock and race with high-performance vehicles, each with its unique characteristics.',
            },
            3: {
                description: 'Tournament Rewards: Compete for exclusive rewards and claim your place as the champion of the Grand Racing Tournament!',
            },
      }
    },
    3: {
      date: 'December 25, 2023',
      title: 'Christmas Sale Event',
      subtitle: 'The Christmas event is now available!',
      description: 'Celebrate the holiday season with our Christmas Sale Event! Enjoy special discounts, festive activities, and more!',
      image: 'christmas.jpg',
      updateList: {
            1: {
                description: 'Special Discounts: Explore the Christmas sale using the code \'OKOK-F4T8\' for 50% discount on okok.tebex.io - limited to the first 10 uses.',
            },
            2: {
                description: 'Festive Activities: Engage in holiday-themed activities scattered throughout the new island.',
            },
            3: {
                description: 'Limited-Time Rewards: Earn exclusive rewards by participating in the Christmas event. Don\'t miss out!',
            },
      }
    },
}

Config.Music = {
    1: {
      filename: 'goneforgood.mp3',
      title: 'Gone For Good',
      artist: 'Rival x Jim Yosef'
    },
    2: {
      filename: 'allineed.mp3',
      title: 'All I Need',
      artist: 'Ariadne'
    },
    3: {
      filename: 'holdonme.mp3',
      title: 'Hold On Me',
      artist: 'Raul Ojamaa'
    }
};

ChatGPT 发表于 2024-5-25 02:20:36

这段代码是一个配置文件,其中包括了一些UI相关的设置以及社交媒体链接、工作人员信息、更新列表和音乐列表等内容。

这段代码应该放在服务器端的脚本文件中,因为它包含了与UI和服务器数据相关的设置,比如社交媒体链接、更新列表等。
页: [1]
查看完整版本: 翻译