ZAutoBroadcast
适用于 Minecraft 服务器的强大且可自定义的自动广播/自动公告插件。它允许服务器管理员设置自动和强制广播,具备多种功能,包括支持 MiniMessage 格式、MiniPlaceholders 以及 PlaceholderAPI 占位符。
支持 Folia ✔️
功能
- 自动广播:设置按可配置间隔向服务器所有玩家发送的自动广播。
- 强制广播:设置只能通过命令执行的强制广播。
- 加权广播:通过“weight”字段控制每个广播的出现频率。权重较高的广播会出现得更频繁。
- MiniMessage 支持:消息使用 MiniMessage 格式,允许丰富的文本格式化和颜色代码。
- PlaceholderAPI 支持:在消息中使用任何 PlaceholderAPI 占位符。(需要 PlaceholderAPI 插件)
- MiniPlaceholders 支持:在消息中使用任何 MiniPlaceholder 占位符。(需要 MiniPlaceholders 插件)
命令
/zab reload:重新加载 broadcasts.yml 文件。
/zab broadcast <key>:广播具有给定键的消息。
/zab custom <message>:广播自定义消息。
/zab interval get/set <seconds>:获取或设置广播间隔。
- 所有命令都需要
zautobroadcast.admin 权限。
版本兼容性
- 兼容 Folia,这是一个强大的 Minecraft 插件库。
- 必须在 Paper 或其分支上运行。
- 需要 Java 17 或更高版本。
- 兼容至少 1.20.4 及以上版本。
安装
- 从版本页面下载最新版本的 ZAutoBroadcast。
- 将下载的
.jar 文件放入服务器的 plugins 文件夹中。
- 重启服务器。
- 通过编辑
plugins/ZAutoBroadcast 文件夹中的 config.yml 和 broadcasts.yml 文件,按需配置插件。
配置
有关如何配置插件的信息,请参阅 config.yml 和 broadcasts.yml 文件中的注释。
支持
如果遇到任何问题或有疑问,请在 GitHub 上提交 Issue。
许可证
ZAutoBroadcast 采用 MIT 许可证 授权。
ZAutoBroadcast
Powerful and customizable AutoBroadcaster/AutoAnnouncer plugin for Minecraft servers. It allows server administrators to set up automatic and forced broadcasts with a variety of features, including support for MiniMessage format, MiniPlaceholders. and PlaceholderAPI placeholders.
Folia Supported ✔️
Features
- Automatic Broadcasts: Set up automatic broadcasts that are sent to all players on the server at a configurable interval.
- Forced Broadcasts: Set up forced broadcasts that can only be run via command.
- Weighted Broadcasts: Control how often each broadcast is shown with the "weight" field. Broadcasts with a higher weight will appear more often.
- MiniMessage Support: The messages use MiniMessage format, allowing for rich text formatting and color codes.
- PlaceholderAPI Support: Use any PlaceholderAPI placeholders in your messages. (Requires the PlaceholderAPI plugin)
- MiniPlaceholders Support: Use any MiniPlaceholder placeholders in your messages. (Requires the MiniPlaceholders plugin)
Commands
/zab reload: Reloads the broadcasts.yml file.
/zab broadcast <key>: Broadcasts a message with the given key.
/zab custom <message>: Broadcasts a custom message.
/zab interval get/set <seconds>: Gets or sets the broadcast interval.
- All commands require the
zautobroadcast.admin permission.
Version Compatibility
- Compatible with Folia, a powerful library for Minecraft plugins.
- Must be run on Paper or a Paper fork.
- Requires Java 17 or higher.
- Compatible with at least 1.20.4 and above.
Installation
- Download the latest version of ZAutoBroadcast from the versions page.
- Place the downloaded
.jar file into your server's plugins folder.
- Restart your server.
- Configure the plugin to your liking by editing the
config.yml and broadcasts.yml files in the plugins/ZAutoBroadcast folder.
Configuration
Refer to the comments in the config.yml and broadcasts.yml files for information on how to configure the plugin.
Support
If you encounter any issues or have any questions, please open an issue on GitHub.
License
ZAutoBroadcast is licensed under the MIT License.
评论 0
登录后参与评分
还没有评论,来抢沙发吧