BungeeBan 是首个专为 BungeeCord 设计的跨服封禁插件,它允许管理员在 BungeeCord 网络层面执行本地或全局的玩家/IP封禁、临时封禁及解封操作,并提供灵活的权限与消息配置。
如果权限不生效,请务必在 BungeeCord 的 bungee.yml 配置文件中添加相应的权限节点。
命令格式说明:<必填参数> [可选参数]
/ban <玩家名> [服务器] [理由] - 将玩家从你所在的服务器永久封禁。/banip <玩家名/IP地址> [服务器] [理由] - 将IP从你所在的服务器永久封禁。/tempban <玩家名> <时长> [服务器] [理由] - 将玩家从你所在的服务器临时封禁指定时长。/tempbanip <玩家名/IP地址> <时长> [服务器] [理由] - 将IP从你所在的服务器临时封禁指定时长。/unban <玩家名> [服务器] - 将玩家从你所在的服务器解封。/unbanip <IP地址> [服务器] - 将IP从你所在的服务器解封。/gban <玩家名> [理由] - 将玩家从所有服务器永久封禁。/gbanip <玩家名/IP地址> [理由] - 将IP从所有服务器永久封禁。/gtempban <玩家名> <时长> [理由] - 将玩家从所有服务器临时封禁指定时长。/gtempbanip <玩家名/IP地址> <时长> [理由] - 将IP从所有服务器临时封禁指定时长。/gunban <玩家名> - 全局解封玩家。/gunbanip <IP地址> - 全局解封IP。/reloadbans - 重新加载封禁列表文件。/banlist [服务器|global|all] [页码] - 查看封禁列表。/lookup <用户名> [服务器|global|all] [页码] - 查询玩家封禁记录。/migrate <mysql|file> - 在 MySQL 和文件存储之间迁移数据。说明:<服务器名> 可以是具体服务器名称,或使用 * 代表所有服务器。
bans.superadmin - 拥有所有权限。bans.command.reloadbans - 允许使用 /reloadbans。bans.command.migrate - 允许使用 /migrate。bans.command.banlist - 允许使用 /banlist。bans.command.lookup - 允许使用 /lookup。bans.exempt - 使玩家自身免于被封禁。bans.admin.<服务器名> - 拥有指定服务器的所有本地封禁命令权限。bans.command.ban.<服务器名>bans.command.banip.<服务器名>bans.command.tempban.<服务器名>bans.command.tempbanip.<服务器名>bans.command.unban.<服务器名>bans.command.unbanip.<服务器名>bans.globaladmin - 拥有所有全局封禁命令权限。bans.command.gbanbans.command.gbanipbans.command.gtempbanbans.command.gtempbanipbans.command.gunbanbans.command.gunbanipbans.player - 拥有以下所有查看权限。bans.see.ban - 当有人被封禁时看到消息。bans.see.gbanbans.see.mutebans.see.gmutebans.see.tempbanbans.see.gtempban# 存储类型:file 表示使用 .txt 文件存储,mysql 表示使用 MySQL 数据库。
storagetype: file
# 仅当 storagetype 为 mysql 时需要配置
database:
address: localhost
port: 3306
name: minecraft
username: bungeetest
password: test123
# 默认的封禁理由和临时封禁时长(当操作者未提供时使用)
defaults:
banreason: Banned by an operator.
gbanreason: Banned by an operator.
tempbanreason: Banned by an operator until %until%.
gtempbanreason: Banned by an operator until %until%.
tempbantime: 1d
# 封禁发生时发送的消息
message:
# 如果在 server1 执行 /ban,是否要通知 server2 的玩家?
sendLocalMsgGlobally: true
ban: '&3%source% banned %banned% from %server% for %reason%'
banip: '%source% banned %banned% from %server% for %reason%'
gban: '%source% global banned %banned% for %reason%'
gbanip: '%source% global banned %banned% for %reason%'
unban: '%banned% got unbanned from %server%!'
unbanip: '%banned% got banned from %server%!'
gunban: '%banned% got unbanned globally!'
gunbanip: '%banned% got unbanned globally!'
tempban: '%source% tempbanned %banned% from %server% until %until% for %reason%'
tempbanip: '%source% tempbanned %banned% from %server% until %until% for %reason%'
gtempban: '%source% global tempbanned %banned% until %until% for %reason%'
gtempbanip: '%source% global tempbanned %banned% until %until% for %reason%'/reloadbans 命令、修复临时封禁不过期问题、修复命令参数计数错误、使封禁/踢出不区分大小写。/mute <玩家名> <时长> <理由> [服务器] - 禁言玩家。/gmute <玩家名> <时长> <理由> - 全局禁言玩家。/unmute <玩家名> [服务器] - 解除禁言。/gunmute <玩家名> - 全局解除禁言。---
捐赠: 好的插件需要咖啡因支持!欢迎将捐赠发送至 [email protected],非常感谢!
友情链接: 网易我的世界 | 泰拉瑞亚 | ocent云计算 | 米饭Minecraft插件文档 | 友链合作
历史访问人次:3,030,666 | 今日访问人次:14,794 | 昨日访问人次:11,147
独立 IP:5,118 | 最近24小时独立访客:6,889
Copyright © 2019-2026 我的世界服务器列表站. All rights reserved.
❤ Powered by GermMC 京ICP备17023959号-6