KartaAutoAnnouncer
KartaAutoAnnouncer 是一款轻量且易于使用的 Minecraft 插件,旨在向你的 Minecraft 服务器广播自动消息。它支持多种消息类型,包括聊天、操作栏和标题,确保你的公告能被看到。
功能
- 多种公告类型:在聊天、操作栏或屏幕标题中广播消息。
- 易于配置:干净简洁的配置文件。
- 游戏内命令:直接从游戏中重载配置、添加新消息以及设置公告间隔。
- PlaceholderAPI 支持:在你的公告中使用来自其他插件的占位符。
- 十六进制颜色支持:使用十六进制颜色代码(例如
&#RRGGBB)来显示鲜艳的消息。
安装
- 从 发布页面 下载最新版本的插件。
- 将下载的
.jar 文件放入服务器的 plugins 文件夹中。
- 重启或重载你的服务器。
配置
config.yml 文件位于 plugins/KartaAutoAnnouncer 目录中。以下是默认配置的概览:
# 每次公告之间的间隔时间(秒)。
interval: 60
# 在每个 CHAT 公告前显示的 prefix。
# 这不适用于 ACTION_BAR 或 TITLE 消息。
prefix: "&d[Karta] &r"
# 要广播的消息列表。
announcements:
chat:
- "&a欢迎来到我们的服务器!我们希望你能度过愉快的时光。"
- "&6别忘了加入我们的 Discord!"
action_bar:
- "&b请确保阅读 &c&l规则&b。"
title:
- title: "Ⴟf5为我们投票!"
subtitle: "&e使用 /vote 命令获取奖励!"
命令与权限
主命令为 /kaa(/kartaautoannouncer 的别名)。
- 权限:
autoannouncer.admin(默认:OP)
子命令
/kaa reload - 重载配置文件。
/kaa setinterval <seconds> - 设置公告之间的间隔。
/kaa add <type> <message> - 添加新的公告。
添加公告
你可以直接在游戏内使用 /kaa add 命令添加公告。
- 类型:
chat、actionbar 或 title。
示例:
-
聊天:
/kaa add chat &a这是一条新的聊天消息!
-
操作栏:
/kaa add actionbar &b查看我们的新商店!
-
标题:
/kaa add title &6重大新闻! | &e我们有一个新活动!
(竖线 | 字符用于分隔标题和副标题。)
添加新消息后,你必须运行 /kaa reload 以使更改生效。
支持
如果你遇到任何问题或有疑问,请在 GitHub 仓库 上提交 issue。
KartaAutoAnnouncer
KartaAutoAnnouncer is a lightweight and easy-to-use Minecraft plugin designed to broadcast automated messages to your Minecraft server. It supports various message types, including chat, action bar, and titles, ensuring your announcements are seen.
Features
- Multiple Announcement Types: Broadcast messages in chat, on the action bar, or as a screen title.
- Easy Configuration: A clean and simple configuration file.
- In-Game Commands: Reload the configuration, add new messages, and set the announcement interval directly from the game.
- PlaceholderAPI Support: Use placeholders from other plugins in your announcements.
- Hex Color Support: Use hex color codes (e.g.,
&#RRGGBB) for vibrant messages.
Installation
- Download the latest version of the plugin from the releases page.
- Place the downloaded
.jar file into your server's plugins folder.
- Restart or reload your server.
Configuration
The config.yml file is located in the plugins/KartaAutoAnnouncer directory. Here's an overview of the default configuration:
# The interval in seconds between each announcement.
interval: 60
# The prefix to be displayed before every CHAT announcement.
# This does not apply to ACTION_BAR or TITLE messages.
prefix: "&d[Karta] &r"
# A list of messages to be broadcast.
announcements:
chat:
- "&aWelcome to our server! We hope you have a great time."
- "&6Don't forget to join our Discord!"
action_bar:
- "&bMake sure to read the &c&l/rules&b."
title:
- title: "Ⴟf5Vote for us!"
subtitle: "&eUse the /vote command for rewards!"
Commands & Permissions
The main command is /kaa (alias for /kartaautoannouncer).
- Permission:
autoannouncer.admin (default: OP)
Sub-commands
/kaa reload - Reloads the configuration file.
/kaa setinterval <seconds> - Sets the interval between announcements.
/kaa add <type> <message> - Adds a new announcement.
Adding Announcements
You can add announcements directly in-game using the /kaa add command.
- Type:
chat, actionbar, or title.
Examples:
-
Chat:
/kaa add chat &aThis is a new chat message!
-
Action Bar:
/kaa add actionbar &bCheck out our new store!
-
Title:
/kaa add title &6Big News! | &eWe have a new event!
(The pipe | character separates the title from the subtitle.)
After adding a new message, you must run /kaa reload to apply the changes.
Support
If you encounter any issues or have any questions, please open an issue on the GitHub repository.
评论 0
登录后参与评分
还没有评论,来抢沙发吧