SimpleAnnounce
轻松创建定时公告/新闻消息。
你可以设置在一定延迟后向全服打印消息,并可选择每隔 x 秒重复发送。如果你希望仅向拥有特定权限或缺乏特定权限的用户发送,也可以精确配置目标受众。
功能特性
- 定时全服公告/新闻消息
- 易于配置
- 支持配置一次性或重复性消息
- 可配置消息仅发送给拥有或不拥有特定权限节点的用户
- 首次运行时自动生成配置文件
- 可选调试模式,用于追踪谁收到/未收到消息以及原因
- 可选自动重载配置以获取新消息
- 使用 '/simpleannounce reload' 命令手动重载!
- 权限要求:
- simpleannounce:用于查看 '/simpleannounce' 帮助信息
- simpleannounce.reload:用于执行 '/simpleannounce reload' 或 '/simpleannounce r'
- 权限要求:
配置概览
详情
配置节点
auto-reloadconfig(int): <检查/重载配置以更新消息的时间间隔(分钟),设为0表示关闭> 注意: 当配置被重载时,将重置消息的延迟时间,并导致一次性消息重新发送 debug-mode(boolean): <是否将调试信息打印到 server.log(true/false)?> 注意: 请在 server.log 中查找 fine 和 finer 级别的日志消息 messages: 在此下方添加消息,详见下文
消息配置概览
<消息标签>(String, 必填): message: <要发送的消息内容>(String, 必填) delay: <发送消息前的延迟时间(秒)>(int, 可选 - 默认值 0) repeat: <重复发送的时间间隔(秒)>(int, 可选) includesperms: (字符串列表, 可选) - <仅发送给拥有此权限的用户> - <以及此权限> excludesperms: (字符串列表, 可选) - <不要发送给拥有此权限的用户> - <以及此权限>
默认/示例配置
auto-reloadconfig: 20 debug-mode: false messages: default1: message: 重复消息! delay: 15 repeat: 60 default2: message: 针对拥有 build 权限用户的重复消息 delay: 30 repeat: 60 includesperms: - permissions.build default3: message: 一次性消息! delay: 45
项目 & 源码
请参阅我们的 项目页面 以获取活动动态和源码说明。
SimpleAnnounce
Create timed announcements/news messages with ease with SimpleAnnounce
You can create messages that are printed server-wide after a certain delay, and have it repeat every x seconds if you'd like. If you wish to send it only to users with certain permissions, or a lack of certain permissions, so it sends to exactly those whom you wish the message to send to.
Features
- Timed server-wide announcements/news messages
- Easily configurable
- Configure one-time or repeating messages
- Configure messages to only send to users with or without certain permission nodes
- Config auto-generation on first-run
- Optional debug mode to track down who is/isn't receiving messages and why
- Optional automatic config reloading to retrieve new messages
- '/simpleannounce reload' to reload on command!
- Permissions:
- simpleannounce to use '/simpleannounce' for help
- simpleannounce.reload to use '/simpleannounce reload' or '/simpleannounce r'
- Permissions:
Configuration Overview
Details
Config Nodes
auto-reloadconfig(int): <Time in minutes to check/reload config for message updates(0 for off)> NOTE: When config is reloaded, will reset delays for messages and cause one-time messages to resend debug-mode(boolean): <Should we pring debug to server.log(true/false)?> NOTE: Look for fine and finer level log messages in server.log messages: Add messages below this, see below
Messages config overview
<message label>(String, req.): message: <Message to send>(String, req.) delay: <Delay to send message on in secs>(int, optnl - default 0) repeat: <time between repeat sends in secs>(int, optnl) includesperms: (String list, optnl) - <only send to those with this perm> - <and this one> excludesperms: (String list, optional) - <don't send to those with this perm> - <and this one>
Default/Example config
auto-reloadconfig: 20 debug-mode: false messages: default1: message: Repeating message! delay: 15 repeat: 60 default2: message: Repeating message for those w/ build perm delay: 30 repeat: 60 includesperms: - permissions.build default3: message: One-time message! delay: 45
Project & Source
See our project page for activity and source instructions.
下载 SimpleAnnounce
下载 SimpleAnnounce
下载 SimpleAnnounce
下载 SimpleAnnounce
下载 SimpleAnnounce
下载 SimpleAnnounce
下载 SimpleAnnounce
下载 SimpleAnnounce
下载 SimpleAnnounce
下载 SimpleAnnounce
修复了已弃用的调度器调用
仅在有玩家在线时进行广播
对 Message 类进行了小幅修改
使用 Privileges 在 1.5.1 版本中测试通过
版本号提升至 0.6.0
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧