免费插件

UI Notify

用户界面通知

为玩家添加自定义通知

notifynotificationalert

原作者:Mevent · 查看 uMod 官方页面 ↗

插件介绍

为玩家添加自定义通知

主要用途

主要用于notify、notification、alert等服务端功能。 本插件由 Mevent 发布,当前目录记录版本为 v1.0.12,uMod 累计下载 12,464 次。

适用场景

  • 希望扩展原版服务器功能的服主

功能分类

notifynotificationalert
查看 uMod 官方英文简介

Adds custom notifications for players

权限节点

uinotify.see - permission to see the notification

uinotify.notify - permission to use "uinotify.show" command

uinotify.player - permission to use "uinotify.player" command

uinotify.allplayer - permission to use "uinotify.allplayers" command

授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke

指令说明

uinotify.show [type] [message]

uinotify.player [steamid] [type] [message]

uinotify.allplayers [type] [message]

相关依赖

  • Easy Research
  • Excavator Lock
  • Inbound
  • Keywords
  • Kill Records
  • Premium Quarry
  • Public Quarry Lock
  • XPerience

配置说明

{ "Permission (example: notify.use)": "", "Height": 50.0, "Width": 260.0, "X Margin": 20.0, "Y Margin": 5.0, "Y Indent": -50.0, "Notify Cooldown": 10.0, "Notifications (type - settings)": { "0": { "Background Color": { "HEX": "#000000", "Opacity (0 - 100)": 98.0 }, "Enable Gradient?": true, "Gradient Color": { "HEX": "#4B68FF", "Opacity (0 - 100)": 35.0 }, "Sprite": "assets/content/ui/ui.background.transparent.linearltr.tga", "Material": "Assets/Icons/IconMaterial.mat", "Icon Color": { "HEX": "#4B68FF", "Opacity (0 - 100)": 100.0 }, "Icon Text": "!", "Icon Text Color": { "HEX": "#FFFFFF", "Opacity (0 - 100)": 100.0 }, "Title Key (lang)": "Notification", "Title Color": { "HEX": "#FFFFFF", "Opacity (0 - 100)": 50.0 }, "Text Color": { "HEX": "#FFFFFF", "Opacity (0 - 100)": 100.0 }, "Fade Out": 1.0, "Fade In": 0.1, "Sound Effect (empty - disable)": "assets/bundled/prefabs/fx/notice/item.select.fx.prefab", "Image Settings": { "Enabled": false, "Image": "", "AnchorMin": "0 0", "AnchorMax": "0 0", "OffsetMin": "12.5 12.5", "OffsetMax": "37.5 37.5" } }, "1": { "Background Color": { "HEX": "#000000", "Opacity (0 - 100)": 98.0 }, "Enable Gradient?": true, "Gradient Color": { "HEX": "#FF6060", "Opacity (0 - 100)": 35.0 }, "Sprite": "assets/content/ui/ui.background.transparent.linearltr.tga", "Material": "Assets/Icons/IconMaterial.mat", "Icon Color": { "HEX": "#FF6060", "Opacity (0 - 100)": 100.0 }, "Icon Text": "X", "Icon Text Color": { "HEX": "#FFFFFF", "Opacity (0 - 100)": 100.0 }, "Title Key (lang)": "Error", "Title Color": { "HEX": "#FFFFFF", "Opacity (0 - 100)": 50.0 }, "Text Color": { "HEX": "#FFFFFF", "Opacity (0 - 100)": 100.0 }, "Fade Out": 1.0, "Fade In": 0.1, "Sound Effect (empty - disable)": "assets/bundled/prefabs/fx/notice/item.select.fx.prefab", "Image Settings": { "Enabled": false, "Image": "", "AnchorMin": "0 0", "AnchorMax": "0 0", "OffsetMin": "12.5 12.5", "OffsetMax": "37.5 37.5" } } } }

官方配置示例

{
  "Permission (example: notify.use)": "",
  "Height": 50.0,
  "Width": 260.0,
  "X Margin": 20.0,
  "Y Margin": 5.0,
  "Y Indent": -50.0,
  "Notify Cooldown": 10.0,
  "Notifications (type - settings)": {
    "0": {
      "Background Color": {
        "HEX": "#000000",
        "Opacity (0 - 100)": 98.0
      },
      "Enable Gradient?": true,
      "Gradient Color": {
        "HEX": "#4B68FF",
        "Opacity (0 - 100)": 35.0
      },
      "Sprite": "assets/content/ui/ui.background.transparent.linearltr.tga",
      "Material": "Assets/Icons/IconMaterial.mat",
      "Icon Color": {
        "HEX": "#4B68FF",
        "Opacity (0 - 100)": 100.0
      },
      "Icon Text": "!",
      "Icon Text Color": {
        "HEX": "#FFFFFF",
        "Opacity (0 - 100)": 100.0
      },
      "Title Key (lang)": "Notification",
      "Title Color": {
        "HEX": "#FFFFFF",
        "Opacity (0 - 100)": 50.0
      },
      "Text Color": {
        "HEX": "#FFFFFF",
        "Opacity (0 - 100)": 100.0
      },
      "Fade Out": 1.0,
      "Fade In": 0.1,
      "Sound Effect (empty - disable)": "assets/bundled/prefabs/fx/notice/item.select.fx.prefab",
      "Image Settings": {
        "Enabled": false,
        "Image": "",
        "AnchorMin": "0 0",
        "AnchorMax": "0 0",
        "OffsetMin": "12.5 12.5",
        "OffsetMax": "37.5 37.5"
      }
    },
    "1": {
      "Background Color": {
        "HEX": "#000000",
        "Opacity (0 - 100)": 98.0
      },
      "Enable Gradient?": true,
      "Gradient Color": {
        "HEX": "#FF6060",
        "Opacity (0 - 100)": 35.0
      },
      "Sprite": "assets/content/ui/ui.background.transparent.linearltr.tga",
      "Material": "Assets/Icons/IconMaterial.mat",
      "Icon Color": {
        "HEX": "#FF6060",
        "Opacity (0 - 100)": 100.0
      },
      "Icon Text": "X",
      "Icon Text Color": {
        "HEX": "#FFFFFF",
        "Opacity (0 - 100)": 100.0
      },
      "Title Key (lang)": "Error",
      "Title Color": {
        "HEX": "#FFFFFF",
        "Opacity (0 - 100)": 50.0
      },
      "Text Color": {
        "HEX": "#FFFFFF",
        "Opacity (0 - 100)": 100.0
      },
      "Fade Out": 1.0,
      "Fade In": 0.1,
      "Sound Effect (empty - disable)": "assets/bundled/prefabs/fx/notice/item.select.fx.prefab",
      "Image Settings": {
        "Enabled": false,
        "Image": "",
        "AnchorMin": "0 0",
        "AnchorMax": "0 0",
        "OffsetMin": "12.5 12.5",
        "OffsetMax": "37.5 37.5"
      }
    }
  }
}
{
  "Notification": "Notification",
  "Error": "Error"
}

更新日志

最新版本: v1.0.12
最后版本发布: 2024-02-24
最后更新(条目): 2026-07-19

本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面

安装方法

  1. 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
  2. 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
  3. 将 .cs 文件放入服务器的 oxide/plugins 目录。
  4. 观察服务端控制台,确认插件编译并成功加载。
  5. 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。

使用前注意

  • Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
  • 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
  • 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
  • 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
来源说明

中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。