1.1.0 版本更新内容:
- 配置格式切换为 YAML(
config.yml),便于编辑且更具灵活性 - 配置自动更新:插件更新后,你的
config.yml会自动与最新默认配置合并。新增选项会被添加,你的原有值会被保留,且布局(包括注释)始终与最新默认配置保持一致。 - 所有消息(包括
/sctoggle的开关提示消息)现在均可通过 config.yml 完全自定义配置并支持翻译。 - 在所有可配置的消息中(前缀、格式、开关提示等)增加了对
<#RRGGBB>十六进制颜色代码、&代码和§代码的支持 - Discord 集成:员工聊天现在可以关联到一个 Discord 频道(双向同步)
- Minecraft 中的 Discord 消息会明确标记为
[STAFF][D],并支持格式化显示 - 修复:Discord 消息现在能够在 Minecraft 中可靠地显示(需要开启 Discord MESSAGE_CONTENT 意图)
- 大量内部代码清理和错误修复
1.0.0 版本更新内容:
- 员工聊天命令:
/sc <message> - 多个别名:
/staffchat、/s、/a - 基于权限的访问控制(默认为
staffchat.use,可自定义配置) - 支持自定义前缀和消息格式,并支持颜色代码(
&代码) - 配置文件(
config.properties),便于轻松自定义 - 开关命令
/sctoggle,用于启用或禁用接收员工聊天消息 - 控制台记录所有员工聊天消息
命令:
- /sc <message> - 向员工聊天发送一条消息
- /staffchat <message> - /sc 的别名
- /s <message> - /sc 的别名
- /a <message> - /sc 的别名
- /sctoggle - 启用或禁用接收员工聊天消息
权限: staffchat.use - 允许玩家使用并查看员工聊天
使用方法:
- 输入
/sc <message>向所有在线的员工成员发送消息 - 使用
/sctoggle来静音或取消静音你自己的员工聊天消息
如果你有问题、建议或需要帮助,欢迎随时在 Discord 上联系我。
What's New in Version 1.1.0:
- Switched configuration to YAML (
config.yml) for easier editing and more flexibility - Config auto-update: After plugin updates, your config.yml is automatically merged with the latest default config. New options are added, your values are preserved, and the layout (including comments) always matches the latest default.
- All messages (including toggle messages for /sctoggle) are now fully configurable and translatable via config.yml.
- Added support for <#RRGGBB> hex colors, &-codes, and §-codes in all configurable messages (prefix, format, toggle, etc.)
- Discord integration: Staff chat can now be linked with a Discord channel (bi-directional)
- Discord messages in Minecraft are clearly marked as
[STAFF][D]and support formatting - Fixed: Discord messages are now reliably shown in Minecraft (requires Discord MESSAGE_CONTENT intent)
- Many internal code cleanups and bugfixes
What's New in Version 1.0.0:
- Staff chat command:
/sc <message> - Multiple aliases:
/staffchat,/s,/a - Permission-based access (
staffchat.useby default, configurable) - Customizable prefix and message format with color code support (
&codes) - Configuration file (
config.properties) for easy customization - Toggle command
/sctoggleto enable or disable receiving staff chat messages - Console logging of all staff chat messages
Commands:
- /sc <message> - Send a message to staff chat
- /staffchat <message> - Alias for /sc
- /s <message> - Alias for /sc
- /a <message> - Alias for /sc
- /sctoggle - Enable or disable receiving staff chat messages
Permissions: staffchat.use - Allows the player to use and see staff chat
How to Use:
- Type
/sc <message>to send a message to all online staff members - Use
/sctoggleto mute or unmute staff chat messages for yourself
If you have questions, suggestions, or need help, feel free to contact me on Discord.
下载 StaffChat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 StaffChat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 StaffChat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 StaffChat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 StaffChat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 StaffChat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 StaffChat
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 在
format和discord_format中添加了{server}占位符:在每个员工聊天消息中显示发送者当前所在的服务器 - 在 Minecraft 中,
{server}中的服务器名称可点击——点击后会运行/server <name>直接加入该服务器,并带有悬停提示框 show_server_in_minecraft和show_server_in_discord可在config.yml中独立切换
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧