跳到正文

Announcement

作者:UsainSrht

简单的公告插件。

收藏

截图

介绍

介绍由机器翻译自 Modrinth 原页面,仅供参考。

简单的公告插件。

特性

  • 可自定义的公告。
  • 可自定义的模板。
  • 用于发布自定义消息的命令。
  • 支持 MiniMessage。
  • 新增 minimessage 格式标签 <centered>。
  • 支持占位符。(PlaceholderAPI 和 MiniPlaceholders)

注意

本插件应适用于 1.16 到最新版本的 Minecraft。

示例 config.yml

#when broadcast is true, console will get announcements too.
broadcast: false
#when ordered is true, announcements will sent in order.
ordered: false
#time between announcements, in seconds.
delay: 300
command:
  name: "announcement"
  description: "command to announce custom messages"
  usage: "/announcement <message>"
  permission: "announcement.use"
#Formatting docs: https://docs.adventure.kyori.net/minimessage/format.html
template:
  - ""
  - "<centered><gradient:#FF8B13:#E06FF2><bold>ANNOUNCEMENT</bold></gradient></centered>"
  - ""
  - "<centered><announcement></centered>"
  - ""
announcements:
  - "You <gold>can <gray>do <yellow>x"
  - "You <gold>can't <gray>do <red>y"
  - "You <gold>might be able to <gray>do <green>z"
  - "You <gold>might not be able to <gray>do <blue>t"

加入我们的 Discord

如需支持、更新和社区讨论,请加入我们的 Discord:
Join DiscordUDE discord invite

常见问题

Announcement 支持哪些 Minecraft 版本?

Announcement 支持 Minecraft Java 版 1.16–26.3,共 40 个版本,可用的加载器:Fabric / Folia / Forge / NeoForge / Paper / Purpur / Spigot。下载时注意选择和你游戏版本一致的文件。

Announcement 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Folia / Forge / NeoForge / Paper / Purpur / Spigot,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

UsainSrht 的其他作品

查看全部 →