本插件根据 /r/ultrahardcore 通用封禁名单自动执行封禁。设计初衷是简单易用,同时提供丰富的功能与配置选项,以及安全性和高效性。首次安装即可开箱即用,默认设置适用于大多数用户。
- 简单易用的命令
- 开箱即用,配置为可选
- 高效且有效
- 在服务器启动时自动下载并应用 /r/ultrahardcore 通用封禁名单
- 提供用于设置封禁名单豁免的命令和配置
- 可配置的封禁名单定期更新
- 默认情况下,直接从 /r/UHC Ban List Google Spreadsheet 读取封禁名单
- 可配置的封禁名单 URL,以便切换到其他提供商
- 可配置的安全设置,防止因连接封禁名单服务器而遭受拒绝服务(DoS)攻击
- 可通过命令手动强制更新 UBL
- 可通过命令手动重新加载配置设置,无需重启服务器
- 在被封禁玩家尝试加入时显示 UBL 信息
- 与服务器封禁和封禁插件兼容——你手动封禁的玩家将保持被封禁状态
| 命令 |
权限 |
描述 |
| /ubl exempt [player] |
autoubl.commands.exemption (默认 op) |
将玩家添加到豁免列表,即使他们在 UBL 上也可以加入服务器 |
| /ubl unexempt [player] |
autoubl.commands.exemption (默认 op) |
从豁免列表中移除玩家,如果他们在 UBL 上则无法加入服务器 |
| /ubl update |
autoubl.commands.update (默认 op) |
立即从 banlist-url 更新封禁名单 |
| /ubl reload |
autoubl.commands.reload (默认 op) |
从 config.yml 重新加载 AutoUBL 设置并更新封禁名单 |
在游戏中输入 /ubl 可获得详细的命令帮助。输入不带参数的命令(如果有参数),将显示该命令的详细帮助信息。
初次运行后,config.yml 位于你的 plugins 文件夹下的 AutoUBL 目录中。应仅使用简单的文本编辑器进行编辑,文件格式为 YAML。如果你不确定如何操作,请阅读你的 CraftBukkit 文档,修改方式与修改 bukkit.yml 完全相同。
- banlist-url: 检查封禁名单的 URL
- max-bandwidth: 分配给加载封禁名单的最大带宽,单位为 kB/sec(数值越大加载越快,数值越低可减少来自封禁名单服务器的拒绝服务攻击的影响)
- timeout: 连接到封禁名单服务器的超时时间(秒)(更长的时间能更好地处理较大的封禁名单,更短的时间可减少来自封禁名单服务器的拒绝服务攻击持续时间)
- retries: 如果连接失败,在回退到本地 UBL 备份之前尝试重新连接服务器的次数
- auto-check-interval: 检查 UBL 并更新它的频率(分钟)(0 表示仅在启动时检查)
- exempt: 在此服务器上不受 UBL 影响的玩家列表
你可以在服务器运行时使用以下命令重新加载 config.yml 的更改:/ubl reload
如果使用自定义封禁名单 URL,请确保所连接的服务器是可信来源。虽然设有针对源自封禁名单服务器连接的攻击的安全措施,但它们仍可按需施加或解除封禁。
源代码可在 GitHub 上获取:
想法
错误
如果你想支持本项目的持续开发、支持和维护,请考虑在 Patreon 上加入我,并进行一次性或定期的赞助。
此插件使用 Java 7
如果在安装此插件的情况下启动服务器时出现以下错误:“Unsupported major.minor version 51.0”,这意味着你使用的是过时版本的 Java。如果你不知道如何升级,请联系你的服务器托管提供商,请求他们帮助你升级到 Java 7,或联系 Oracle 客户支持。Mac OS X 用户需要 JDK 7 而不是 JRE 7。
支持频道
如果您需要帮助,可以在下方留言,我会尽快回复您。您也可以使用以下链接加入我的 IRC 聊天室,但请先阅读教程。
请在寻求支持前阅读文档
This plugin automatically applies bans based on the /r/ultrahardcore Universal Ban-List. Designed to be simple and easy to use whilst providing a wealth of features and configuration options, as well as security and efficiency. Works out-of-the-box on first install. The default settings should be good for the majority of users.
- Simple easy-to-use commands
- Works out-of-the-box, configuration is optional
- Highly efficient and effective
- Automatically downloads and applies the /r/ultrahardcore Universal Ban-List on server startup
- Commands and configuration to set up exemptions to the ban-list
- Configurable regular updates of the ban-list
- By default, reads the ban-list directly from the /r/UHC Ban List Google Spreadsheet
- Configurable ban-list URL for switching to an alternative provider
- Configurable security settings to prevent DoS attacks from the connection of the ban-list server
- Manually force a UBL update using a command
- Manually reload configuration settings using a command without needing to restart
- Displays UBL information to banned players on join attempt
- Compatible with server bans and ban plugins - Anyone you ban manually will stay banned
| Command |
Permission |
Description |
| /ubl exempt [player] |
autoubl.commands.exemption (default op) |
Adds a player to the exempt list so that they can join the server even if they are on the UBL |
| /ubl unexempt [player] |
autoubl.commands.exemption (default op) |
Removes a player to the exempt list so that they cannot join the server if they are on the UBL |
| /ubl update |
autoubl.commands.update (default op) |
Update the banlist from the banlist-url immediately |
| /ubl reload |
autoubl.commands.reload (default op) |
Reload AutoUBL settings from the config.yml and update the banlist |
Detailed command help is available in-game by typing /ubl. Typing any command without its parameters (if it has any), will display detailed help for that command
The config.yml can be located in your plugins folder under AutoUBL after first run. It should be edited using a simple text editor only and is in YAML format. If you are unsure how to do this, please read your CraftBukkit documentation, it is exactly the same as modifying the bukkit.yml.
- banlist-url: The URL to check for the banlist
- max-bandwidth: The maximum bandwidth to allocate to loading the banlist in kB/sec (faster values load the banlist quicker, lower values reduce the impact of denial of service attacks from the banlist server)
- timeout: The time in seconds before the connection to the ban-list server times out (longer time deals with larger ban-lists better, shorter time reduces the duration of denial of service attacks from the ban-list server
- retries: How many times to attempt to reconnect to the server if it fails to connect before falling back on the local UBL backup
- auto-check-interval: How often (in minutes) to check the UBL and update it (0 for startup only)
- exempt: a list of players exempt from the UBL on this server
You can reload changes to the config.yml while the server is running using: /ubl reload
If you use a custom ban-list URL, ensure that the server you are connected to is a trusted source. Although there are security measures against attacks originating from the connection to the ban-list server, they will still be able to apply and lift bans as they choose.
Sources are available on GitHub:
Ideas
Bugs
If you'd like to contribute towards the continued development, support and maintenance of this project, please consider joining me on Patreon, and making a one-time or recurring pledge.
This plugin uses Java 7
If you get the followed error on starting up the server with this plugin installed "Unsupported major.minor version 51.0". This means you are using an out of date version of Java. If you don't know how to upgrade, please contact your server hosting provider and ask them for help in upgrading to Java 7, or contact Oracle customer support. Mac OS X users require JDK 7 instead of JRE 7.
Support Channel
If you need help you can leave a comment below and I will get back to you as soon as I can. You can also join my IRC chatroom using the following link, but please read the tutorial first.
Please read the documentation before asking for support
评论 0
登录后参与评分
还没有评论,来抢沙发吧