LibertyBans 是一款璀璨非凡的处罚管理武器。
为什么选择它?
现有的处罚插件都存在缺陷。它们要么被 Bug 和并发问题所困扰,要么是闭源且需要付费,或者两者兼有。
没有任何现有处罚插件能与 LibertyBans 的稳健性和开发成熟度相提并论。例如,我们的测试框架意味着许多 Bug 会被自动捕获,而不会出现在稳定版本中。
最重要的是,LibertyBans 提供了一套精美的纪律工具套件。它以清晰的设计提供了多种功能。这意味着它可以高效地扩展到大中型服务器网络,同时也能在单台服务器上运行,并提供丰富且模块化的功能集。
功能特性
- 添加和移除处罚:
- /ban, /ipban, /unban, /unbanip - 封禁或解封玩家或 IP 地址
- /mute, /ipmute, /unmute, /unmuteip - 禁言或解除玩家或 IP 地址的禁言
- /warn, /ipwarn, /unwarn, /unwarnip - 警告或撤销对玩家或 IP 地址的警告
- /kick, /ipkick - 踢出玩家或 IP 地址
- 封禁、禁言和警告的临时版本
- 所有玩家数据均使用 UUID 存储。
- 列出处罚记录:
- /banlist - 显示所有封禁记录
- /mutelist - 显示所有禁言记录
- /history - 显示某玩家的所有处罚记录
- /warns - 显示某玩家的所有警告记录
- /blame - 显示某工作人员执行的所有处罚记录
- 多种阻止小号的手段:
- 自动执行以阻止小号。默认情况下,在使用 IP 封禁时,如果主账号被封禁,小号将自动被禁止加入。 此行为可配置,您甚至可以增加检查小号的严格程度。
- 手动 /alts 命令 - 显示某玩家疑似的小号。
- 加入时的小号通知 - 当疑似有小号被封禁或禁言的玩家加入时,通知工作人员。
- 豁免权限。例如,实习生不能封禁管理员;管理员不能封禁拥有者。
- 布局与处罚模板。例如,第一次骂人禁言持续 10 天,第二次为 30 天,第三次永久禁言。支持计算原因、时间甚至处罚类型。
- 选项和行为完全可配置。您甚至可以调整连接池和语句缓存设置以微调性能。
- 该插件经过精心设计,旨在高性能且轻量级。它使用高效的 SQL 模式,直接存储 UUID 和 IP 地址的原始字节,而不是将其存储为字符串/文本。
- 完整的多代理和多实例支持。如果您使用单个代理,可以将 LibertyBans 放置在代理上,也可以放置在多个后端服务器上。
命令、权限、配置
所有内容均在 Wiki 中说明:
Wiki 包含大量信息,包括有关配置的说明。
- 配置文件注释详尽,并对选项进行了详细解释。
- 如果您更新 LibertyBans,当有新选项时,旧配置文件将自动更新。
命令
运行:
- /libertybans usage 以显示所有命令。在控制台中输入此命令时,请去掉斜杠。
创建临时处罚时,使用的命令与永久处罚相同。只需在用户名后添加时间即可:
- /ban Player1 30d This is a temporary ban
如需详细指南,请参阅 此 Wiki 页面。
设计
- 高效且轻量。无需复杂的安装过程,并避免不必要的功能。
- 可选择使用基于本地文件的数据库(HyperSQL),或远程数据库(MariaDB、MySQL、PostgreSQL)。
- 高度可扩展,强调 SQL 计算的数据库导向型性能。由于处罚几乎完全存储在数据库中,因此内存占用极低。遵循连接池和异步计算的最佳实践。
- 结构良好的 API,为其他插件提供工作框架。Dmitri 维护了一个外部 Web 界面,并使用该 API。
视频展示 - 西班牙语
视频展示 - 俄语
.
信息库
要求
- Java 17
支持的平台:
- Bukkit / Spigot / Paper / Purpur (+Folia)
- BungeeCord / Waterfall
- Fabric
- Sponge
- Velocity 3 and 4
兼容 Geyser/Floodgate 用户名和中国版。在合理的情况下支持平台分支。
通常情况下没有依赖项,除了以下平台:
- Velocity:由于 1.19+ 聊天签名机制,在 Velocity 代理上安装 LibertyBans 需要安装 SignedVelocity 才能使禁言功能正常工作。SignedVelocity 必须安装在代理和后端服务器上。
- Fabric:需要单独安装 adventure-platform-mod。
安装
对于大多数用户而言,LibertyBans 开箱即用。
如果您正在使用代理:
- 当使用单个代理时,建议在代理本身安装 LibertyBans。
- 如果您愿意配置多实例同步,LibertyBans 也可以安装在后端服务器上。
请参阅关于代理安装的 此维基页面。
外部连接
插件首次启动时,会下载其内部依赖项。这是正常现象,第一次可能需要几秒钟。之后,插件的启动速度应该会加快。用于下载依赖项的方法与将依赖项阴影化(shaded)一样安全——依赖项的预期哈希值已硬编码,因此如果下载的依赖项哈希值不同,它不会被保存到文件系统中。
趣闻
- LibertyBans 于 2020 年 7 月 4 日首次发布,这一天是美国的独立日。
- 更新通常在重大节日或重要日期当天或之后不久发布:
- 0.8.0 于 2021 年 9 月 11 日发布。
- 0.8.1 在感恩节后的第 3 天发布。
- 1.0.0 在新年后的第 2 天发布。
- 1.0.1 在情人节后的第 2 天发布。
- 1.0.2 于 2022 年 7 月 4 日发布,距离首次发布正好 2 年。
- 1.0.4 于 2022 年 9 月 11 日发布。
- 1.1.0-M1 于 2022 年圣诞节发布。
- 1.1.0-M2 在圣帕特里克节后的第 2 天发布。
- 1.1.0-M3 在 7 月 4 日后的第 5 天发布。
- 1.1.0-RC1 于 2023 年 9 月 11 日发布。
- 1.1.0-RC2 于 2024 年 2 月 29 日发布。
- 1.1.0-RC3 于 2025 年 3 月 30 日发布。
- 1.1.1 于 2025 年 7 月 4 日发布。
- 1.1.4 于 2026 年 7 月 4 日发布。
报告错误
请使用 GitHub Issues:
但更大的问题是,你真的能找到任何错误吗?
LibertyBans is the sparkling and extraordinary weapon of punishment administration.
Why?
The existing punishment plugins all have their flaws. Either they are plagued with bugs and concurrency issues, or they are closed-source and pay-walled, or both.
None of the existing punishment plugins can compare with LibertyBans' robustness and development maturity. For example, our test framework means that many bugs are caught automatically and never make it into stable releases.
Most of all, LibertyBans offers a polished suite of disciplinary tools. It provide a variety of features with a clean design. This means it can efficiently scale to large networks and operate on single servers, while still offering a rich, modular feature set.
Features
- Add and remove punishments:
- /ban, /ipban, /unban, /unbanip - bans or unbans a player or IP address
- /mute, /ipmute, /unmute, /unmuteip - mutes or unmutes a player or IP address
- /warn, /ipwarn, /unwarn, /unwarnip - warns or unwarns a player or IP address
- /kick, /ipkick - kicks a player or IP address
- Temporary versions of bans, mutes, and warns
- All player data is stored using UUIDs.
- List punishments:
- /banlist - shows all bans
- /mutelist - shows all mutes
- /history - shows all punishments for a player
- /warns - shows all warns for a player
- /blame - shows all the punishments a staff member has enacted
- Multiple means to block alt accounts:
- Automatic enforcement to block alt accounts. By default, when using IP-bans, alts are automatically banned from joining if the main account is banned. This behavior is configurable, and you can even increase the strictness of alt-checking.
- Manual /alts command - shows suspected alt accounts for a player.
- Alts notification on join - tells staff members when a player whose suspected alt is banned or muted.
- Exemption. For example, trainees cannot ban admins; admins cannot ban owners.
- Layouts & punishment templates. For example, the first mute for swearing lasts 10 days, the next is for 30 days, and the third mute is permanent. Supports calculating the reason, time, and even punishment type.
- Options and behavior are fully configurable. You can even tweak your connection pool and statement cache settings to fine-tune performance.
- The plugin is carefully designed to be performant and lightweight. It uses an efficient SQL schema which stores the raw bytes of UUIDs and IP addresses, rather than storing them as strings/text.
- Full multi-proxy and multi-instance support. You can place LibertyBans on the proxy if you use a single proxy, or on multiple backend servers.
Commands, Permissions, Configuration
Everything is explained on the wiki:
The wiki has a lot of information, including about the configuration.
- The configuration files are extensively commented and the options are explained in detail.
- If you update LibertyBans, your old configuration will be updated automatically if there are new options.
Commands
Run:
- /libertybans usage to show all commands. When typing this into your console, leave off the slash.
When creating temporary punishments, the same command is used for permanent punishments. Simply add the time after the username:
- /ban Player1 30d This is a temporary ban
For an extended guide, see this wiki page.
Design
- Effective and lightweight. No complicated installation and avoids unnecessary features.
- Option to use local file-based database (HyperSQL), or remote database (MariaDB, MySQL, PostgreSQL).
- Highly scalable, database-oriented performance emphasising calculations in SQL. Low memory usage because punishments are stored almost completely in the database. Best practices for connection pooling and asynchronous calculations are followed.
- Well-structured API providing a framework for other plugins to work with. An external web interface is maintained by Dmitri and it uses the API.
Video Showcase - Spanish
Video Showcase - Russian
.
Information Bank
Requirements
- Java 17
Supported platforms:
- Bukkit / Spigot / Paper / Purpur (+Folia)
- BungeeCord / Waterfall
- Fabric
- Sponge
- Velocity 3 and 4
Compatibility with Geyser/Floodgate usernames and China Edition. Platform forks supported where reasonable.
Mostly there are no dependencies, except for these platforms:
- Velocity: because of 1.19+ chat signing, installing LibertyBans on a Velocity proxy requires SignedVelocity for mutes to work. SignedVelocity must be installed on the proxy and backend servers.
- Fabric: requires adventure-platform-mod to be installed separately.
Installation
LibertyBans will work out-of-the-box for most users.
If you're running a proxy:
- When using a single proxy, it is recommended to install LibertyBans on the proxy itself.
- LibertyBans can also be installed on the backend servers if you are willing to configure multi-instance synchronization.
See also this wiki page on proxy installation.
External Connections
When the plugin first starts, it downloads its internal dependencies. This is normal, and can take a couple of seconds the first time. Afterward, the plugin should start faster. The method used to download dependencies is just as secure as if the dependencies were shaded – the expected hashes of the dependencies are hard-coded, so if the downloaded dependency's hash differs, it is not saved to the filesystem.
Fun Facts
- LibertyBans was first released on 4 July 2020, Independence Day in the United States of America.
- Updates are typically released on or shortly after major holidays or days of significance:
- 0.8.0 was released 11 September 2021.
- 0.8.1 was released 3 days after Thanksgiving.
- 1.0.0 was released 2 days after New Year's.
- 1.0.1 was released 2 days after Valentine's Day.
- 1.0.2 was released 4 July 2022, exactly 2 years after the first release.
- 1.0.4 was released 11 September 2022.
- 1.1.0-M1 was released on Christmas Day, 2022.
- 1.1.0-M2 was released 2 days after St. Patrick's Day.
- 1.1.0-M3 was released 5 days after July 4.
- 1.1.0-RC1 was released 11 September 2023.
- 1.1.0-RC2 was released 29 February 2024.
- 1.1.0-RC3 was released 30 March 2025.
- 1.1.1 was released on 4 July 2025.
- 1.1.4 was released on 4 July 2026.
Reporting Bugs
Please use Github issues:
But the bigger question is, can you even find any bugs?
下载 LibertyBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LibertyBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LibertyBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LibertyBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LibertyBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LibertyBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LibertyBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LibertyBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LibertyBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LibertyBans
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
请在 GitHub 上阅读发行说明
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧