版本 3.3.6 中的新功能

发布

修复无效的位置网格坐标

取决于

关于 Server Hud

 

特征:

  • 你可以在 UI 中添加任何插件事件(如果它有钩子,通常在插件描述中指定)
  • 具有用于配置 Hud 的游戏内 UI 菜单
  • 时间格式根据玩家进行调整(取决于他在游戏中的语言),它会检查该语言使用哪种时间格式
  • 您还可以启用在箭头上打开的附加菜单。您可以向此菜单添加各种按钮,例如,打开商店、服务器菜单等。
  • 几乎所有元素都是可定制的 [例如:每个元素的可见性、徽标、图标、颜色等(检查下面的配置)]

Screenshot2023-07-31210228.thumb.png.4b53ea205ae297ec4e901e82e32734aa.png   Screenshot2023-07-31205947.thumb.png.b5183c0bfbc3a694b2e168c218847a36.png

Screenshot2023-07-31210235.thumb.png.6fc1ec96f9ac5b8b6b1a2bb70b361702.png   Screenshot2023-07-31210241.thumb.png.a9fa3019dda0e3f0a41b1e1019d98a87.png

image.thumb.png.b29553223895bf3f9e5b4d7112853f83.png   image.thumb.png.2dcb5168e59a2561a27a1293c53b9405.png

 

 

 

documentations.png.6a9ddd11a866799b8dc17743032903ed.png

📕命令:

/h setup – 打开游戏内配置的

UI/h – 显示所有服务器 Hud UI 命令

/h open – 打开服务器 Hud UI

/h 事件 – 打开事件栏

/h close – 关闭服务器 Hud UI

/h hide – 隐藏服务器 Hud UI

Q&A:

问:在哪里可以找到用于创建活动图标的基本图标?
答:在此消息下方放置一个基本图标,并使用 f.e Photoshop 创建您的个人活动图标!
image.png.7998f2c1387dc31c0fde7da2466585f0.png
问:在哪里可以找到现成的图标?
答:这里有一些现成的图标包(1 个免费,2 个付费)的链接:
https://codefling.com/customizations/free-custom-hud-icons
https://codefling.com/customizations/custom-hud-icons-paid
https://codefling.com/customizations/server-hud-custom-icon-pack

接口:
string API_PlayerHudState(string id)
CanHudChangeState(BasePlayer player, string currentState, strint nextState)

🗒️配置:

{
  "Auto reload [If you change the config and save the file the plugin will reload itself]": true,
  "Main setup": {
    "Overall layer [you will see the hud in your inventory]": false,
    "Size ALL [0% - inf]": 100,
    "Logo [HUD interact button]": "https://media.discordapp.net/attachments/335512864548847617/1134455399756607549/logo.png",
    "Events background opacity [0% - 100%]": 100,
    "Background opacity [0% - 100%]": 100,
    "Position": {
      "Align [TopLeft | TopRight | BottomLeft | BottomRight": "TopLeft",
      "Left | Right - offset": 40,
      "Top | Bottom - offset": 25
    },
    "Server name": "Your Server Name",
    "Active players": {
      "Icon": "https://cdn.discordapp.com/attachments/335512864548847617/1134455395813965934/active.png",
      "Color": "#fff",
      "Enable": true
    },
    "Sleep players": {
      "Icon": "https://cdn.discordapp.com/attachments/335512864548847617/1134455395138670652/sleep.png",
      "Color": "#fff",
      "Enable": true
    },
    "Queue players": {
      "Icon": "https://cdn.discordapp.com/attachments/335512864548847617/1134455393972654171/line.png",
      "Color": "#fff",
      "Enable": true
    },
    "Time": true,
    "Player position [hide permisson - hud.streamer]": {
      "Enable": true,
      "true - grid | false - x,z coordinates": true,
      "Color": "cyan"
    },
    "Economy plugin [Economics | ServerRewards]": {
      "Currency": "$",
      "Value color": "#10ff10",
      "Enable": true
    },
    "Info messages": {
      "Update interval [in seconds]": 60,
      "Align [BottomCenter | TopCenter | TopRight]": "BottomCenter",
      "Width [in px]": 260,
      "Offset [top | bottom]": 0,
      "Offset [right]": 15,
      "Outline color": "#000",
      "Overall [you will see messages in your invenotory]": true,
      "Enable": true,
      "Messages": [
        "Welcome to Your Server Name",
        "Good luck"
      ]
    },
    "Additional menu": {
      "Auto close timer [seconds | 0 - disable]": 60,
      "Auto close after command use": true,
      "Open/Close button color": "yellow",
      "Commands background opacity [0% - 100%]": 100,
      "Enable": true,
      "Commands": [
        {
          "Background image": "https://media.discordapp.net/attachments/335512864548847617/1134455392420761671/command.png",
          "Icon [optional]": "https://media.discordapp.net/attachments/335512864548847617/1134455395813965934/active.png",
          "Command": "chat.say Hello there",
          "Text": "Say Something",
          "Outline color": "#000",
          "Is Console": true
        },
        {
          "Background image": "https://media.discordapp.net/attachments/335512864548847617/1134455392420761671/command.png",
          "Icon [optional]": "",
          "Command": "/shop",
          "Text": "Say Something",
          "Outline color": "#000",
          "Is Console": false
        }
      ]
    }
  },
  "Base Events": [
    {
      "Name": "Bradley",
      "Active color": "#10ff10",
      "Icon": "https://media.discordapp.net/attachments/335512864548847617/1134455316654850049/bradley.png",
      "Color": "#fff",
      "Enable": true
    },
    {
      "Name": "PatrolHeli",
      "Active color": "#10ff10",
      "Icon": "https://media.discordapp.net/attachments/335512864548847617/1134455315073597530/heli.png",
      "Color": "#fff",
      "Enable": true
    },
    {
      "Name": "CH47",
      "Active color": "#10ff10",
      "Icon": "https://media.discordapp.net/attachments/335512864548847617/1134455317485342803/ch47.png",
      "Color": "#fff",
      "Enable": true
    },
    {
      "Name": "Cargo",
      "Active color": "#10ff10",
      "Icon": "https://media.discordapp.net/attachments/335512864548847617/1134455317086879794/cargo.png",
      "Color": "#fff",
      "Enable": true
    },
    {
      "Name": "AirDrop",
      "Active color": "#10ff10",
      "Icon": "https://cdn.discordapp.com/attachments/335512864548847617/1134455316143161374/airdrop.png",
      "Color": "#fff",
      "Enable": true
    }
  ],
  "Custom Events": [
    {
      "Hook OnEventStart": "OnConvoyStart",
      "Hook OnEventStop": "OnConvoyStop",
      "Name": "Convoy",
      "Active color": "#10ff10",
      "Icon": "https://media.discordapp.net/attachments/335512864548847617/1134455318030598154/convoy.png",
      "Color": "#fff",
      "Enable": false
    },
    {
      "Hook OnEventStart": "OnSputnikEventStart",
      "Hook OnEventStop": "OnSputnikEventStop",
      "Name": "Sputnik",
      "Active color": "#10ff10",
      "Icon": "https://cdn.discordapp.com/attachments/335512864548847617/1134455315488854016/sputnik.png",
      "Color": "#fff",
      "Enable": false
    },
    {
      "Hook OnEventStart": "OnArmoredTrainEventStart",
      "Hook OnEventStop": "OnArmoredTrainEventStop",
      "Name": "ArmoredTrain",
      "Active color": "#10ff10",
      "Icon": "https://cdn.discordapp.com/attachments/335512864548847617/1134455315841155173/train.png",
      "Color": "#fff",
      "Enable": false
    },
    {
      "Hook OnEventStart": "OnHarborEventStart",
      "Hook OnEventStop": "OnHarborEventEnd",
      "Name": "Harbor",
      "Active color": "#10ff10",
      "Icon": "https://cdn.discordapp.com/attachments/335512864548847617/1134455318332592219/harbor.png",
      "Color": "#fff",
      "Enable": false
    }
  ]
}
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。