Raid 报警系统  AAlertRaid 2.0.2 版本

Raid 报警系统 AAlertRaid 2.0.2 版本

Raid 报警系统  AAlertRaid 2.0.2 版本-PCI1
Raid 报警系统 AAlertRaid 2.0.2 版本
此内容为付费资源,请付费后查看
10积分
付费资源

原创地址AAlertRaid – 插件 – Codefling

关于 AAlertRaid

Raid 警报

# Game [UI]
# Rust+
# Discord
# VK.COM
# Telegram

需要 mod: DiscordAPI (https://umod.org/extensions/discord 注意
,首先需要关闭服务器,然后安装 mod

聊天命令

/raid

用户界面

The menu is not distorted when changing the screen resolution
Messages edit in oxide/lang

地方化

const bool fermensEN = true; // true - ENGLISH PLUGIN | false - RUSSIAN PLUGIN // 35 lines in .cs file

在 DISCORD 中设置警报

在 VK.COM 中设置警报

"API from the group" a short beginner's guide
To get this key, go to the group, select the "Community Management" item in the menu, then the "Work with API" item and click the "Create Key" button, check the box "Allow the application to access community messages", click "Create".
The resulting key is inserted into the plugin configuration file, the column "API".
Fill in the columns!
"Token (https://discordapp.com/developers/applications)"
"Channel ID, where the player will take the code to confirm the profile"

在 TELEGRAM 中设置警报

Add bot @botfather via telegram, press /start
Write /newbot
Come up with a name and write in response, as well as specify in the plugin config
Write /mybots, select your bot and click API Token, copy it and specify it in the plugin config
Reload plugin, done
 报价

配置

{
  "Server name, will using for alerts": "HaxLite X10",
  "VK.com": {
    "Enable?": true,
    "API": "",
    "Cooldown for sending": 1200.0
  },
  "Rust+": {
    "Enable?": true,
    "Cooldown for sending": 600.0
  },
  "In game": {
    "Enable?": true,
    "Cooldown for sending": 60.0,
    "Send game effect when notification are received": "assets/prefabs/weapons/toolgun/effects/repairerror.prefab",
    "Time after the UI is destroyed": 4.0,
    "UI": "[{\"name\":\"UIA\",\"parent\":\"Overlay\",\"components\":[{\"type\":\"UnityEngine.UI.RawImage\",\"material\":\"assets/content/ui/uibackgroundblur.mat\", \"sprite\":\"assets/content/ui/ui.background.transparent.linearltr.tga\",\"color\":\"0 0 0 0.6279221\"},{\"type\":\"RectTransform\",\"anchormin\":\"1 0.5\",\"anchormax\":\"1 0.5\",\"offsetmin\":\"-250 -30\",\"offsetmax\":\"0 30\"}]},{\"name\":\"D\",\"parent\":\"UIA\",\"components\":[{\"type\":\"UnityEngine.UI.Image\",\"color\":\"1 0 0 0.392904\"},{\"type\":\"RectTransform\",\"anchormin\":\"0 0\",\"anchormax\":\"1 0\",\"offsetmin\":\"0 0\",\"offsetmax\":\"0 5\"}]},{\"name\":\"T\",\"parent\":\"UIA\",\"components\":[{\"type\":\"UnityEngine.UI.Text\",\"text\":\"{text}\",\"fontSize\":12,\"align\":\"MiddleLeft\",\"color\":\"1 1 1 0.8644356\"},{\"type\":\"RectTransform\",\"anchormin\":\"0 0\",\"anchormax\":\"1 1\",\"offsetmin\":\"5 0\",\"offsetmax\":\"-5 0\"}]},{\"name\":\"U\",\"parent\":\"UIA\",\"components\":[{\"type\":\"UnityEngine.UI.Image\",\"color\":\"1 0 0 0.3921569\"},{\"type\":\"RectTransform\",\"anchormin\":\"0 1\",\"anchormax\":\"1 1\",\"offsetmin\":\"0 -5\",\"offsetmax\":\"0 0\"}]}]"
  },
  "Discord": {
    "Enable?": true,
    "Cooldown for sending": 600.0,
    "Token (https://discordapp.com/developers/applications)": "",
    "Channel ID, where the player will take the code to confirm the profile": "401360615521648663",
    "Info text": "Enter the received code in the integration menu for raid alerts.\nChat command /raid\nEnter it in the game itself, not in the discord!",
    "Info text - line color on the left": 14177041,
    "Text on button": "Get code",
    "Reply after button click": "Your code: {code}",
    "Don't touch this field": "938118623707430983"
  },
  "Additional list": [
    "wall.external.high",
    "wall.external.high.stone",
    "gates.external.high.wood",
    "gates.external.high.stone",
    "wall.window.bars.metal",
    "wall.window.bars.toptier",
    "wall.window.glass.reinforced",
    "wall.window.bars.wood"
  ],
  "Telegram": {
    "Enable?": true,
    "Cooldown for sending": 1200.0,
    "Bot tag": "@haxlite_bot",
    "Token": ""
  },
  "Menu UI": {
    "Background color": "0.07843138 0.06666667 0.1098039 0.9490196",
    "Strip color": "0.8784314 0.9843137 1 0.5686275",
    "Rectangular container background color": "0.8901961 0.8901961 0.8901961 0.4156863",
    "Button text color": "1 1 1 0.9056942",
    "Text color": "1 1 1 1",
    "Green button color": "0.5450981 1 0.6941177 0.509804",
    "Red button color": "1 0.5450981 0.5450981 0.509804",
    "Gray button color": "0.8901961 0.8901961 0.8901961 0.4156863",
    "Header text color": "1 1 1 1",
    "Error text color": "1 0.5429931 0.5429931 0.787812",
    "Text color of <exit> and <back> buttons": "0.5938045 0.5789595 0.5789595 1",
    "Rectangular container text color": "1 1 1 0.7843137",
    "The color of the text with hints at the bottom of the screen": "1 1 1 0.6699298",
    "Abbreviations and their colors": {
      "Abbreviation for telegram": "TG",
      "Telegram icon color": "0.5479987 0.9459876 1 0.4156863",
      "Abbreviation for vk.com": "VK",
      "Vk.com icon color": "0.5803922 0.6627451 1 0.4156863",
      "Abbreviation for rust+": "R+",
      "Rust+ icon color": "1 0.5803921 0.6013725 0.4156863",
      "Abbreviation for discord": "DS",
      "Discord icon color": "0.6313726 0.5764706 1 0.4156863",
      "Abbreviation for in game": "UI",
      "In game icon color": "1 0.7843137 0.5764706 0.4156863"
    }
  }
}

图片[1]-Raid 报警系统  AAlertRaid 2.0.2 版本-PCI1

图片[2]-Raid 报警系统  AAlertRaid 2.0.2 版本-PCI1

图片[3]-Raid 报警系统  AAlertRaid 2.0.2 版本-PCI1

图片[4]-Raid 报警系统  AAlertRaid 2.0.2 版本-PCI1

© 版权声明
THE END
喜欢就支持一下吧
点赞6 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容