SimpleAnnouncement
A lightweight Velocity announcement plugin that periodically sends custom-formatted announcement messages to all online players.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
SimpleAnnouncement
SimpleAnnouncement
SimpleAnnouncement is a lightweight Velocity announcement plugin that periodically sends custom-formatted announcement messages to all online players.
Features
- 🕒 Scheduled announcement broadcasts - 🎨 Supports MiniMessage rich text formatting (gradients, click events, hover tooltips, etc.) - 🔄 Hot-reload configuration support
Configuration
```properties
Announcement interval (seconds)
interval = 300
Announcement message list
announcements = [
Gradient text example
"<gradient:red:blue>Welcome to the server!</gradient>",
Text with click event
"<click:open_url:'https://example.com'><hover:show_text:'Click to visit'>Official Website</hover></click>",
Rainbow text
"<rainbow>Daily events are ongoing!</rainbow>",
Bold text
"<bold>Please follow server rules!</bold>",
Multi-line message example
"<newline><gradient:gold:yellow>==== Server Notice ====</gradient><newline>Today's Event: <green>Survival Challenge</green><newline>Time: <aqua>20:00-22:00</aqua>" ] ```
MiniMessage Format Guide
MiniMessage enables rich text formatting:
Colors: - Named colors: `<red>Red text</red>` - HEX colors: `<#ff0000>Red text</#ff0000>`
Gradients: ``` <gradient:red:blue>Red-Blue gradient text</gradient> ```
Click Events: ``` <click:open_url:'https://example.com'>Click to open website</click> <click:run_command:'/spawn'>Click to teleport</click> ```
Hover Tooltips: ``` <hover:show_text:'Tooltip content'>Hover to view</hover> ```
Special Effects: ``` <bold>Bold</bold> <italic>Italic</italic> <underlined>Underlined</underlined> <strikethrough>Strikethrough</strikethrough> <rainbow>Rainbow text</rainbow> ```
Line Breaks: ``` Line 1<newline>Line 2 ```
More formats: MiniMessage Documentation
Commands
| Command | Permission | Description | |---------|------------|-------------| | `/simpleannouncementreload` or `/sar` | `simpleannouncement.reload` | Reload configuration file |
--- > 💡 Tip: Preview MiniMessage effects using MiniMessage Viewer
---
SimpleAnnouncement 简单公告
SimpleAnnouncement 是一个轻量级的 Velocity 公告插件,可以定时向所有在线玩家发送自定义格式的公告消息。
功能特点
- 🕒 定时发送公告消息
- 🎨 支持 MiniMessage 富文本格式(渐变、点击事件、悬停提示等)
- 🔄 支持热重载配置
配置说明
```
公告间隔时间(秒)
interval = 300
公告消息列表
announcements = [
渐变文本示例
"<gradient:red:blue>欢迎来到服务器!</gradient>",
带点击事件的文本
"<click:open_url:'[URL]https://example.com[/URL]'><hover:show_text:'点击访问'>官方网站</hover></click>",
彩虹文本
"<rainbow>每日活动正在进行中!</rainbow>",
粗体文本
"<bold>请遵守服务器规则!</bold>",
多行消息示例
"<newline><gradient:gold:yellow>==== 服务器公告 ====</gradient><newline>今日活动:<green>生存挑战赛</green><newline>时间:<aqua>20:00-22:00</aqua>"
]
```
MiniMessage 格式指南
MiniMessage 允许创建丰富的文本格式:
颜色:
- 命名颜色:`<red>红色文本</red>`
- HEX 颜色:`<#ff0000>红色文本</#ff0000>`
渐变:
```
<gradient:red:blue>红蓝渐变文本</gradient>
```
点击事件:
```
<click:open_url:'[URL]https://example.com[/URL]'>点击打开网站</click>
<click:run_command:'/spawn'>点击传送</click>
```
悬停提示:
```
<hover:show_text:'提示内容'>悬停查看提示</hover>
```
特殊效果:
```
<bold>粗体</bold>
<italic>斜体</italic>
<underlined>下划线</underlined>
<strikethrough>删除线</strikethrough>
<rainbow>彩虹文本</rainbow>
```
换行:
```
第一行<newline>第二行
```
更多格式可参考:MiniMessage 文档
命令
`/simpleannouncementreload`或 `/sar` `simpleannouncement.reload` 重新加载配置文件
---
> Tips:使用MiniMessage Viewer 可以预览MiniMessage效果。