MineBans - 公平的全球封禁系统
简单来说,MineBans 是一个用于 Minecraft 服务器的全球封禁系统。我们提供了一种方式,让服务器管理员将他们对其服务器上玩家做出的封禁发布到我们的数据库中。其他服务器的所有者随后可以使用这些信息来决定是否允许刚刚加入他们服务器的玩家继续留在游戏中。
它是如何工作的?
当玩家加入服务器时,会从 minebans.com 下载该玩家之前可能有的任何封禁摘要,并对用户执行以下检查:
- 玩家是否在本地例外列表中?如果是,则允许其加入。
- 玩家是否被此服务器封禁(全局、本地或临时)?如果是,则阻止连接。
- 玩家是否被同一所有者的另一台服务器封禁?如果是,则阻止连接。
- 玩家是否正在使用公共代理?如果是,则阻止连接。
- 玩家是否使用了已知被盗的 Minecraft 账号?如果是,则阻止连接。
- 玩家是否在其他服务器上有过多封禁记录?如果是,则阻止连接。 以上每一项检查均可完全自定义配置。
关于 MCBans、MCBlockIt、Glizer 等其他系统
在我看来,MineBans 与目前可用的其他系统截然不同,原因如下(当然,你可以自行判断):
- 我们的封禁原因是固定的。这意味着插件可以为每次封禁收集辅助证据。最终结果是,我们可以提供一整页的统计数据和计算结果,而不是仅仅给出一个像“xray”这样的单一单词作为封禁理由。由于这些封禁都有数据支持,我们相信它们更加可信。(在撰写本文时,超过 80% 的封禁都附有辅助证据)
- 我们不追踪玩家,仅从服务器收集必要信息。没有记录谁登录了特定服务器或在线时长。
- 滥用可能性更低。你知道 MCBans 团队可以毫无理由地将玩家在全球范围内封禁所有服务器吗?而在 MineBans 中,不存在这种全系统范围的封禁概念。你还知道吗,MCBans 团队可以在未经你同意的情况下配置他们的插件,以便在玩家加入时广播他们选择的消息,这以前曾被用于与 Minecraft 无关的政治宣传。MineBans 没有此类功能。账号被盗检测功能是玩家可能被 错误 封禁的唯一途径,如果你不信任数据来源,你可以自由禁用该功能。
你应该知道的一些事项
- 服务器的所有管理员都需要在 minebans.com 拥有一个账号。这看起来可能有些繁琐,但它允许我们在系统被滥用时追究特定玩家的责任,而不必采取像从数据库中删除所有服务器封禁记录这样极端的措施。此外,由于注册需要有效的 Minecraft 账号,这也有助于防止系统被滥用。
安装
以下是可在 维基页面 上找到的信息的摘要:
- 在 我们的网站 上注册一个账号
- 从 文件页面 下载插件,并将 .jar 文件放入你的 plugins 文件夹中
- 运行一次服务器以生成配置文件,然后关闭服务器
- 打开 config.yml 文件,编辑 api-key 选项,使其与网站上 我的服务器 页面中的值匹配
- 给你的管理员和审核员分配必要的 权限
用法
基本命令列在此处,如需更多信息,请参阅维基上的 命令页面。所有命令都可以在不带参数的情况下使用,以显示用法信息。
- /ban - 封禁一名玩家。需要 minebans.admin.ban 权限。
- /unban - 移除玩家当前拥有的任何封禁。需要 minebans.admin.ban 权限。
- /kick - 将玩家踢出服务器。需要 minebans.admin.kick 权限。
- /exempt - 用于管理例外列表。例外列表充当一组玩家的名单,使他们免于加入时的检查,这意味着即使他们超过了服务器的限制,也可以加入。需要 minebans.admin.exempt 权限。
- /minebans - 提供与系统相关的各种命令。
为了让页面更有色彩,这里展示了一个游戏内查询的示例:

每个原因旁边的颜色表示该封禁的严重程度。可以为每种封禁原因和每种严重程度配置限制。
面向开发者
该插件提供了自己的 API 供其他插件使用,这些功能的详细信息记录在 GitHub 维基页面 上。
贡献代码
非常欢迎对本项目的贡献。如果你有想要实现的功能并知道好的实现方法,请考虑 fork 仓库并提交拉取请求。只要遵循以下简单指南,这些请求都会被接受。
- 请勿修改 pom.xml 文件的结构;如需添加依赖项可自行添加,但不得更改其格式与结构。
- 若暴露新的 API 方法,请为其添加 JavaDoc 注释,但不要对内部代码过度注释。
- 遵循现有的代码风格,不过分纠结于每一个空格!
所有使用的依赖项现均可从公共 Maven 仓库获取,因此您不再需要为了一个简单的改动而去构建其他多个项目。
源代码
开发构建版本
自上次发布以来的变更
下载
此项目的开发构建版本可通过提供的持续集成服务器获取。这些构建版本未经 BukkitDev 工作人员审核。使用风险自负。
下载统计
MineBans - The Fair Global Banning System
Put simply, MineBans is a global banning system for Minecraft servers. We offer a way for server admins to publish the player bans they make on their servers to our database. The owners of other servers can then use this information to decide if a player that just joined their server should be allowed to stay.
How Does it Work ?
When a player joins the server a summary of any previous bans they may have is downloaded from minebans.com and the following checks are done on the user
- Is the player on the local exception list, if they are let them join.
- Is the player banned from this server (global, local or temporary), if they are prevent the connection.
- Is the player banned from another server with the same owner, if they are prevent the connection.
- Is the player using a public proxy, if they are prevent the connection.
- Is the player using a Minecraft account that is known to be compromised, if they are prevent the connection.
- Does the player have too many bans from other servers, if they have prevent the connection. Each of these checks is fully configurable.
What About MCBans, MCBlockIt, Glizer, etc
The way I see it MineBans is nothing like the other systems available for a few reasons (feel free to judge for yourself though):
- Our ban reasons are fixed. This means that the plugin can collect supporting evidence for each ban. Ultimately this means instead of a single word, "xray" as the ban reason we can provide a full page of statistics and calculations. As the bans are backed up by data we believe they are much more trustworthy. (At the time of writing over 80% of our bans have supporting evidence)
- We don't track players, we only collect the necessary information from the server. There is no log of who logged in to a specific server or how long they were online.
- Less potential for abuse. Did you know the MCBans team could globally ban a player from all servers for no good reason, with MineBans there is no concepts of a system wide ban like this. Did you also know that the MCBans team can configure their plugin (without your consent) to broadcast a message of their choice when a player joins, this has previously been used for political messages unrelated to Minecraft. There is no such feature with MineBans. The compromised account feature is the only way that a player could be banned incorrectly and you are free to disable that feature if you do not trust the origin of the data.
Some Things you Should Know
- All moderators of the server will need an account at minebans.com. This might seem like an unnecessary pain but it allows us to hold a certain player responsible if the system is abused without having to take a drastic step like removing all of the servers bans from the database. It also will help to prevent abuse of the system as a valid Minecraft account is needed to sign up.
Installation
This is a summary of the information that can be found on the wiki
- Sign up for an account on our website
- Download the plugin from the files page and put the .jar in your plugins folder
- Run the server once for the config file to be created and then shut it down again
- Open the config.yml file and edit the api-key option so that it matches the value from the My Servers page on the website
- Give your admins and moderators the necessary permissions
Usage
The basic commands are listed here, for more information please see the commands page on the wiki. All commands can be used with no arguments to show usage information.
- /ban - Bans a player from the server. Requires the minebans.admin.ban permission.
- /unban - Removes any bans that a player currently has. Requires the minebans.admin.ban permission.
- /kick - Disconnects a player from the server. Requires the minebans.admin.kick.
- /exempt - Used to manage the exempt list. The exempt lists acts as a list of players that will be made exempt from the join checks meaning they can join even if they are over the servers limits. Requires the minebans.admin.exempt permission.
- /minebans - Provides various commands relating to the system.
Since the page needs some colour here is an example of an in-game lookup

The colours next to each reason denote that ban's severity. Limits can be configured for each ban reason and each severity.
For Developers
The plugin provides it's own API for other plugins to use, the features provided by this are documented in detail on the GitHub wiki page.
Contributing
Contributions to the project are very much welcome, if you have a feature that you want implemented and know a nice way to do it then consider forking the repo and submitting a pull request. These will be accepted as long as the following simple guidelines are followed.
- Do not edit the structure of the pom.xml file, feel free to add a dependency if you need it but the formatting and structure should not be changed.
- If you are exposing a new API method, add a JavaDoc comment to it, but don't over-comment internal code.
- Follow the existing code style, don't antagonise over every space though !
All dependencies that are used are now available from a public Maven repo, so you don't have to worry about building several other projects just to add a simple change any more.
Source Code
Dev Builds
Changes Since Last Release
Download
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Download Stats
下载 MineBans
下载 MineBans
下载 MineBans
下载 MineBans
下载 MineBans
下载 MineBans
下载 MineBans
下载 MineBans
下载 MineBans
下载 MineBans
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧