TitleAnnouncer
一款轻量级插件,用于向 Paper 服务器和 Velocity 网络发送标题、动作栏、Boss 栏和聊天公告。
功能
- 支持使用标题、动作栏、Boss 栏和聊天消息发送公告。
- 可向同一世界或服务器中的用户发送公告。
- 可向特定用户发送公告。
- 插件全程使用 MiniMessage 格式,允许最大程度的自定义。
- 支持 MiniPlaceholders
命令
在 Velocity 中使用命令时,只需在命令开头添加一个 "v",例如:/vannounce 或 /vtitleannouncer。
Announce 命令
| 命令 | 参数 | 权限 |
|---|---|---|
| /announce 或 /vannounce | (格式类型) (目标参数) (格式参数) | titleannouncer.command |
参数
目标参数
发送公告时,您可以使用目标参数定义接收者。 此参数允许您选择在线玩家、执行命令者本人、服务器或世界作为公告的接收对象。 可用的目标包括:
自身目标
此目标允许您将相应的公告发送给命令的执行者本人。 请注意,如果服务器控制台使用此目标,它将无法接收 Boss 栏、动作栏、标题或声音; 它只能接收聊天公告。
用法示例
/(v)announce chat self <rainbow>Some announcement
玩家目标
此目标允许您向特定玩家发送公告。
使用格式 “player:玩家名称”。
由于这是一个包含冒号的参数,且受 Minecraft 原版命令系统的限制, 必须将其用引号括起来。
如果在游戏内执行,系统会自动建议在线玩家的名称。
用法示例
/(v)announce title "player:4drian3d" "<gradient:green:aqua>TitleAnnouncer" "<aqua>by <gold>4drian3d"
全部目标
此目标允许您向服务器或代理上的所有玩家发送公告。
如果您在 Velocity 中的 TitleAnnouncer 运行该命令,公告将发送到您网络中的所有玩家。 如果您在 Paper 中安装的 TitleAnnouncer 运行该命令,公告将发送到连接到该服务器的玩家。
用法示例
/(v)announce actionbar all <gradient:green:aqua>TitleAnnouncer <dark_gray>| <white><platforminfo_version>
服务器目标
此目标仅限 Velocity 使用
此目标允许您向执行命令的玩家所连接的特定服务器发送公告,或向指定的服务器发送公告。
如果执行者希望向其所连接的服务器发送公告,只需将 server 作为参数即可。
但如果执行者希望向另一个服务器发送公告,则必须指定格式为 “server:服务器名称”。
与玩家参数一样,当需要 : 时,必须将其用引号括起来。
用法示例
/vannounce bossbar server 30 blue notched_12 <gradient:gold:aqua>A big announcement!!!
/vannounce bossbar "server:lobby" 30 blue notched_12 <gradient:gold:aqua>A big announcement!!!
世界目标
此目标仅限 Paper 使用
此目标允许您向执行命令的玩家所在的世界发送公告,或向指定的世界发送公告。
如果您想向玩家所在的世界发送公告,必须使用 world 参数。
但如果您想指定另一个世界,必须使用 “world:世界名称” 参数。
与玩家参数一样,当需要 : 时,必须将其用引号括起来。
用法示例
/announce bossbar world 30 blue notched_12 <gradient:gold:aqua>A big announcement!!!
/announce bossbar "world:lobby" 30 blue notched_12 <gradient:gold:aqua>A big announcement!!!
格式参数
聊天格式
| 参数 | 权限 |
|---|---|
| [消息] | titleannouncer.command.chat |

动作栏格式
| 参数 | 权限 |
|---|---|
| [消息] | titleannouncer.command.actionbar |

标题格式
| 参数 | 权限 |
|---|---|
| [标题] [副标题] (淡入时间) (停留时间) (淡出时间) | titleannouncer.command.title |

BossBar 格式
| 参数 | 权限 |
|---|---|
| [显示时间] [颜色] [覆盖样式] [内容] | titleannouncer.command.bossbar |

音效格式
如果在 Velocity 上运行,此格式仅能向版本高于 1.19.3 的玩家发送音效。
| 参数 | 权限 |
|---|---|
| [音效键] (声源类型) (音量) (音调) | titleannouncer.command.sound |
TitleAnnouncer
A lightweight plugin to send Titles, Actionbars, Bossbars and Chat Announces to Paper servers and Velocity networks.
Features
- Ability to send announcements by using titles, actionbars, bossbars, and chat messages.
- Send announcements to users in the same world or server you are in.
- Send announcements to a specific user.
- Use of the MiniMessage format throughout the plugin, allowing the maximum possible customization.
- MiniPlaceholders support
Commands
To use the commands in Velocity, just add a "v" at the beginning of the command, for example: "/vannounce" or "/vtitleannouncer".
Announce Command
| Command | Arguments | Permission |
|---|---|---|
| /announce or /vannounce | (Format type) (Target Argument) (Format Arguments) | titleannouncer.command |
Arguments
Target Argument
When sending an announcement, you can define who to send it to using the target argument. This argument allows you to select either an online player or the executor themselves, a server, or a world to send the announcement to. The available targets are:
Self Target
This target allows you to send the respective announcement to the same executor of the command. Keep in mind that if the server console uses this target, it will not be able to receive bossbars, actionbars, titles, or sounds; it will only be able to receive chat announcements
Example Usage
/(v)announce chat self <rainbow>Some announcement
Player Target
This target allows you to send an announcement to a specific player.
Use the format “player:PlayerName”.
As it is an argument that uses a colon character and due to limitations of the Minecraft Vanilla command system, it must be enclosed in quotation marks.
If executed in-game, online player names will be suggested.
Example Usage
/(v)announce title "player:4drian3d" "<gradient:green:aqua>TitleAnnouncer" "<aqua>by <gold>4drian3d"
All Target
This target allows you to send an announcement to all players on the server or proxy.
If you run the command from TitleAnnouncer in Velocity, the announcement will be sent to all players on your network. If you run it from TitleAnnouncer installed in Paper, the announcement will be sent to players connected to the server where it is run.
Example Usage
/(v)announce actionbar all <gradient:green:aqua>TitleAnnouncer <dark_gray>| <white><platforminfo_version>
Server Target
This target is exclusive to Velocity
This target allows you to send an announcement to the specific server where the player executing it is connected, or to a specific server.
For the executor to send the announcement to the server where it is connected, you only need to place server as an argument.
But if the executor wants it to be executed on another server, it must be specified with the format “server:ServerName”.
Like the player argument, when requiring :, it must be enclosed in quotation marks.
Example Usage
/vannounce bossbar server 30 blue notched_12 <gradient:gold:aqua>A big announcement!!!
/vannounce bossbar "server:lobby" 30 blue notched_12 <gradient:gold:aqua>A big announcement!!!
World Target
This target is exclusive to Paper
This target allows you to send an announcement to the world where the player executing the command is located or to a specified world.
If you want to send the announcement to the world where the player is located, you must use the world argument.
But if you want to specify another world, you must use the “world:WorldName” argument.
Like the player argument, when requiring :, it must be enclosed in quotation marks.
Example Usage
/announce bossbar world 30 blue notched_12 <gradient:gold:aqua>A big announcement!!!
/announce bossbar "world:lobby" 30 blue notched_12 <gradient:gold:aqua>A big announcement!!!
Format Argument
Chat Format
| Arguments | Permission |
|---|---|
| [Message] | titleannouncer.command.chat |

Actionbar Format
| Arguments | Permission |
|---|---|
| [Message] | titleannouncer.command.actionbar |

Title Format
| Arguments | Permission |
|---|---|
| [Title] [SubTitle] (FadeIn Time) (Stay Time) (FadeOut Time) | titleannouncer.command.title |

BossBar Format
| Arguments | Permission |
|---|---|
| [Display Time] [Color] [Overlay] [Content] | titleannouncer.command.bossbar |

Sound Format
If running on Velocity, this format will only be able to send sounds to players with versions higher than 1.19.3.
| Arguments | Permission |
|---|---|
| [Sound Key] (Source Type) (Volume) (Pitch) | titleannouncer.command.sound |
下载 TitleAnnouncer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TitleAnnouncer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TitleAnnouncer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TitleAnnouncer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TitleAnnouncer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TitleAnnouncer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TitleAnnouncer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧