JoinFailNotifier

插件

· 作者 koirdsuzu

当玩家无法加入服务器时,向 OP 发送通知的插件。

0 本站下载 0 关注 更新于 1 年前

最新 1.0 · 1.21.5 · Bukkit / Paper

一键开服(送7天)

✅ 更新日志(Release Notes)

?? 日文版

JoinFailNotifier v1.0 更新日志

此插件用于向 OP 玩家通知其他玩家无法加入服务器的原因。 自动检测如未加入白名单、版本不匹配等原因,并以清晰的形式进行通知。


✨ 主要功能

  • 加入失败检测与通知 当玩家被拒绝连接服务器时,会向其在线的 OP 玩家发送包含该玩家名称和原因的聊天通知。

  • 原因自定义 可在 config.yml 的 kick_reasons 部分中,将 Bukkit 的登录拒绝原因映射为显示名称。

  • 通知消息编辑 可以自由定制包含 {player} 和 {reason} 占位符的通知消息。

  • 管理命令 使用 /joinfailnotifier reload 重载配置。 使用 /joinfailnotifier help 查看使用说明。


? config.yml 示例

kick_reasons:
  WHITELIST: "未加入白名单"
  BANNED: "已被封禁"
  VERSION: "版本不匹配"
message_format: "&c[警告] &e{player} &c无法加入服务器: {reason}"

messages:
  help_message: "&e用法: /joinfailnotifier <reload/help>"
  reload_success: "&a已重载配置。"
  invalid_command: "&c无效命令。请使用 /joinfailnotifier help。"

?? 英文版

JoinFailNotifier v1.0 Release Notes

This plugin notifies online OPs when a player fails to join the server. It captures reasons such as whitelist exclusion or version mismatch and displays a clear message in chat.


✨ Features

  • Join Failure Detection When a player is denied login, their name and reason are broadcast to all online OPs.

  • Custom Reason Mapping Customize kick reasons in config.yml under kick_reasons, mapping Bukkit reasons to friendly messages.

  • Customizable Messages Modify the notification message freely using {player} and {reason} placeholders.

  • Admin Commands

    • /joinfailnotifier reload: Reloads the configuration.
    • /joinfailnotifier help: Shows usage instructions.

? Example config.yml

kick_reasons:
  WHITELIST: "Not whitelisted"
  BANNED: "Banned from the server"
  VERSION: "Version mismatch"
message_format: "&c[Alert] &e{player} &ccould not join the server: {reason}"

messages:
  help_message: "&eUsage: /joinfailnotifier <reload/help>"
  reload_success: "&aConfiguration reloaded."
  invalid_command: "&cInvalid command. Use /joinfailnotifier help."

? Description(适用于 Modrinth)

?? 日文

这是一个简单的插件,用于在玩家无法加入服务器时通过聊天通知 OP 玩家。 可根据拒绝原因(如未加入白名单或版本不匹配等)自定义显示内容。 支持使用 /joinfailnotifier reload 命令重载配置。


?? English

A simple plugin that notifies OPs when a player fails to join the server. Whitelist issues, bans, and version mismatches are detected and displayed in customizable messages. Supports /joinfailnotifier reload for configuration reload.


你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源