SimpleAnnouncement 图标

SimpleAnnouncement

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/simpleannouncement
资源信息

Minecraft 版本: 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2

平台: velocity

标签: utility

资源介绍

SimpleAnnouncement

Minecraft
Platform
Languages

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

# 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效果。

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
SurvivalIsland++

价格:0 墨喵币
下载量:0

查看详情
SimpleChat

价格:0 墨喵币
下载量:0

查看详情
Panda Nerf Phantoms

价格:0 墨喵币
下载量:0

查看详情
Lapis Lazuli Harmony

价格:0 墨喵币
下载量:0

查看详情