公告插件 - 完整描述
概述
Announcement 是一款简单却功能强大的 Minecraft 插件,专为运行 Minecraft 1.21.x(包括 1.21.10)的 Spigot 和 Paper 服务器设计。该插件允许服务器管理员和授权玩家将重要消息以引人注目的标题形式直接广播到所有在线玩家的屏幕上。
本插件的独特之处
与容易在繁忙的服务器聊天中被忽略的基于聊天的公告系统不同,此插件将消息作为 粗体标题 显示在每个玩家屏幕的中央,确保最大程度的可见性和注意力。公告标题使用独特的小大写 Unicode 字体(ᴀɴɴᴏᴜɴᴄᴇᴍᴇɴᴛ),视觉效果非常突出。
主要功能
多种命令别名
该插件提供了灵活性,支持 4 种不同的命令别名,均执行相同的功能:
/announcements <message>
/announce <message>
/brodcast <message>(故意的替代拼写)
/broadcast <message>
选择你觉得最自然的一种即可!
完整的 Minecraft 颜色代码支持
利用 Minecraft 的颜色和格式代码让你的公告在视觉上令人惊艳:
可用颜色:
&0 - 黑色
&1 - 深蓝色
&2 - 深绿色
&3 - 深青色
&4 - 深红色
&5 - 深紫色
&6 - 金色
&7 - 灰色
&8 - 深灰色
&9 - 蓝色
&a - 绿色
&b - 青色
&c - 红色
&d - 浅紫色
&e - 黄色
&f - 白色
格式选项:
&l - 粗体
&m - 删除线
&n - 下划线
&o - 斜体
&r - 重置(移除所有格式)
视觉显示
当你发送公告时,所有在线玩家会看到:
- 标题: ᴀɴɴᴏᴜɴᴄᴇᴍᴇɴᴛ(以金色粗体显示)
- 副标题: 应用了颜色代码的自定义消息
- 持续时间: 标题会在屏幕上停留数秒,确保被看到
权限系统
该插件使用简单的基于权限的系统:
- 权限节点:
announcement.use
- 默认设置: 授予服务器操作员(OP)
- 可通过你的权限插件(LuckPerms、PermissionsEx 等)进行自定义
使用示例
基本公告
/announcements Welcome to our server!
彩色文本
/announce &cImportant: &eServer restart in 5 minutes!
这将显示“Important:”为红色,“Server restart in 5 minutes!”为黄色。
粗体与彩色
/broadcast &l&6DOUBLE XP WEEKEND STARTS NOW!
这将显示粗体金色文本的消息。
多种颜色
/announcements &aEvent starting! &bHead to spawn &enow!
创建混合了绿色、青色和黄色的多色公告。
完美适用场景
- 服务器活动: 宣布活动开始、结束或重要里程碑的发生
- 服务器重启: 警告玩家即将到来的重启或维护
- 规则提醒: 显示重要的服务器规则或提醒
- 庆祝活动: 宣布生日、里程碑或特殊场合
- 紧急情况: 需要立即引起玩家注意的快速警报
- 促销活动: 广告销售、商店更新或特别优惠
- 欢迎信息: 向新加入服务器的玩家致意
- 竞赛: 宣布竞赛获胜者或新比赛
技术规格
- 平台: Spigot / Paper
- Minecraft 版本: 1.21.x - 26.3(已在 1.21.10 上测试)
- API 版本: 1.21
- Java 版本: Java 8+
- 依赖项: 无(独立插件)
- 文件大小: ~4 KB(极其轻量级)
安装
- 下载
announcement-1.0.0.jar 文件
- 将其放入服务器的
plugins 文件夹中
- 重启服务器(如果必须的话,也可以使用
/reload)
- 插件立即可用!
配置
此插件 无需配置文件。它开箱即用,具有合理的默认值。只需安装并开始使用即可!
权限设置
如果你想将公告权限授予特定玩家或组,请使用你的权限插件:
LuckPerms 示例:
/lp group moderator permission set announcement.use true
PermissionsEx 示例:
/pex group moderator add announcement.use
兼容性
- ✅ Spigot 1.21.x
- ✅ Paper 1.21.x
- ✅ Purpur 1.21.x
- ✅ 所有运行 1.21.x 的基于 Spigot 的服务器软件
支持与反馈
此插件的设计初衷是简洁可靠。它具有:
- 无需数据库要求
- 无需管理配置文件
- 无外部依赖
- 极低的资源占用
非常适合任何规模的服务器,从小型私人服务器到大型公共网络!
作者
创建者:YourSenior
Announcement Plugin - Full Description
Overview
Announcement is a simple yet powerful Minecraft plugin designed for Spigot and Paper servers running Minecraft 1.21.x (including 1.21.10). This plugin allows server administrators and authorized players to broadcast important messages directly to all online players' screens in the form of eye-catching titles.
What Makes This Plugin Special
Unlike chat-based announcement systems that can be easily missed in busy server chats, this plugin displays messages as bold titles in the center of every player's screen, ensuring maximum visibility and attention. The announcement title uses a unique small caps Unicode font (ᴀɴɴᴏᴜɴᴄᴇᴍᴇɴᴛ) that stands out beautifully.
Key Features
Multiple Command Aliases
The plugin offers flexibility with 4 different command aliases, all performing the same function:
/announcements <message>
/announce <message>
/brodcast <message> (intentional alternative spelling)
/broadcast <message>
Use whichever feels most natural to you!
Full Minecraft Color Code Support
Make your announcements visually stunning with Minecraft's color and formatting codes:
Available Colors:
&0 - Black
&1 - Dark Blue
&2 - Dark Green
&3 - Dark Aqua
&4 - Dark Red
&5 - Dark Purple
&6 - Gold
&7 - Gray
&8 - Dark Gray
&9 - Blue
&a - Green
&b - Aqua
&c - Red
&d - Light Purple
&e - Yellow
&f - White
Formatting Options:
&l - Bold
&m - Strikethrough
&n - Underline
&o - Italic
&r - Reset (removes all formatting)
Visual Display
When you send an announcement, all online players see:
- Title: ᴀɴɴᴏᴜɴᴄᴇᴍᴇɴᴛ (displayed in gold and bold)
- Subtitle: Your custom message with color codes applied
- Duration: The title stays on screen for several seconds, ensuring it's seen
Permission System
The plugin uses a simple permission-based system:
- Permission:
announcement.use
- Default: Granted to server operators (OP)
- Can be customized through your permission plugin (LuckPerms, PermissionsEx, etc.)
Usage Examples
Basic Announcement
/announcements Welcome to our server!
Colored Text
/announce &cImportant: &eServer restart in 5 minutes!
This displays "Important:" in red and "Server restart in 5 minutes!" in yellow.
Bold and Colored
/broadcast &l&6DOUBLE XP WEEKEND STARTS NOW!
This displays the message in bold, gold text.
Multiple Colors
/announcements &aEvent starting! &bHead to spawn &enow!
Creates a multi-colored announcement mixing green, aqua, and yellow.
Perfect Use Cases
- Server Events: Announce when events start, end, or important milestones occur
- Server Restarts: Warn players about upcoming restarts or maintenance
- Rule Reminders: Display important server rules or reminders
- Celebrations: Announce birthdays, milestones, or special occasions
- Emergencies: Quick alerts that need immediate player attention
- Promotions: Advertise sales, store updates, or special offers
- Welcome Messages: Greet new players joining the server
- Contests: Announce contest winners or new competitions
Technical Specifications
- Platform: Spigot / Paper
- Minecraft Version: 1.21.x - 26.3 (tested on 1.21.10)
- API Version: 1.21
- Java Version: Java 8+
- Dependencies: None (standalone plugin)
- File Size: ~4 KB (extremely lightweight)
Installation
- Download the
announcement-1.0.0.jar file
- Place it in your server's
plugins folder
- Restart your server (or use
/reload if you must)
- The plugin is ready to use immediately!
Configuration
This plugin requires no configuration files. It works out of the box with sensible defaults. Simply install and start using it!
Permissions Setup
If you want to give announcement permissions to specific players or groups, use your permission plugin:
Example with LuckPerms:
/lp group moderator permission set announcement.use true
Example with PermissionsEx:
/pex group moderator add announcement.use
Compatibility
- ✅ Spigot 1.21.x
- ✅ Paper 1.21.x
- ✅ Purpur 1.21.x
- ✅ All Spigot-based server software running 1.21.x
Support & Feedback
This plugin was created with simplicity and reliability in mind. It has:
- No database requirements
- No configuration files to manage
- No external dependencies
- Minimal resource usage
Perfect for servers of any size, from small private servers to large public networks!
Author
Created by: YourSenior
评论 0
登录后参与评分
还没有评论,来抢沙发吧