MaxBans Plus

紧急通知
我被人指控编写了恶意插件。由于我的所有评论现在都被标记为垃圾信息,我发布此内容以证明我是被冤枉的。
Kingie07Gaming 的评论:
不要使用这个插件!V2 版本包含恶意软件!如果你已经安装了,请立即移除。
这是我的回应:
因为 Antlr 作为 Hibernate 依赖项被包含在内(MaxBans Plus 依赖于 Hibernate),导致检测到了误报。据称下一个更新将禁用此误报。链接 。
这令人遗憾,我也因此感到非常沮丧:
- 有人编写的一个工具扫描了我的插件,寻找潜在的恶意代码
- 快速检查我的源代码揭示了原因:Hibernate 依赖于 Antlr,而 Antlr 触发了恶意代码 警告
- 我的 Spigot 插件已被移除,甚至没有收到任何通知邮件
- 我的 Spigot 账号被封禁
- 没有任何通知
- 除了“给我们发邮件”外,没有任何申诉流程
- 仅凭一个业余爱好者声称一半的插件库都有恶意代码就做出了判定
- 已向我星标该插件的所有人发送通知,指控该插件具有恶意性。这严重损害了我的声誉,我高度怀疑当最新版本的 MCAntiMalware 声明我的插件安全时,Spigot 是否会发布一份声明来宣告我的清白。
这不公平。
无论如何:如果你不信任我但仍想使用该插件,可以从 GitHub 自行编译。源代码都在那里。
感谢理解。
此外,我现在还被指责在自己的插件页面上刷屏。你能想象吗?
欢迎使用 MaxBans Plus。这是对原始 MaxBans 项目的重写,原始项目仍然可以在这里找到。
如果你有问题或觉得我遗漏了什么,请随时通过 GitHub 界面 提交问题。如果你正在查找文档,请查看 GitHub Wiki。它可能能帮助你解决以下问题:
注意:这不是 MaxBans,这是 MaxBans Plus —— 它是原始项目的重写版。如果你想使用由 Fabio12 维护的旧项目,请查看 这里。
文档
以下是插件使用的简要概述
安装
安装插件的简短步骤如下:
- 从 这里 下载 JAR 文件
- 将 JAR 文件放入 plugins/ 目录
- 启动你的服务器
- 可选操作:
- 停止服务器
- 编辑 plugins/MaxBansPlus/ 中的配置文件
配置说明可以在 这里 找到。
命令
以下是任何拥有相应权限的玩家均可使用的命令。权限约定为 maxbans.COMMAND_NAME。例如,若要允许某用户解除对其他用户的禁言,其权限节点为 maxbans.unmute。
以下是你最常用的命令:
- /ban [duration] [message]
- /mute [duration] [message]
- /ipban <user|address> [duration] [message]
- /ipmute <user|address> [duration] [message]
- /warn [message]
- /unban <user|address>
- /unmute <user|address>
- /kick [message]
- /iplookup
- /lockdown <ALL|JOIN|NEW|OFF> [message]
- /history [page] [user]
注意:位于 <> 内的参数为必填项,而位于 [] 内的参数为可选项。
示例
上述命令的一些使用示例:
- /ban Merlin 5 hours Wizards are not allowed
- /mute Harry Silencio!
- /ipban Circe No witches, either!
- /warn Witch You look like a witch!
权限
以下是完整的权限列表:
| 权限 |
描述 |
| maxbans.ban |
封禁与解封命令 |
| maxbans.mute |
禁言与解除禁言命令 |
| maxbans.ipban |
IP 封禁命令 |
| maxbans.ipmute |
IP 禁言命令 |
| maxbans.warn |
警告命令 |
| maxbans.kick |
踢出命令 |
| maxbans.iplookup |
查询命令 |
| maxbans.broadcast |
查看广播消息,例如“某用户被封禁”。默认情况下此权限已授予玩家。 |
| maxbans.mod |
当玩家尝试加入服务器或聊天但因被禁止而失败时,查看警报信息。 |
| maxbans.silent |
查看玩家使用静默模式 MaxBans 命令时的记录。 |
| maxbans.history |
查看最近的处罚记录
|
通知
MaxBans 会通过聊天栏在发生相关事件时通知你。共有三种权限用于控制此类通知:
广播(Broadcast):maxbans.broadcast 是查看 MaxBans 全服广播消息所需的权限节点。例如,如果有用户被封禁,所有在线且拥有此权限的玩家都会收到该用户被封禁的通知。你可以在命令中使用 -s(s 代表 silent 即静默)标志来禁用广播。此权限默认授予玩家,但可以通过权限设置移除。
静默(Silent):maxbans.silent 是查看隐藏消息的权限节点,这些消息是在运行带有 -s 标志的命令时生成的。通常只有管理员希望看到此类消息。
管理(Mod):maxbans.mod 是在服务器出现活动异常时向管理员发出警报的权限。例如,当被封禁的玩家尝试加入服务器,或被禁言的玩家尝试聊天时,系统会通知管理员。该功能会尽力避免向管理员发送垃圾信息,并丢弃频繁生成的重复消息。
隐私声明:本插件使用 bStats 在此处跟踪插件指标:。系统会记录标准信息(地理位置、模式、版本、系统规格)以及活动数据(封禁、静音、警告、踢出)和所用语言环境。可通过配置文件 plugins/bStats/config.yml 禁用此功能。
MaxBans Plus

Urgent Notice
I have been accused of writing a malicious plugin. Since all of my comments are now being marked as Spam, I'm placing this to show I've been falsely accused.
Kingie07Gaming's comment:
DO NOT USE THIS PLUGIN! V2 HAS MALWARE! REMOVE IT ASAP IF YOU HAVE IT INSTALLED
Here's my response:
False positive detected because Antlr is included as a Hibernate dependency (MaxBans Plus depends on Hibernate). I'm told the next update will disable the false positive. Link .
This is a shame and I'm quite frustrated because of it:
- I have had my plugin scanned for potentially malicious code by a tool someone wrote
- A very quick check of my source code shows why: Hibernate depends on Antlr, and Antlr trips the malicious code warning
- Not even an actual positive, just a warning
- I have had my Spigot plugin removed, without so much as a notification email
- I have had my Spigot account banned
- Without any notification
- Without any process for appeal other than 'email us'
- On the word of an amateur accusing half the plugin base of being malicious
- Notifications have been sent to anyone who starred my plugin, accusing the plugin of being malicious. This really bashes my reputability and I highly doubt Spigot will be publishing a notification declaring my innocence when the newest version of MCAntiMalware declares my plugin safe.
This is not fair.
Anyhow: if you don't trust me and want to use the plugin anyway, compile it yourself from GitHub. The source code is all there.
Thanks for understanding.
Furthermore, I'm now being declared to be spamming my own plugin page. Can you imagine?
Welcome to MaxBans Plus. This is a rewrite of the original MaxBans project, which is still available here.
If you've got questions or feel that I've missed anything, feel free to raise an issue through the GitHub Interface. If you're looking for documentation, check out the GitHub Wiki. it might be able to help you with:
Notice: This is not MaxBans, this is MaxBans Plus -- it is a rewrite of the original project. If you want the old project maintained by Fabio12, check it out here.
Documentation
Here's a brief overview of the usage of the plugin
Installation
The short version of installing the plugin is like so:
- Download the JAR from here
- Place the JAR in plugins/
- Start your server
- Optional:
- Stop the server
- Edit the config files in plugins/MaxBansPlus/
The configuration explanation can be found here.
Commands
These are the commands available to anyone with permission. The permission convention is maxbans.COMMAND_NAME. For example, to allow a user to unmute someone, it's maxbans.unmute.
Here's the most common commands you'll be using:
- /ban [duration] [message]
- /mute [duration] [message]
- /ipban <user|address> [duration] [message]
- /ipmute <user|address> [duration] [message]
- /warn [message]
- /unban <user|address>
- /unmute <user|address>
- /kick [message]
- /iplookup
- /lockdown <ALL|JOIN|NEW|OFF> [message]
- /history [page] [user]
Note: Arguments inside <> are required, while ones outside [] are optional.
Examples
Some examples of the above commands:
- /ban Merlin 5 hours Wizards are not allowed
- /mute Harry Silencio!
- /ipban Circe No witches, either!
- /warn Witch You look like a witch!
Permissions
Here's a comprehensive list of permissions:
| Permission |
Description |
| maxbans.ban |
Ban and unban commands |
| maxbans.mute |
Mute and unmute commands |
| maxbans.ipban |
IP ban command |
| maxbans.ipmute |
IP mute command |
| maxbans.warn |
Warn command |
| maxbans.kick |
Kick command |
| maxbans.iplookup |
Lookup command |
| maxbans.broadcast |
See broadcast messages, eg. User was banned. This is given by default. |
| maxbans.mod |
See alerts when players try to join / chat but are denied because they're not allowed to |
| maxbans.silent |
See when players use silent maxbans commands. |
| maxbans.history |
View recent punishments dealt
|
Notifications
MaxBans will notify you when things occur via chat. There are three types of permissions to control this:
Broadcast: maxbans.broadcast is the permission node required to see server-wide messages from MaxBans. For example, if a user was banned, everyone with this permission who is currently online will be told that the user was banned. Broadcasting can be disabled by using the -s (s for silent) flag in your command. This is given to players by default, but can be taken away through permission setup.
Silent: maxbans.silent is the permission node required to see hidden messages whenever a command with -s is run. Moderators usually want this.
Mod: maxbans.mod is the permission to alert moderators when activity occurs on the server. For example, it will notify moderators when a banned player tries to join, or when a muted player tries to chat. This does its best not to spam moderators, and discards similar messages which are generated frequently.
Privacy Notice: This plugin uses bStats to track plugin metrics over here at - The standard information is tracked (geography, mode, version, system specs) as well as activity (bans, mutes, warnings, kicks) and the locale used. This can be disabled by configuring plugins/bStats/config.yml
评论 0
登录后参与评分
还没有评论,来抢沙发吧