如果您有任何问题或发现问题,请在 [https://github.com/Anwenden001/Velocity-Alert-Plugin/issues](https://github.com/Anwenden001/Velocity-Alert-Plugin/issues) 上报告它。


# Velocity Alert 插件
## 概述
一个简单的 Velocity 插件,用于在您的整个服务器网络中向玩家发送警报/公告。您可以使用此功能来警告玩家有关即将到来的服务器/代理重启,或公告任何您想要提及的其他重要消息。
## 功能
* `/alert (消息)`
* 权限节点是 `alert.command.permission` (推荐仅限工作人员使用;您可以在您的权限插件中设置权限)
* 彩色消息,支持 HEX 色彩
* 配置文件,您可以在其中自定义警报消息前缀和颜色。
### 支持的格式
支持的格式列表及用法链接。
- [Legacy](https://www.digminecraft.com/lists/color_list_pc.php)
- [JSON](https://minecraft.wiki/w/Raw_JSON_text_format)
- [XML (MiniMessages)](https://docs.advntr.dev/minimessage/format.html#minimessage-format)
### 格式示例
以下是这三种格式的一些基本示例: ([ALERT] Warning!)
- Legacy: `/alertlegacy &cWarning!`
- JSON: `/alertjson {"text":"Warning!","color":"red"}`
- XML (MiniMessage): `/alertxml Warning!`
或者您可以通过在配置文件中更改格式来使用 `/alert`。默认格式是 lagacy.
## 安装和设置
1. 从 [此处](https://modrinth.com/plugin/velocity-alert/version/1.7) 下载最新的 Alert 插件。
2. 将插件放置在您的代理服务器的 plugins 文件夹中。
3. 重启您的代理,就完成了!插件应该已加载。
如果您有任何问题或发现问题,请在 [https://github.com/Anwenden001/Velocity-Alert-Plugin/issues](https://github.com/Anwenden001/Velocity-Alert-Plugin/issues) 上报告它。
如果您有任何问题或发现问题,请在 [https://github.com/Anwenden001/Velocity-Alert-Plugin/issues](https://github.com/Anwenden001/Velocity-Alert-Plugin/issues) 上报告它。