• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

Examine individual changes

Abuse Filter navigation (Home | Recent filter changes | Examine past edits | Abuse log)
Jump to: navigation, search

This page allows you to examine the variables generated by the Abuse Filter for an individual change, and test it against filters.

Variables generated for this change

VariableValue
Whether or not the edit is marked as minor (minor_edit)
Name of the user account (user_name)
SkipM4
Groups (including implicit) the user is in (user_groups)
* user
Page ID (article_articleid)
7711
Page namespace (article_namespace)
0
Page title (without namespace) (article_text)
AdvancedBan
Full page title (article_prefixedtext)
AdvancedBan
Last ten users to contribute to the page (article_recent_contributors)
SkipM4 Mr baipiao
Action (action)
edit
Edit summary/reason (summary)
/* Config.yml */ 翻译完成
Old content model (old_content_model)
wikitext
New content model (new_content_model)
wikitext
Old page wikitext, before the edit (old_wikitext)
{{Plugin |version=V2.3.0 |URL=https://www.spigotmc.org/resources/advancedban.8695/ }} == 综述 == === 介绍 === *AdvancedBan 是一个集合了警告、临时警告、禁言、临时禁言、封禁、临时封禁、IP封禁、临时IP封禁 和踢出功能的多合一惩罚系统。 *本插件提供玩家历史以供查阅玩家的被惩罚记录,同时本插件有可配置的时间&消息布局以实现根据特定原因自动计算和增加惩罚时间的操作。 *AdvancedBan 还提供了一个完整的消息文件,因此您可以更改和翻译所有消息和一个包含许多有用设置的详细配置文件。 *AdvancedBan 支持在 BungeeCord 和 Bukkit/Spigot 上运行,同时它支持 MySQL 和本地嵌入式数据库以提供高性能。 本插件由 [http://skamps.eu/ Leoko]开发 ==指令== [需要] <可选> | = 或 -s = 静默惩罚(不通知他人) /kick <-s> [玩家] <原因 | @布局> 踢一名玩家 /ban /mute /warn /note <-s> [玩家] <原因 | @布局> 禁止/禁言/警告玩家/向玩家添加原因 /banip <-s> [玩家/IP] <原因 | @布局> 禁止玩家的IP。 如果您输入名称,它将使用缓存的 IP /tempban /tempmute /tempwarn <-s> [玩家] [Xmo|Xd|Xh|Xm|Xs|#TIMELAYOUT] <原因 | @布局> 临时禁止/静音/警告玩家给定时间或自动时间计算的时间布局 /tempipban <-s> [玩家/IP] [Xmo|Xd|Xh|Xm|Xs|#TIMELAYOUT] <原因 | @布局> 临时IPban 一个给定时间或具有自动时间计算的时间布局的玩家 别名:/tipban /change-reason [ID] [新原因] 通过id更改处罚原因 /change-reason [禁令/禁言] [玩家] [新理由] 更改玩家处罚的原因 /unban /unmute [玩家] 解禁令/解禁言玩家 /unwarn /unnote [ID] 删除警告/删除注释 /unwarn /unnote clear [玩家] 删除玩家的所有警告/注释 /unpunish [ID] 删除惩罚 /warns /notes <玩家> 查看您自己或玩家的警告/注意事项。 /check [玩家] 获取玩家状态:UUID/IP/Country/Ban-Status/Mute-Status/Warn-Count/Note-Count /banlist <页面> 查看所有当前有效的惩罚 /history [玩家] <页面> 查看所有当前有效的惩罚 使用命令 - ab.history /advancedban reload 重载插件 /advancedban help 显示advancedban的帮助 /systemprefs 显示一些对配置有用的系统信息 ==权限== ab.kick.use - /kick 踢出玩家 ab.kick.exempt - Immune to kicking 免疫被踢 ab.notify.kick - Receives notification 接收kick通知 ab.ban.perma - /ban 封禁 ab.ban.temp - /tempban 临时封禁 ab.ban.undo - /unban 解除封禁 ab.ban.exempt - Immune to ban 免疫封禁 ab.notify.ban - Receives notification 接收封禁通知 ab.undoNotify.ban - Receives notification when someone gets unbanned 当有人被解禁时收到通知 ab.notify.tempban - Receives notification 接收临时禁令通知 ab.ipban.perma - /ipban IP封禁 ab.ipban.temp - /tempipban 临时IP封禁 ab.notify.ipban - Receives notification 接收临时IP封禁通知 ab.tempipban.exempt - Immune to tempipban 对临时IP封禁免疫 ab.notify.tempipban - Receives notification 接收临时IP封禁通知 ab.mute.perma - /mute 禁言 ab.mute.temp - /tempmute 临时禁言 ab.mute.undo - /unmute 解除禁言 ab.mute.exempt - Immune to mute 免疫禁言 ab.notify.mute - Receives notification 接收禁言通知 ab.undoNotify.mute - Receives notification when someone gets unmuted 当有人取消禁言时收到通知 ab.notify.tempmute - Receives notification 接收临时禁言通知 ab.warn.perma - /warn 警告 ab.warn.temp - /tempwarn 临时警告 ab.warn.undo - /unwarn 解除警告 ab.warn.exempt - Immune to warn 免疫警告 ab.notify.warn - Receives notification 接收警告通知 ab.undoNotify.warn - Receives notification when someone gets unwarned 当没有人被警告是通知 ab.notify.tempwarn - Receives notification 接收临时警告通知 ab.note.use - /note ab.note.undo - /unnote ab.note.exempt - Immune to receiving notes ab.notify.note - Receives notification ab.undoNotify.note - Receives notification when someone gets unnoted ab.all.undo - /unpunish ab.warns.own - /warns ab.warns.other - /warns PLAYER ab.notes.own - /notes ab.notes.other - /notes PLAYER ab.check - /check ab.check.ip - Also shows IP ab.changeReason - /change-reason ab.banlist - /banlist ab.history - /history ab.reload - /advancedban reload ab.help - /advancedban help ab.systemprefs - /systemprefs ====Config.yml==== <syntaxhighlight lang="yaml"> # AdvancedBan v2 - 由 Leoko 编写 # 每项设置都有一段描述说明. # 在更改任何字段前请认真阅读每段描述. # 了解更多?请访问: https://www.spigotmc.org/resources/advancedban.8695/ # 需要定制插件或网站?访问我们的开发页面: http://dev.skamps.eu # 如果设置为 false 所有封禁都会被本地存储在一个HSQLDB数据库内 UseMySQL: false # 如果你只想在服务器后台看到简短的插件启用/禁用信息,请设置为 false DetailedEnableMessage: true DetailedDisableMessage: true # 如果没有指定,那么这就是执行操作时的默认惩罚原因 DefaultReason: "none" # 如果服务器时间与玩家不同,可以更改此项以调整 # 如 服务器时间: 16:43 | 你的时间: 13:43 | TimeDiff值应改为 -3 # 你可以使用 /systemPrefs 指令来查看服务器时间 TimeDiff: 0 # 这些指令会对被禁言的玩家显示 # 被禁言的玩家无法使用类似 /minecraft:me 等指令来绕过禁言发出消息 MuteCommands: - 'me' - 'say' - 'action' - 'eaction' - 'describe' - 'edescribe' - 'eme' - 'w' - 'm' - 'pm' - 'whisper' - 'ewhisper' - 'emsg' - 'msg' - 'etell' - 'tell' - 'er' - 'r' - 'reply' - 'ereply' - 'ac' - 'eac' - 'amsg' - 'eamsg' - 'ehelpop' # 惩罚操作不会对这些玩家生效(包括离线玩家) ExemptPlayers: - 'Leoko' - 'md5' - 'dutchy1001' - 'ItzSomebody' # 调用 %DATE% 变量时使用的日期格式 DateFormat: "dd.MM.yyyy-HH:mm" # 此选项对 bungeecord 或不支持 *-泛权限的服务器很有用 # 设置为 true 后你可以使用 ab.all 权限节点以替代 ab.* 或 ab.ban.all 替代 ab.ban.* # 此项对负权限无效! 如 -ab.all 并不能禁止用户使用ab权限 EnableAllPermissionNodes: false # 如果你在使用外部 REST-API 那么他们会以 JSON 形式回应 # 以下 API 只对 NAME -> UUID 有效 # 而 UUID -> NAME 会调用官方 MojangAPI 或 InternFetcher # 想知道是否可以使用 intern fetcher 请执行 /systemPerfs 指令并将你的 UUID 与 https://namemc.com 上的 UUID 对比 # 如果值相同,我们建议你使用 InternFetcher UUID-Fetcher: # If dynamic it set to true it will override the 'enabled' and 'intern' settings # and automatically detect the best possible uuid fetcher settings for your server. # Our recommendation: don't set dynamic to false if you don't have any problems. Dynamic: true Enabled: true Intern: false REST-API: URL: "https://api.mojang.com/users/profiles/minecraft/%NAME%?at=%TIMESTAMP%" Key: "id" BackUp-API: URL: "https://us.mc-api.net/v3/uuid/%NAME%" Key: "uuid" # These are the commands that will be performed on warns # If you skip a number the command from before will be performed # You can also use non-AdvancedBan-Commands like 'broadcast' or 'clear %PLAYER% # Variables: %PLAYER%, %REASON%, %COUNT% WarnActions: 3: "kick %PLAYER% &c&oYou have received your 3rd warning!" 4: "tempban %PLAYER% 30m &c&oYou have received your 4th warning!" 5: "tempban %PLAYER% 5h &c&oYou have received your 5th warning!" 6: "tempban %PLAYER% 7d &c&oYou have received your 6th warning!" 7: "tempban %PLAYER% 1mo &c&oYou have received your %COUNT%th warning!" 10: "ban %PLAYER% &c&oYou have received your 10th warning!" # Here you can create permission-nodes for max-punishment-duration. # The permission "ab.tempban.dur.1" would allow the player to ban max. for 600sec = 10min # The permission "ab.tempwarn.dur.2" would allow the player to warn max. for 3600sec = 1h # You can only create up to 10 perms. The perms can be overridden with "ab.COMMAND.dur.max" TempPerms: 1: 600 2: 3600 3: 43200 </syntaxhighlight>
New page wikitext, after the edit (new_wikitext)
{{Plugin |version=V2.3.0 |URL=https://www.spigotmc.org/resources/advancedban.8695/ }} == 综述 == === 介绍 === *AdvancedBan 是一个集合了警告、临时警告、禁言、临时禁言、封禁、临时封禁、IP封禁、临时IP封禁 和踢出功能的多合一惩罚系统。 *本插件提供玩家历史以供查阅玩家的被惩罚记录,同时本插件有可配置的时间&消息布局以实现根据特定原因自动计算和增加惩罚时间的操作。 *AdvancedBan 还提供了一个完整的消息文件,因此您可以更改和翻译所有消息和一个包含许多有用设置的详细配置文件。 *AdvancedBan 支持在 BungeeCord 和 Bukkit/Spigot 上运行,同时它支持 MySQL 和本地嵌入式数据库以提供高性能。 本插件由 [http://skamps.eu/ Leoko]开发 ==指令== [需要] <可选> | = 或 -s = 静默惩罚(不通知他人) /kick <-s> [玩家] <原因 | @布局> 踢一名玩家 /ban /mute /warn /note <-s> [玩家] <原因 | @布局> 禁止/禁言/警告玩家/向玩家添加原因 /banip <-s> [玩家/IP] <原因 | @布局> 禁止玩家的IP。 如果您输入名称,它将使用缓存的 IP /tempban /tempmute /tempwarn <-s> [玩家] [Xmo|Xd|Xh|Xm|Xs|#TIMELAYOUT] <原因 | @布局> 临时禁止/静音/警告玩家给定时间或自动时间计算的时间布局 /tempipban <-s> [玩家/IP] [Xmo|Xd|Xh|Xm|Xs|#TIMELAYOUT] <原因 | @布局> 临时IPban 一个给定时间或具有自动时间计算的时间布局的玩家 别名:/tipban /change-reason [ID] [新原因] 通过id更改处罚原因 /change-reason [禁令/禁言] [玩家] [新理由] 更改玩家处罚的原因 /unban /unmute [玩家] 解禁令/解禁言玩家 /unwarn /unnote [ID] 删除警告/删除注释 /unwarn /unnote clear [玩家] 删除玩家的所有警告/注释 /unpunish [ID] 删除惩罚 /warns /notes <玩家> 查看您自己或玩家的警告/注意事项。 /check [玩家] 获取玩家状态:UUID/IP/Country/Ban-Status/Mute-Status/Warn-Count/Note-Count /banlist <页面> 查看所有当前有效的惩罚 /history [玩家] <页面> 查看所有当前有效的惩罚 使用命令 - ab.history /advancedban reload 重载插件 /advancedban help 显示advancedban的帮助 /systemprefs 显示一些对配置有用的系统信息 ==权限== ab.kick.use - /kick 踢出玩家 ab.kick.exempt - Immune to kicking 免疫被踢 ab.notify.kick - Receives notification 接收kick通知 ab.ban.perma - /ban 封禁 ab.ban.temp - /tempban 临时封禁 ab.ban.undo - /unban 解除封禁 ab.ban.exempt - Immune to ban 免疫封禁 ab.notify.ban - Receives notification 接收封禁通知 ab.undoNotify.ban - Receives notification when someone gets unbanned 当有人被解禁时收到通知 ab.notify.tempban - Receives notification 接收临时禁令通知 ab.ipban.perma - /ipban IP封禁 ab.ipban.temp - /tempipban 临时IP封禁 ab.notify.ipban - Receives notification 接收临时IP封禁通知 ab.tempipban.exempt - Immune to tempipban 对临时IP封禁免疫 ab.notify.tempipban - Receives notification 接收临时IP封禁通知 ab.mute.perma - /mute 禁言 ab.mute.temp - /tempmute 临时禁言 ab.mute.undo - /unmute 解除禁言 ab.mute.exempt - Immune to mute 免疫禁言 ab.notify.mute - Receives notification 接收禁言通知 ab.undoNotify.mute - Receives notification when someone gets unmuted 当有人取消禁言时收到通知 ab.notify.tempmute - Receives notification 接收临时禁言通知 ab.warn.perma - /warn 警告 ab.warn.temp - /tempwarn 临时警告 ab.warn.undo - /unwarn 解除警告 ab.warn.exempt - Immune to warn 免疫警告 ab.notify.warn - Receives notification 接收警告通知 ab.undoNotify.warn - Receives notification when someone gets unwarned 当没有人被警告是通知 ab.notify.tempwarn - Receives notification 接收临时警告通知 ab.note.use - /note ab.note.undo - /unnote ab.note.exempt - Immune to receiving notes ab.notify.note - Receives notification ab.undoNotify.note - Receives notification when someone gets unnoted ab.all.undo - /unpunish ab.warns.own - /warns ab.warns.other - /warns PLAYER ab.notes.own - /notes ab.notes.other - /notes PLAYER ab.check - /check ab.check.ip - Also shows IP ab.changeReason - /change-reason ab.banlist - /banlist ab.history - /history ab.reload - /advancedban reload ab.help - /advancedban help ab.systemprefs - /systemprefs ====Config.yml==== <syntaxhighlight lang="yaml"> # AdvancedBan v2 - 由 Leoko 编写 # 每项设置都有一段描述说明. # 在更改任何字段前请认真阅读每段描述. # 了解更多?请访问: https://www.spigotmc.org/resources/advancedban.8695/ # 需要定制插件或网站?访问我们的开发页面: http://dev.skamps.eu # 如果设置为 false 所有封禁都会被本地存储在一个HSQLDB数据库内 UseMySQL: false # 如果你只想在服务器后台看到简短的插件启用/禁用信息,请设置为 false DetailedEnableMessage: true DetailedDisableMessage: true # 如果没有指定,那么这就是执行操作时的默认惩罚原因 DefaultReason: "none" # 如果服务器时间与玩家不同,可以更改此项以调整 # 如 服务器时间: 16:43 | 你的时间: 13:43 | TimeDiff值应改为 -3 # 你可以使用 /systemPrefs 指令来查看服务器时间 TimeDiff: 0 # 这些指令会对被禁言的玩家显示 # 被禁言的玩家无法使用类似 /minecraft:me 等指令来绕过禁言发出消息 MuteCommands: - 'me' - 'say' - 'action' - 'eaction' - 'describe' - 'edescribe' - 'eme' - 'w' - 'm' - 'pm' - 'whisper' - 'ewhisper' - 'emsg' - 'msg' - 'etell' - 'tell' - 'er' - 'r' - 'reply' - 'ereply' - 'ac' - 'eac' - 'amsg' - 'eamsg' - 'ehelpop' # 惩罚操作不会对这些玩家生效(包括离线玩家) ExemptPlayers: - 'Leoko' - 'md5' - 'dutchy1001' - 'ItzSomebody' # 调用 %DATE% 变量时使用的日期格式 DateFormat: "dd.MM.yyyy-HH:mm" # 此选项对 bungeecord 或不支持 *-泛权限的服务器很有用 # 设置为 true 后你可以使用 ab.all 权限节点以替代 ab.* 或 ab.ban.all 替代 ab.ban.* # 此项对负权限无效! 如 -ab.all 并不能禁止用户使用ab权限 EnableAllPermissionNodes: false # 如果你在使用外部 REST-API 那么他们会以 JSON 形式回应 # 以下 API 只对 NAME -> UUID 有效 # 而 UUID -> NAME 会调用官方 MojangAPI 或 InternFetcher # 想知道是否可以使用 intern fetcher 请执行 /systemPerfs 指令并将你的 UUID 与 https://namemc.com 上的 UUID 对比 # 如果值相同,我们建议你使用 InternFetcher UUID-Fetcher: # 如果 Dynamic 设置为 true 那么 Enabled 和 Intern 设置会被覆盖,同时会自动确定可能最佳的UUID匹配方式 # 我们的建议:没出问题就不要把 Dynamic 设置为 false Dynamic: true Enabled: true Intern: false REST-API: URL: "https://api.mojang.com/users/profiles/minecraft/%NAME%?at=%TIMESTAMP%" Key: "id" BackUp-API: URL: "https://us.mc-api.net/v3/uuid/%NAME%" Key: "uuid" # 这些是警告时会执行的指令 # 如果跳过等级数值那么将会执行之前的指令 # 你也可以使用如 broadcast 和 clear %PLAYER% 此类非AdvancedBan内置指令 # 变量: %PLAYER%, %REASON%, %COUNT% WarnActions: 3: "kick %PLAYER% &c&oYou have received your 3rd warning!" 4: "tempban %PLAYER% 30m &c&oYou have received your 4th warning!" 5: "tempban %PLAYER% 5h &c&oYou have received your 5th warning!" 6: "tempban %PLAYER% 7d &c&oYou have received your 6th warning!" 7: "tempban %PLAYER% 1mo &c&oYou have received your %COUNT%th warning!" 10: "ban %PLAYER% &c&oYou have received your 10th warning!" # 你可以在这里创建权限节点以定制不同惩罚等级的惩罚持续时间 # 如权限节点 "ab.tempban.dur.1" 允许玩家封禁 600秒 = 10分钟 # 而权限节点 "ab.tempwarn.dur.2" 允许玩家封禁 3600秒 = 1小时 # 你最多只能添加10个权限节点 这些权限节点会被 "ab.COMMAND.dur.max" 权限节点覆盖 TempPerms: 1: 600 2: 3600 3: 43200 </syntaxhighlight>
Unified diff of changes made by edit (edit_diff)
@@ -209,7 +209,6 @@ # 如果值相同,我们建议你使用 InternFetcher UUID-Fetcher: - # If dynamic it set to true it will override the 'enabled' and 'intern' settings - # and automatically detect the best possible uuid fetcher settings for your server. - # Our recommendation: don't set dynamic to false if you don't have any problems. + # 如果 Dynamic 设置为 true 那么 Enabled 和 Intern 设置会被覆盖,同时会自动确定可能最佳的UUID匹配方式 + # 我们的建议:没出问题就不要把 Dynamic 设置为 false Dynamic: true Enabled: true @@ -222,8 +221,8 @@ Key: "uuid" -# These are the commands that will be performed on warns -# If you skip a number the command from before will be performed -# You can also use non-AdvancedBan-Commands like 'broadcast' or 'clear %PLAYER% -# Variables: %PLAYER%, %REASON%, %COUNT% +# 这些是警告时会执行的指令 +# 如果跳过等级数值那么将会执行之前的指令 +# 你也可以使用如 broadcast 和 clear %PLAYER% 此类非AdvancedBan内置指令 +# 变量: %PLAYER%, %REASON%, %COUNT% WarnActions: 3: "kick %PLAYER% &c&oYou have received your 3rd warning!" @@ -234,8 +233,8 @@ 10: "ban %PLAYER% &c&oYou have received your 10th warning!" -# Here you can create permission-nodes for max-punishment-duration. -# The permission "ab.tempban.dur.1" would allow the player to ban max. for 600sec = 10min -# The permission "ab.tempwarn.dur.2" would allow the player to warn max. for 3600sec = 1h -# You can only create up to 10 perms. The perms can be overridden with "ab.COMMAND.dur.max" +# 你可以在这里创建权限节点以定制不同惩罚等级的惩罚持续时间 +# 如权限节点 "ab.tempban.dur.1" 允许玩家封禁 600秒 = 10分钟 +# 而权限节点 "ab.tempwarn.dur.2" 允许玩家封禁 3600秒 = 1小时 +# 你最多只能添加10个权限节点 这些权限节点会被 "ab.COMMAND.dur.max" 权限节点覆盖 TempPerms: 1: 600
Lines added in edit (added_lines)
# 如果 Dynamic 设置为 true 那么 Enabled 和 Intern 设置会被覆盖,同时会自动确定可能最佳的UUID匹配方式 # 我们的建议:没出问题就不要把 Dynamic 设置为 false # 这些是警告时会执行的指令 # 如果跳过等级数值那么将会执行之前的指令 # 你也可以使用如 broadcast 和 clear %PLAYER% 此类非AdvancedBan内置指令 # 变量: %PLAYER%, %REASON%, %COUNT% # 你可以在这里创建权限节点以定制不同惩罚等级的惩罚持续时间 # 如权限节点 "ab.tempban.dur.1" 允许玩家封禁 600秒 = 10分钟 # 而权限节点 "ab.tempwarn.dur.2" 允许玩家封禁 3600秒 = 1小时 # 你最多只能添加10个权限节点 这些权限节点会被 "ab.COMMAND.dur.max" 权限节点覆盖
Parsed HTML source of the new revision (new_html)
<div class="mw-parser-output"><div class="infotable"> <div class="infotable-title"> <div class="infotable-title-text">AdvancedBan</div> </div> <div class="infotable-content"> <div class="infotable-banner"></div> <table class="infotable-list"> <tbody><tr class="infotable-item"><td class="infotable-item-left">外文名</td><td class="infotable-item-right">AdvancedBan </td></tr> <tr class="infotable-item"><td class="infotable-item-left">最新版本</td><td class="infotable-item-right">V2.3.0 </td></tr> <tr class="infotable-item"><td class="infotable-item-left">源地址</td><td class="infotable-item-right"><a class="external free" href="https://www.spigotmc.org/resources/advancedban.8695/">https://www.spigotmc.org/resources/advancedban.8695/</a> </td></tr> </tbody></table> </div> </div> <div id="toc" class="toc"><div class="toctitle" lang="zh-CN" dir="ltr"><h2>目录</h2></div> <ul> <li class="toclevel-1 tocsection-1"><a href="#.E7.BB.BC.E8.BF.B0"><span class="tocnumber">1</span> <span class="toctext">综述</span></a> <ul> <li class="toclevel-2 tocsection-2"><a href="#.E4.BB.8B.E7.BB.8D"><span class="tocnumber">1.1</span> <span class="toctext">介绍</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-3"><a href="#.E6.8C.87.E4.BB.A4"><span class="tocnumber">2</span> <span class="toctext">指令</span></a></li> <li class="toclevel-1 tocsection-4"><a href="#.E6.9D.83.E9.99.90"><span class="tocnumber">3</span> <span class="toctext">权限</span></a> <ul> <li class="toclevel-2 tocsection-5"><a href="#Config.yml"><span class="tocnumber">3.1</span> <span class="toctext">Config.yml</span></a></li> </ul> </li> </ul> </div> <h2><span id="综述"></span><span class="mw-headline" id=".E7.BB.BC.E8.BF.B0">综述</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=AdvancedBan&amp;action=edit&amp;section=1" title="编辑小节:综述">编辑</a><span class="mw-editsection-bracket">]</span></span></h2> <h3><span id="介绍"></span><span class="mw-headline" id=".E4.BB.8B.E7.BB.8D">介绍</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=AdvancedBan&amp;action=edit&amp;section=2" title="编辑小节:介绍">编辑</a><span class="mw-editsection-bracket">]</span></span></h3> <ul><li>AdvancedBan 是一个集合了警告、临时警告、禁言、临时禁言、封禁、临时封禁、IP封禁、临时IP封禁 和踢出功能的多合一惩罚系统。</li> <li>本插件提供玩家历史以供查阅玩家的被惩罚记录,同时本插件有可配置的时间&amp;消息布局以实现根据特定原因自动计算和增加惩罚时间的操作。</li> <li>AdvancedBan 还提供了一个完整的消息文件,因此您可以更改和翻译所有消息和一个包含许多有用设置的详细配置文件。</li> <li>AdvancedBan 支持在 BungeeCord 和 Bukkit/Spigot 上运行,同时它支持 MySQL 和本地嵌入式数据库以提供高性能。</li></ul> <p>本插件由 <a class="external text" href="http://skamps.eu/">Leoko</a>开发 </p> <h2><span id="指令"></span><span class="mw-headline" id=".E6.8C.87.E4.BB.A4">指令</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=AdvancedBan&amp;action=edit&amp;section=3" title="编辑小节:指令">编辑</a><span class="mw-editsection-bracket">]</span></span></h2> <p>[需要] &lt;可选&gt; | = 或 -s = 静默惩罚(不通知他人) </p><p>/kick &lt;-s&gt; [玩家] &lt;原因 | @布局&gt; 踢一名玩家 </p><p>/ban /mute /warn /note &lt;-s&gt; [玩家] &lt;原因 | @布局&gt; 禁止/禁言/警告玩家/向玩家添加原因 </p><p>/banip &lt;-s&gt; [玩家/IP] &lt;原因 | @布局&gt; 禁止玩家的IP。 如果您输入名称,它将使用缓存的 IP </p><p>/tempban /tempmute /tempwarn &lt;-s&gt; [玩家] [Xmo|Xd|Xh|Xm|Xs|#TIMELAYOUT] &lt;原因 | @布局&gt; 临时禁止/静音/警告玩家给定时间或自动时间计算的时间布局 </p><p>/tempipban &lt;-s&gt; [玩家/IP] [Xmo|Xd|Xh|Xm|Xs|#TIMELAYOUT] &lt;原因 | @布局&gt; 临时IPban 一个给定时间或具有自动时间计算的时间布局的玩家 别名:/tipban </p><p>/change-reason [ID] [新原因] 通过id更改处罚原因 </p><p>/change-reason [禁令/禁言] [玩家] [新理由] 更改玩家处罚的原因 </p><p>/unban /unmute [玩家] 解禁令/解禁言玩家 </p><p>/unwarn /unnote [ID] 删除警告/删除注释 </p><p>/unwarn /unnote clear [玩家] 删除玩家的所有警告/注释 </p><p>/unpunish [ID] 删除惩罚 </p><p>/warns /notes &lt;玩家&gt; 查看您自己或玩家的警告/注意事项。 </p><p>/check [玩家] 获取玩家状态:UUID/IP/Country/Ban-Status/Mute-Status/Warn-Count/Note-Count </p><p>/banlist &lt;页面&gt; 查看所有当前有效的惩罚 </p><p>/history [玩家] &lt;页面&gt; 查看所有当前有效的惩罚 使用命令 - ab.history </p><p>/advancedban reload 重载插件 </p><p>/advancedban help 显示advancedban的帮助 </p><p>/systemprefs 显示一些对配置有用的系统信息 </p> <h2><span id="权限"></span><span class="mw-headline" id=".E6.9D.83.E9.99.90">权限</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=AdvancedBan&amp;action=edit&amp;section=4" title="编辑小节:权限">编辑</a><span class="mw-editsection-bracket">]</span></span></h2> <p>ab.kick.use - /kick 踢出玩家 ab.kick.exempt - Immune to kicking 免疫被踢 ab.notify.kick - Receives notification 接收kick通知 </p><p>ab.ban.perma - /ban 封禁 ab.ban.temp - /tempban 临时封禁 ab.ban.undo - /unban 解除封禁 ab.ban.exempt - Immune to ban 免疫封禁 ab.notify.ban - Receives notification 接收封禁通知 ab.undoNotify.ban - Receives notification when someone gets unbanned 当有人被解禁时收到通知 </p><p>ab.notify.tempban - Receives notification 接收临时禁令通知 </p><p>ab.ipban.perma - /ipban IP封禁 ab.ipban.temp - /tempipban 临时IP封禁 ab.notify.ipban - Receives notification 接收临时IP封禁通知 </p><p>ab.tempipban.exempt - Immune to tempipban 对临时IP封禁免疫 ab.notify.tempipban - Receives notification 接收临时IP封禁通知 </p><p>ab.mute.perma - /mute 禁言 ab.mute.temp - /tempmute 临时禁言 ab.mute.undo - /unmute 解除禁言 ab.mute.exempt - Immune to mute 免疫禁言 ab.notify.mute - Receives notification 接收禁言通知 ab.undoNotify.mute - Receives notification when someone gets unmuted 当有人取消禁言时收到通知 </p><p>ab.notify.tempmute - Receives notification 接收临时禁言通知 </p><p>ab.warn.perma - /warn 警告 ab.warn.temp - /tempwarn 临时警告 ab.warn.undo - /unwarn 解除警告 ab.warn.exempt - Immune to warn 免疫警告 ab.notify.warn - Receives notification 接收警告通知 ab.undoNotify.warn - Receives notification when someone gets unwarned 当没有人被警告是通知 </p><p>ab.notify.tempwarn - Receives notification 接收临时警告通知 </p><p>ab.note.use - /note ab.note.undo - /unnote ab.note.exempt - Immune to receiving notes ab.notify.note - Receives notification ab.undoNotify.note - Receives notification when someone gets unnoted </p><p>ab.all.undo - /unpunish </p><p>ab.warns.own - /warns ab.warns.other - /warns PLAYER </p><p>ab.notes.own - /notes ab.notes.other - /notes PLAYER </p><p>ab.check - /check ab.check.ip - Also shows IP </p><p>ab.changeReason - /change-reason ab.banlist - /banlist ab.history - /history ab.reload - /advancedban reload ab.help - /advancedban help ab.systemprefs - /systemprefs </p> <h4><span class="mw-headline" id="Config.yml">Config.yml</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=AdvancedBan&amp;action=edit&amp;section=5" title="编辑小节:Config.yml">编辑</a><span class="mw-editsection-bracket">]</span></span></h4> <div class="mw-highlight mw-content-ltr" dir="ltr"><pre><span></span><span class="c1"># AdvancedBan v2 - 由 Leoko 编写</span> <span class="c1"># 每项设置都有一段描述说明.</span> <span class="c1"># 在更改任何字段前请认真阅读每段描述.</span> <span class="c1"># 了解更多?请访问: https://www.spigotmc.org/resources/advancedban.8695/</span> <span class="c1"># 需要定制插件或网站?访问我们的开发页面: http://dev.skamps.eu</span> <span class="c1"># 如果设置为 false 所有封禁都会被本地存储在一个HSQLDB数据库内</span> <span class="l l-Scalar l-Scalar-Plain">UseMySQL</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">false</span> <span class="c1"># 如果你只想在服务器后台看到简短的插件启用/禁用信息,请设置为 false</span> <span class="l l-Scalar l-Scalar-Plain">DetailedEnableMessage</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">true</span> <span class="l l-Scalar l-Scalar-Plain">DetailedDisableMessage</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">true</span> <span class="c1"># 如果没有指定,那么这就是执行操作时的默认惩罚原因</span> <span class="l l-Scalar l-Scalar-Plain">DefaultReason</span><span class="p p-Indicator">:</span> <span class="s">&quot;none&quot;</span> <span class="c1"># 如果服务器时间与玩家不同,可以更改此项以调整</span> <span class="c1"># 如 服务器时间: 16:43 | 你的时间: 13:43 | TimeDiff值应改为 -3</span> <span class="c1"># 你可以使用 /systemPrefs 指令来查看服务器时间</span> <span class="l l-Scalar l-Scalar-Plain">TimeDiff</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">0</span> <span class="c1"># 这些指令会对被禁言的玩家显示</span> <span class="c1"># 被禁言的玩家无法使用类似 /minecraft:me 等指令来绕过禁言发出消息</span> <span class="l l-Scalar l-Scalar-Plain">MuteCommands</span><span class="p p-Indicator">:</span> <span class="p p-Indicator">-</span> <span class="s">&#39;me&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;say&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;action&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;eaction&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;describe&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;edescribe&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;eme&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;w&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;m&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;pm&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;whisper&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;ewhisper&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;emsg&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;msg&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;etell&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;tell&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;er&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;r&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;reply&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;ereply&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;ac&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;eac&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;amsg&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;eamsg&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;ehelpop&#39;</span> <span class="c1"># 惩罚操作不会对这些玩家生效(包括离线玩家)</span> <span class="l l-Scalar l-Scalar-Plain">ExemptPlayers</span><span class="p p-Indicator">:</span> <span class="p p-Indicator">-</span> <span class="s">&#39;Leoko&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;md5&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;dutchy1001&#39;</span> <span class="p p-Indicator">-</span> <span class="s">&#39;ItzSomebody&#39;</span> <span class="c1"># 调用 %DATE% 变量时使用的日期格式</span> <span class="l l-Scalar l-Scalar-Plain">DateFormat</span><span class="p p-Indicator">:</span> <span class="s">&quot;dd.MM.yyyy-HH:mm&quot;</span> <span class="c1"># 此选项对 bungeecord 或不支持 *-泛权限的服务器很有用</span> <span class="c1"># 设置为 true 后你可以使用 ab.all 权限节点以替代 ab.* 或 ab.ban.all 替代 ab.ban.*</span> <span class="c1"># 此项对负权限无效! 如 -ab.all 并不能禁止用户使用ab权限</span> <span class="l l-Scalar l-Scalar-Plain">EnableAllPermissionNodes</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">false</span> <span class="c1"># 如果你在使用外部 REST-API 那么他们会以 JSON 形式回应</span> <span class="c1"># 以下 API 只对 NAME -&gt; UUID 有效</span> <span class="c1"># 而 UUID -&gt; NAME 会调用官方 MojangAPI 或 InternFetcher</span> <span class="c1"># 想知道是否可以使用 intern fetcher 请执行 /systemPerfs 指令并将你的 UUID 与 https://namemc.com 上的 UUID 对比</span> <span class="c1"># 如果值相同,我们建议你使用 InternFetcher</span> <span class="l l-Scalar l-Scalar-Plain">UUID-Fetcher</span><span class="p p-Indicator">:</span> <span class="c1"># 如果 Dynamic 设置为 true 那么 Enabled 和 Intern 设置会被覆盖,同时会自动确定可能最佳的UUID匹配方式</span> <span class="c1"># 我们的建议:没出问题就不要把 Dynamic 设置为 false</span> <span class="l l-Scalar l-Scalar-Plain">Dynamic</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">true</span> <span class="l l-Scalar l-Scalar-Plain">Enabled</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">true</span> <span class="l l-Scalar l-Scalar-Plain">Intern</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">false</span> <span class="l l-Scalar l-Scalar-Plain">REST-API</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">URL</span><span class="p p-Indicator">:</span> <span class="s">&quot;https://api.mojang.com/users/profiles/minecraft/%NAME%?at=%TIMESTAMP%&quot;</span> <span class="l l-Scalar l-Scalar-Plain">Key</span><span class="p p-Indicator">:</span> <span class="s">&quot;id&quot;</span> <span class="l l-Scalar l-Scalar-Plain">BackUp-API</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">URL</span><span class="p p-Indicator">:</span> <span class="s">&quot;https://us.mc-api.net/v3/uuid/%NAME%&quot;</span> <span class="l l-Scalar l-Scalar-Plain">Key</span><span class="p p-Indicator">:</span> <span class="s">&quot;uuid&quot;</span> <span class="c1"># 这些是警告时会执行的指令</span> <span class="c1"># 如果跳过等级数值那么将会执行之前的指令</span> <span class="c1"># 你也可以使用如 broadcast 和 clear %PLAYER% 此类非AdvancedBan内置指令</span> <span class="c1"># 变量: %PLAYER%, %REASON%, %COUNT%</span> <span class="l l-Scalar l-Scalar-Plain">WarnActions</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">3</span><span class="p p-Indicator">:</span> <span class="s">&quot;kick</span><span class="nv"> </span><span class="s">%PLAYER%</span><span class="nv"> </span><span class="s">&amp;c&amp;oYou</span><span class="nv"> </span><span class="s">have</span><span class="nv"> </span><span class="s">received</span><span class="nv"> </span><span class="s">your</span><span class="nv"> </span><span class="s">3rd</span><span class="nv"> </span><span class="s">warning!&quot;</span> <span class="l l-Scalar l-Scalar-Plain">4</span><span class="p p-Indicator">:</span> <span class="s">&quot;tempban</span><span class="nv"> </span><span class="s">%PLAYER%</span><span class="nv"> </span><span class="s">30m</span><span class="nv"> </span><span class="s">&amp;c&amp;oYou</span><span class="nv"> </span><span class="s">have</span><span class="nv"> </span><span class="s">received</span><span class="nv"> </span><span class="s">your</span><span class="nv"> </span><span class="s">4th</span><span class="nv"> </span><span class="s">warning!&quot;</span> <span class="l l-Scalar l-Scalar-Plain">5</span><span class="p p-Indicator">:</span> <span class="s">&quot;tempban</span><span class="nv"> </span><span class="s">%PLAYER%</span><span class="nv"> </span><span class="s">5h</span><span class="nv"> </span><span class="s">&amp;c&amp;oYou</span><span class="nv"> </span><span class="s">have</span><span class="nv"> </span><span class="s">received</span><span class="nv"> </span><span class="s">your</span><span class="nv"> </span><span class="s">5th</span><span class="nv"> </span><span class="s">warning!&quot;</span> <span class="l l-Scalar l-Scalar-Plain">6</span><span class="p p-Indicator">:</span> <span class="s">&quot;tempban</span><span class="nv"> </span><span class="s">%PLAYER%</span><span class="nv"> </span><span class="s">7d</span><span class="nv"> </span><span class="s">&amp;c&amp;oYou</span><span class="nv"> </span><span class="s">have</span><span class="nv"> </span><span class="s">received</span><span class="nv"> </span><span class="s">your</span><span class="nv"> </span><span class="s">6th</span><span class="nv"> </span><span class="s">warning!&quot;</span> <span class="l l-Scalar l-Scalar-Plain">7</span><span class="p p-Indicator">:</span> <span class="s">&quot;tempban</span><span class="nv"> </span><span class="s">%PLAYER%</span><span class="nv"> </span><span class="s">1mo</span><span class="nv"> </span><span class="s">&amp;c&amp;oYou</span><span class="nv"> </span><span class="s">have</span><span class="nv"> </span><span class="s">received</span><span class="nv"> </span><span class="s">your</span><span class="nv"> </span><span class="s">%COUNT%th</span><span class="nv"> </span><span class="s">warning!&quot;</span> <span class="l l-Scalar l-Scalar-Plain">10</span><span class="p p-Indicator">:</span> <span class="s">&quot;ban</span><span class="nv"> </span><span class="s">%PLAYER%</span><span class="nv"> </span><span class="s">&amp;c&amp;oYou</span><span class="nv"> </span><span class="s">have</span><span class="nv"> </span><span class="s">received</span><span class="nv"> </span><span class="s">your</span><span class="nv"> </span><span class="s">10th</span><span class="nv"> </span><span class="s">warning!&quot;</span> <span class="c1"># 你可以在这里创建权限节点以定制不同惩罚等级的惩罚持续时间</span> <span class="c1"># 如权限节点 &quot;ab.tempban.dur.1&quot; 允许玩家封禁 600秒 = 10分钟</span> <span class="c1"># 而权限节点 &quot;ab.tempwarn.dur.2&quot; 允许玩家封禁 3600秒 = 1小时</span> <span class="c1"># 你最多只能添加10个权限节点 这些权限节点会被 &quot;ab.COMMAND.dur.max&quot; 权限节点覆盖</span> <span class="l l-Scalar l-Scalar-Plain">TempPerms</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">1</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">600</span> <span class="l l-Scalar l-Scalar-Plain">2</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">3600</span> <span class="l l-Scalar l-Scalar-Plain">3</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">43200</span> </pre></div> <!-- NewPP limit report Cached time: 20220802123932 Cache expiry: 86400 Dynamic content: false CPU time usage: 0.028 seconds Real time usage: 0.160 seconds Preprocessor visited node count: 175/1000000 Preprocessor generated node count: 1682/1000000 Post‐expand include size: 2398/2097152 bytes Template argument size: 752/2097152 bytes Highest expansion depth: 7/40 Expensive parser function count: 0/100 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 12018/5000000 bytes --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 11.560 1 模板:Plugin 100.00% 11.560 1 -total 58.76% 6.793 1 模板:信息表 42.32% 4.892 1 模板:信息表/列表 13.64% 1.577 1 模板:ArticleCategory --> </div>
Unix timestamp of change (timestamp)
1659443972