- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
检查单独更改
本页面允许您检查防滥用过滤器根据某次单独更改所生成的变量,并使用过滤器进行测试。
根据本次更改生成的变量
变量 | 值 |
---|---|
编辑是否被标记为小编辑 (minor_edit) | |
用户账户名称 (user_name) | Mr baipiao |
用户所在群组(包括隐藏群组) (user_groups) | *
user
|
页面编号 (article_articleid) | 7711 |
页面名字空间 (article_namespace) | 0 |
页面标题(不含名字空间) (article_text) | AdvancedBan |
完整页面标题 (article_prefixedtext) | AdvancedBan |
最后十位对该页面贡献的用户 (article_recent_contributors) | Mr baipiao
|
操作 (action) | edit |
编辑摘要/原因 (summary) | |
旧的内容模型 (old_content_model) | wikitext |
新的内容模型 (new_content_model) | wikitext |
编辑前的旧页面,wiki代码格式 (old_wikitext) | {{Plugin
|version=V2.3.0
|URL=https://www.spigotmc.org/resources/advancedban.8695/
}}
== 综述 ==
=== 介绍 ===
*AdvancedBan 是一个多合一的惩罚系统,带有警告、临时警告、禁言、临时禁言、禁令、临时禁令、IP禁令、临时IP禁令 和踢。
*该插件具有可配置的时间和消息布局,可出于某些原因自动计算和增加惩罚时间。
*AdvancedBan 还提供了一个完整的消息文件,因此您可以更改和翻译所有消息和一个包含许多有用设置的详细配置文件。
*这是 BungeeCord 和 Bukkit/Spigot-Plugin 合二为一,它支持 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 接收ban通知
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 |
编辑后的新页面,wiki代码格式 (new_wikitext) | {{Plugin
|version=V2.3.0
|URL=https://www.spigotmc.org/resources/advancedban.8695/
}}
== 综述 ==
=== 介绍 ===
*AdvancedBan 是一个多合一的惩罚系统,带有警告、临时警告、禁言、临时禁言、禁令、临时禁令、IP禁令、临时IP禁令 和踢。
*该插件具有可配置的时间和消息布局,可出于某些原因自动计算和增加惩罚时间。
*AdvancedBan 还提供了一个完整的消息文件,因此您可以更改和翻译所有消息和一个包含许多有用设置的详细配置文件。
*这是 BungeeCord 和 Bukkit/Spigot-Plugin 合二为一,它支持 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 接收ban通知
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: (翻译中)
# AdvancedBan v2 - Coded by Leoko
# For each setting, there is a small description.
# Please read each description carefully before changing anything.
# For more information visit: https://www.spigotmc.org/resources/advancedban.8695/
# Do you want your own Plugin or Website? Check out our Dev-Page: http://dev.skamps.eu
# If set to false all bans will be saved locally in a HSQLDB-Database
UseMySQL: false
# Set to false if you want to have only short messages in the console
# On startup and on the shutdown.
DetailedEnableMessage: true
DetailedDisableMessage: true
# This will be the default reason to be displayed if none is given
DefaultReason: "none"
# Change this if your server has a different time that your users.
# e.g.: ServerTime: 16:43 | Your Time: 13:43 | TimeDiff has to be set to -3
# You can check the server time with /systemPrefs
TimeDiff: 0
# This commands will be disabled for muted players
# A player wouldn't be able to bypass with eg "/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'
# These players will not be able to get punished in any way
# this also works if the player is offline
ExemptPlayers:
- 'Leoko'
- 'md5'
- 'dutchy1001'
- 'ItzSomebody'
# The date-format which will be used for the %DATE% variable
DateFormat: "dd.MM.yyyy-HH:mm"
# This is useful for bungeecord servers or server with permission systems which do not support *-Perms
# So if you enable this you can use ab.all instead of ab.* or ab.ban.all instead of ab.ban.*
# This does not work with negative permissions! e.g. -ab.all would not block all commands for that user.
EnableAllPermissionNodes: false
# If you use external REST-APIs they will have to respond in JSON
# The given APIs will only be used for NAME -> UUID
# For UUID -> NAME will either use the official MojangAPI or the InternFetcher
# To check if you can use the intern fetcher do /systemPerfs and compare your uuid
# to the one you can see online on http://NamesMC.com
# if they are similar we recommend using the 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 |
编辑产生的差异 (edit_diff) | @@ -133,2 +133,112 @@
ab.help - /advancedban help
ab.systemprefs - /systemprefs
+==配置==
+Config.yml: (翻译中)
+
+# AdvancedBan v2 - Coded by Leoko
+# For each setting, there is a small description.
+# Please read each description carefully before changing anything.
+# For more information visit: https://www.spigotmc.org/resources/advancedban.8695/
+# Do you want your own Plugin or Website? Check out our Dev-Page: http://dev.skamps.eu
+
+# If set to false all bans will be saved locally in a HSQLDB-Database
+UseMySQL: false
+
+# Set to false if you want to have only short messages in the console
+# On startup and on the shutdown.
+DetailedEnableMessage: true
+DetailedDisableMessage: true
+
+# This will be the default reason to be displayed if none is given
+DefaultReason: "none"
+
+# Change this if your server has a different time that your users.
+# e.g.: ServerTime: 16:43 | Your Time: 13:43 | TimeDiff has to be set to -3
+# You can check the server time with /systemPrefs
+TimeDiff: 0
+
+# This commands will be disabled for muted players
+# A player wouldn't be able to bypass with eg "/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'
+
+# These players will not be able to get punished in any way
+# this also works if the player is offline
+ExemptPlayers:
+- 'Leoko'
+- 'md5'
+- 'dutchy1001'
+- 'ItzSomebody'
+
+# The date-format which will be used for the %DATE% variable
+DateFormat: "dd.MM.yyyy-HH:mm"
+
+# This is useful for bungeecord servers or server with permission systems which do not support *-Perms
+# So if you enable this you can use ab.all instead of ab.* or ab.ban.all instead of ab.ban.*
+# This does not work with negative permissions! e.g. -ab.all would not block all commands for that user.
+EnableAllPermissionNodes: false
+
+# If you use external REST-APIs they will have to respond in JSON
+# The given APIs will only be used for NAME -> UUID
+# For UUID -> NAME will either use the official MojangAPI or the InternFetcher
+# To check if you can use the intern fetcher do /systemPerfs and compare your uuid
+# to the one you can see online on http://NamesMC.com
+# if they are similar we recommend using the 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
|
编辑增加的行 (added_lines) | ==配置==
Config.yml: (翻译中)
# AdvancedBan v2 - Coded by Leoko
# For each setting, there is a small description.
# Please read each description carefully before changing anything.
# For more information visit: https://www.spigotmc.org/resources/advancedban.8695/
# Do you want your own Plugin or Website? Check out our Dev-Page: http://dev.skamps.eu
# If set to false all bans will be saved locally in a HSQLDB-Database
UseMySQL: false
# Set to false if you want to have only short messages in the console
# On startup and on the shutdown.
DetailedEnableMessage: true
DetailedDisableMessage: true
# This will be the default reason to be displayed if none is given
DefaultReason: "none"
# Change this if your server has a different time that your users.
# e.g.: ServerTime: 16:43 | Your Time: 13:43 | TimeDiff has to be set to -3
# You can check the server time with /systemPrefs
TimeDiff: 0
# This commands will be disabled for muted players
# A player wouldn't be able to bypass with eg "/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'
# These players will not be able to get punished in any way
# this also works if the player is offline
ExemptPlayers:
- 'Leoko'
- 'md5'
- 'dutchy1001'
- 'ItzSomebody'
# The date-format which will be used for the %DATE% variable
DateFormat: "dd.MM.yyyy-HH:mm"
# This is useful for bungeecord servers or server with permission systems which do not support *-Perms
# So if you enable this you can use ab.all instead of ab.* or ab.ban.all instead of ab.ban.*
# This does not work with negative permissions! e.g. -ab.all would not block all commands for that user.
EnableAllPermissionNodes: false
# If you use external REST-APIs they will have to respond in JSON
# The given APIs will only be used for NAME -> UUID
# For UUID -> NAME will either use the official MojangAPI or the InternFetcher
# To check if you can use the intern fetcher do /systemPerfs and compare your uuid
# to the one you can see online on http://NamesMC.com
# if they are similar we recommend using the 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
|
编辑后的新页面,已解析为HTML源码 (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></li>
<li class="toclevel-1 tocsection-5"><a href="#.E9.85.8D.E7.BD.AE"><span class="tocnumber">4</span> <span class="toctext">配置</span></a></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&action=edit&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&action=edit&section=2" title="编辑小节:介绍">编辑</a><span class="mw-editsection-bracket">]</span></span></h3>
<ul><li>AdvancedBan 是一个多合一的惩罚系统,带有警告、临时警告、禁言、临时禁言、禁令、临时禁令、IP禁令、临时IP禁令 和踢。</li>
<li>该插件具有可配置的时间和消息布局,可出于某些原因自动计算和增加惩罚时间。</li>
<li>AdvancedBan 还提供了一个完整的消息文件,因此您可以更改和翻译所有消息和一个包含许多有用设置的详细配置文件。</li>
<li>这是 BungeeCord 和 Bukkit/Spigot-Plugin 合二为一,它支持 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&action=edit&section=3" title="编辑小节:指令">编辑</a><span class="mw-editsection-bracket">]</span></span></h2>
<p>[需要]
<可选>
| = 或
-s = 静默惩罚(不通知他人)
</p><p>/kick <-s> [玩家] <原因 | @布局>
踢一名玩家
</p><p>/ban /mute /warn /note <-s> [玩家] <原因 | @布局>
禁止/禁言/警告玩家/向玩家添加原因
</p><p>/banip <-s> [玩家/IP] <原因 | @布局>
禁止玩家的IP。 如果您输入名称,它将使用缓存的 IP
</p><p>/tempban /tempmute /tempwarn <-s> [玩家] [Xmo|Xd|Xh|Xm|Xs|#TIMELAYOUT] <原因 | @布局>
临时禁止/静音/警告玩家给定时间或自动时间计算的时间布局
</p><p>/tempipban <-s> [玩家/IP] [Xmo|Xd|Xh|Xm|Xs|#TIMELAYOUT] <原因 | @布局>
临时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 <玩家>
查看您自己或玩家的警告/注意事项。
</p><p>/check [玩家]
获取玩家状态:UUID/IP/Country/Ban-Status/Mute-Status/Warn-Count/Note-Count
</p><p>/banlist <页面>
查看所有当前有效的惩罚
</p><p>/history [玩家] <页面>
查看所有当前有效的惩罚
使用命令 - 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&action=edit&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 接收ban通知
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>
<h2><span id="配置"></span><span class="mw-headline" id=".E9.85.8D.E7.BD.AE">配置</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=AdvancedBan&action=edit&section=5" title="编辑小节:配置">编辑</a><span class="mw-editsection-bracket">]</span></span></h2>
<p>Config.yml: (翻译中)
</p>
<ol><li>AdvancedBan v2 - Coded by Leoko</li>
<li>For each setting, there is a small description.</li>
<li>Please read each description carefully before changing anything.</li>
<li>For more information visit: <a class="external free" href="https://www.spigotmc.org/resources/advancedban.8695/">https://www.spigotmc.org/resources/advancedban.8695/</a></li>
<li>Do you want your own Plugin or Website? Check out our Dev-Page: <a class="external free" href="http://dev.skamps.eu">http://dev.skamps.eu</a></li></ol>
<ol><li>If set to false all bans will be saved locally in a HSQLDB-Database</li></ol>
<p>UseMySQL: false
</p>
<ol><li>Set to false if you want to have only short messages in the console</li>
<li>On startup and on the shutdown.</li></ol>
<p>DetailedEnableMessage: true
DetailedDisableMessage: true
</p>
<ol><li>This will be the default reason to be displayed if none is given</li></ol>
<p>DefaultReason: "none"
</p>
<ol><li>Change this if your server has a different time that your users.</li>
<li>e.g.: ServerTime: 16:43 | Your Time: 13:43 | TimeDiff has to be set to -3</li>
<li>You can check the server time with /systemPrefs</li></ol>
<p>TimeDiff: 0
</p>
<ol><li>This commands will be disabled for muted players</li>
<li>A player wouldn't be able to bypass with eg "/minecraft:me"</li></ol>
<p>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'
</p>
<ol><li>These players will not be able to get punished in any way</li>
<li>this also works if the player is offline</li></ol>
<p>ExemptPlayers:
- 'Leoko'
- 'md5'
- 'dutchy1001'
- 'ItzSomebody'
</p>
<ol><li>The date-format which will be used for the %DATE% variable</li></ol>
<p>DateFormat: "dd.MM.yyyy-HH:mm"
</p>
<ol><li>This is useful for bungeecord servers or server with permission systems which do not support *-Perms</li>
<li>So if you enable this you can use ab.all instead of ab.* or ab.ban.all instead of ab.ban.*</li>
<li>This does not work with negative permissions! e.g. -ab.all would not block all commands for that user.</li></ol>
<p>EnableAllPermissionNodes: false
</p>
<ol><li>If you use external REST-APIs they will have to respond in JSON</li>
<li>The given APIs will only be used for NAME -> UUID</li>
<li>For UUID -> NAME will either use the official MojangAPI or the InternFetcher</li>
<li>To check if you can use the intern fetcher do /systemPerfs and compare your uuid</li>
<li>to the one you can see online on <a class="external free" href="http://NamesMC.com">http://NamesMC.com</a></li>
<li>if they are similar we recommend using the InternFetcher</li></ol>
<p>UUID-Fetcher:
</p>
<pre> # 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: "<a class="external free" href="https://api.mojang.com/users/profiles/minecraft/%NAME%?at=%TIMESTAMP%">https://api.mojang.com/users/profiles/minecraft/%NAME%?at=%TIMESTAMP%</a>"
Key: "id"
BackUp-API:
URL: "<a class="external free" href="https://us.mc-api.net/v3/uuid/%NAME%">https://us.mc-api.net/v3/uuid/%NAME%</a>"
Key: "uuid"
</pre>
<ol><li>These are the commands that will be performed on warns</li>
<li>If you skip a number the command from before will be performed</li>
<li>You can also use non-AdvancedBan-Commands like 'broadcast' or 'clear %PLAYER%</li>
<li>Variables: %PLAYER%, %REASON%, %COUNT%</li></ol>
<p>WarnActions:
</p>
<pre> 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!"
</pre>
<ol><li>Here you can create permission-nodes for max-punishment-duration.</li>
<li>The permission "ab.tempban.dur.1" would allow the player to ban max. for 600sec = 10min</li>
<li>The permission "ab.tempwarn.dur.2" would allow the player to warn max. for 3600sec = 1h</li>
<li>You can only create up to 10 perms. The perms can be overridden with "ab.COMMAND.dur.max"</li></ol>
<p>TempPerms:
</p>
<pre> 1: 600
2: 3600
3: 43200
</pre>
<!--
NewPP limit report
Cached time: 20220602095902
Cache expiry: 86400
Dynamic content: false
CPU time usage: 0.020 seconds
Real time usage: 0.023 seconds
Preprocessor visited node count: 172/1000000
Preprocessor generated node count: 1662/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: 0/5000000 bytes
-->
<!--
Transclusion expansion time report (%,ms,calls,template)
100.00% 12.246 1 模板:Plugin
100.00% 12.246 1 -total
59.10% 7.237 1 模板:信息表
42.52% 5.207 1 模板:信息表/列表
13.71% 1.679 1 模板:ArticleCategory
-->
</div> |
更改的Unix时间戳 (timestamp) | 1654163942 |