NameGuard
一款用于屏蔽昵称并为特权账户添加额外检查的插件。
- 支持 Paper 和 BungeeCord
- 便捷的声明式配置
- 支持按 IP、子网或虚拟主机进行检查
- 支持通过精确匹配或正则表达式屏蔽昵称
- 使用单一命令重载:
/nameguard reload
白名单
所有访问规则均在 access-groups.yml 文件中以声明式方式描述。
# 组名称。可以是任意内容,如果启用了日志记录,将在日志中显示
group:
# 如果禁用,该组将被忽略
enabled: false
# 为失败的登录尝试启用日志记录
log-to-console: true
# 支持 MiniMessage
kick-message: "<red>Access denied"
# 访问规则
access-rules:
- "vhost:access.myserver.com"
- "ip:192.168.1.120"
- "subnet:127.0.0.1/24"
match:
# 如果启用,任何玩家都将针对此组进行检查
everything: false
# 如果昵称在此列表中,玩家将针对此组进行检查
nicknames:
- owner
- helper
# 如果昵称匹配列表中的至少一个正则表达式模式,
# 玩家将针对此组进行检查
patterns:
- "b[a4]d_?w[o0]rd"
如果玩家被某个组检查且未通过任何访问规则,
则拒绝其加入尝试并发送 kick-message 消息;如果启用了 log-to-console,
则会在控制台记录相应消息。
如果玩家被某个组检查并通过至少一项访问规则, 则该玩家允许加入,并且跳过所有后续检查。
组的检查顺序由它们在文件中的排列顺序决定。
NameGuard
A plugin for blocking nicknames and adding additional checks for privileged accounts.
- Supports Paper and BungeeCord
- Convenient declarative configuration
- Checks by IP, subnet, or virtual host
- Nickname blocking by exact match or regex pattern
- Reload with a single command:
/nameguard reload
Whitelist
All access rules are described declaratively in the access-groups.yml file.
# Group name. Can be anything and will be shown in logs if logging is enabled
group:
# If disabled, the group will be ignored
enabled: false
# Enable logging for failed join attempts
log-to-console: true
# MiniMessage supported
kick-message: "<red>Access denied"
# Access rules
access-rules:
- "vhost:access.myserver.com"
- "ip:192.168.1.120"
- "subnet:127.0.0.1/24"
match:
# If enabled, any player will be checked against this group
everything: false
# If the nickname is in this list, the player will be checked against this group
nicknames:
- owner
- helper
# If the nickname matches at least one regex pattern from the list,
# the player will be checked against this group
patterns:
- "b[a4]d_?w[o0]rd"
If a player is checked by a group and does not pass any access rule,
the join attempt is denied with the kick-message, and a corresponding
message is logged to the console if log-to-console is enabled.
If a player is checked by a group and passes at least one access rule, the player is allowed to join, and all further checks are skipped.
The order in which groups are checked is determined by their order in the file.
下载 NameGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NameGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NameGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NameGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NameGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NameGuard
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
破坏性配置更改
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧