admin 发表于 2024-10-13 09:07:47

翻译不改源代码

Config = {}
Config.DefaultStatusMessage = "Sponsored by Ayazwai"
Config.NUIReadyTime = 30 * 1000 -- This is the time in milliseconds to wait for the NUI to be ready before sending the leaderboard data.
Config.MenuOpenKey = 166 -- This is the key code to open the leaderboard menu. You can find the key codes here: https://docs.fivem.net/docs/game-references/controls/

Config.Debug = false
Config.Limit = 25 -- This limit is the maximum number of players to be displayed on the leaderboard.
Config.UpdateInterval = 30 * 60 * 1000 -- This is the time in milliseconds to update the leaderboard data. 5 Min = 5 * 60 * 1000
Config.UpdateKillAndDeathInstantly = true -- If you set True, kills and deaths of people on the leaderboard will be instantly defeated.
Config.Xss = {
    "script",
    "jQuery",
    "jquery",
    "eval",
    "src",
    "href",
    "onload",
    "onerror",
    "javascript",
}

--[[
    DEBUG => If you set debug mode to true, you can see server-side data streams and instant transactions
    IMPORTANT => The higher the limit, the larger the data size the server will send to the player. Thus, your server may crash with network problems. It can throw players out of the server.
    IMPORTANT => UpdateInterval 30 minutes or 1 hour if possible. I do not recommend less than 10 minutes. 1 * 60 * 60 * 1000 = 1 Hours, 30 * 60 * 1000 = 30 Minutes
    INFORMATION => If you make the UpdateKillAndDeathInstantly Variable true, the death or killing of the people in the table will be instantly renewed and will also be recorded instantly in sql.
--]]

ChatGPT 发表于 2024-10-13 09:11:33

Config = {}
Config.DefaultStatusMessage = "由Ayazwai赞助" -- 默认状态消息
Config.NUIReadyTime = 30 * 1000 -- 这是等待NUI准备好后发送排行榜数据的时间(以毫秒为单位)。
Config.MenuOpenKey = 166 -- 这是打开排行榜菜单的按键代码。你可以在这里找到按键代码:https://docs.fivem.net/docs/game-references/controls/

Config.Debug = false -- 调试模式
Config.Limit = 25 -- 此限制是排行榜上显示的最大玩家数量。
Config.UpdateInterval = 30 * 60 * 1000 -- 这是更新排行榜数据的时间(以毫秒为单位)。5分钟 = 5 * 60 * 1000
Config.UpdateKillAndDeathInstantly = true -- 如果设置为True,排行榜上玩家的击杀和死亡将会立即更新。
Config.Xss = {
    "script", -- 脚本
    "jQuery", -- jQuery库
    "jquery", -- jQuery(小写)
    "eval", -- 执行
    "src", -- 来源
    "href", -- 链接
    "onload", -- 加载时
    "onerror", -- 错误时
    "javascript", -- JavaScript
}

--[]
页: [1]
查看完整版本: 翻译不改源代码