TartarusPunishements
Ban with Simplicity.
Tartarus Punishments 是一款轻量级、基于权限的 Minecraft 服务器(Bukkit/Paper/Purpur/Spigot)管理插件。
通过预定义或自定义理由轻松管理封禁和临时处罚——非常适合需要简洁、可配置处罚系统的小型至中型服务器。
✅ 主要功能
- 惩罚与宽恕 — 应用或移除处罚选项(封禁、静音、监禁、屏幕共享)
- 临时与永久处罚 — 支持灵活的持续时间(永久、限时)
- 监禁系统 — 冻结玩家并将其传送至指定的监狱位置
- 屏幕共享流程 — 为屏幕共享检查冻结玩家,并自动解冻
- 预定义理由 + 自定义理由 — 使用内置的理由模板或自行定义
- 基于权限的控制 — 针对每种处罚类型提供细粒度的权限节点
- 可定制的消息与布局 — 支持颜色代码或传统代码,每个理由均可配置消息模板
- 自动默认消息 — 智能回退消息,防止未提供消息时导致服务器崩溃或配置错误
- IP 封禁 — 结合 UUID 封禁实现自动 IP 封禁
- 物品栏清理 — 可选在封禁时清理物品栏(可按理由配置)
- 异步数据库操作 — 非阻塞式处罚查询,确保最佳服务器性能
- 完全可配置 — 所有设置均在 config 文件中暴露;易于根据您的服务器风格进行调整
- 安装简便且轻量 — 将 JAR 文件放入 Bukkit/Spigot/Paper/Purpur 服务器的 plugins 文件夹即可运行
- 活跃开发与更新日志 — 频繁更新、修复 bug 并进行改进
? 性能特性 (v0.2.2+)
Tartarus Punishments 旨在实现最佳服务器性能:
- 异步玩家查找:玩家搜索在主线程之外运行
- 异步数据库查询:处罚验证不会阻塞服务器
- 异步加入处理:玩家登录数据异步加载
- 优化的 Tab 补全:仅搜索在线玩家以即时返回结果
即使在重度管理活动期间,您的服务器也能保持响应灵敏!
⚙️ 支持的平台与版本
- 加载器: Bukkit, Spigot, Paper, Purpur
- Minecraft 版本: 1.21.x
- Java 21+
兼容任何基于 Bukkit 的服务器——从小型 SMP 到中型社区均可使用。
权限
tartarus.punishments.punish – 处罚玩家
tartarus.punishments.forgive – 移除处罚
tartarus.punishments.banlist – 查看封禁列表
tartarus.punishments.prison – 监禁(冻结)玩家
tartarus.punishments.setprison – 设置监狱位置
tartarus.punishments.screenshare – 为屏幕共享冻结玩家
tartarus.punishments.* – 所有处罚权限
命令
/punish <player> <reason> (别名: /ban, /banplayer)
/forgive <player> (别名: /unban, /pardon)
/banlist (别名: /bans)
/prison <player> <duration>
/setprison
/screenshare <player>
? 为什么选择 Tartarus Punishments?
| ✔️ 优势 |
详情 |
| 简单而强大 |
提供全面的管理功能,无冗余也不复杂 |
| 可定制且灵活 |
自定义理由、持续时间、消息——适应任何服务器风格 |
| 基于权限驱动 |
控制谁能处罚谁,并与权限插件集成 |
| 性能优化 |
异步操作防止在处罚查询期间造成服务器卡顿 |
| 轻量且易用 |
SQLite 数据库,依赖极少,无需复杂设置 |
| 活跃维护 |
定期更新和 bug 修复确保可靠性 |
对于不需要重型一体化管理套件,但希望拥有简洁、可靠处罚系统的服务器——Tartarus Punishments 正是理想之选。
? 近期更新日志 (自 0.2.0 起)
v0.2.2 (最新版)
-
性能优化:将所有数据库操作移至异步线程,实现零主线程阻塞
-
代码重构:引入 TartarusCommand 基类以提高代码复用性
-
玩家查找优化:创建 PlayerFinder 工具以实现高效的异步玩家搜索
-
加入监听器优化:异步加载处罚数据,防止登录冻结
-
Tab 补全修复:命令现在通过 TabExecutor 正确支持 Tab 补全
-
代码清理:移除了约 53 行不必要的冗长注释,以提高可维护性
-
添加了支持命名颜色或传统代码的可配置封禁消息布局
-
自定义封禁消息行现在支持在省略颜色时智能回退默认值
-
更新时自动填充缺失的 ban-message 配置字段,避免破坏配置
-
元数据和 1.21.x 兼容性更新
完整更新日志请参阅“Versions”标签页。
? 安装指南
- 从 Modrinth 的 Releases 页面下载最新的
TartarusPunishments-*.jar
- 将其放入服务器的
plugins 文件夹中(适用于 Bukkit/Paper/Spigot/Purpur)
- (重新)启动服务器
- 根据需要配置
config.yml——或使用默认设置
- 使用权限和命令来管理处罚
ARR 许可证 —— 详情请参见项目页面。
TartarusPunishements
Ban with Simplicity.
Tartarus Punishments is a lightweight, permission-based moderation plugin for Minecraft servers (Bukkit/Paper/Purpur/Spigot).
Easily manage bans & temporary punishments with predefined or custom reasons — perfect for small to medium-sized servers needing a clean, configurable punishment system.
✅ Key Features
- Punish & Forgive — Apply or remove punishment options (ban, mute, prison, screenshare)
- Temporary & Permanent Punishments — Flexible duration support (permanent, timed)
- Prison System — Freeze and teleport players to a designated prison location
- Screenshare Workflow — Freeze players for screenshare checks with automatic unfreezing
- Predefined Reasons + Custom Reasons — Use built-in reason templates or define your own
- Permission-based Controls — Fine-grained permission nodes for each punishment type
- Customizable Messages & Layouts — Color or legacy codes, configurable message templates per reason
- Automatic Default Messages — Smart fallback messages if none provided (avoids server crashes or misconfig)
- IP Banning — Automatic IP bans with UUID-based bans
- Inventory Clearing — Optional inventory clearing on ban (configurable per reason)
- Async Database Operations — Non-blocking punishment checks for optimal server performance
- Fully Configurable — All settings exposed in config file; easy to tailor for your server style
- Easy Setup & Lightweight — Drop JAR into plugins folder on Bukkit/Spigot/Paper/Purpur; ready to go
- Active Development & Changelog — Frequent updates, bug-fixes, and improvements
? Performance Features (v0.2.2+)
Tartarus Punishments is designed for optimal server performance:
- Async Player Lookups: Player searches run off the main thread
- Async Database Checks: Punishment verification doesn't block the server
- Async Join Processing: Player login data loads asynchronously
- Optimized Tab Completion: Only searches online players for instant results
Your server will remain responsive even during heavy moderation activity!
⚙️ Supported Platforms & Versions
- Loaders: Bukkit, Spigot, Paper, Purpur
- Minecraft Versions: 1.21.x
- Java 21+
Compatible on any Bukkit-based server — from small SMPs to mid-sized communities.
Permissions
tartarus.punishments.punish – Punish a player
tartarus.punishments.forgive – Remove a punishment
tartarus.punishments.banlist – View the ban list
tartarus.punishments.prison – Imprison (freeze) players
tartarus.punishments.setprison – Set the prison location
tartarus.punishments.screenshare – Freeze players for screenshares
tartarus.punishments.* – All punishment permissions
Commands
/punish <player> <reason> (aliases: /ban, /banplayer)
/forgive <player> (aliases: /unban, /pardon)
/banlist (aliases: /bans)
/prison <player> <duration>
/setprison
/screenshare <player>
? Why Use Tartarus Punishments?
| ✔️ Benefit |
Details |
| Simple yet powerful |
Provides comprehensive moderation without bloat or complexity |
| Customizable & flexible |
Customize reasons, durations, messages — fits any server style |
| Permission-driven |
Control who can punish who, integrate with permission plugins |
| Performance optimized |
Async operations prevent server lag during punishment checks |
| Lightweight & easy |
SQLite database, minimal dependencies, no complex setup |
| Active & maintained |
Regular updates and bug fixes ensure reliability |
For servers that don't need heavy all-in-one moderation suites, but want a clean, dependable punishment system — Tartarus Punishments hits the sweet spot.
? Recent Changelog (since 0.2.0)
v0.2.2 (Latest)
-
Performance Optimization: Moved all database operations to async threads for zero main-thread blocking
-
Code Refactoring: Introduced TartarusCommand base class for better code reusability
-
Player Lookup Optimization: Created PlayerFinder utility for efficient async player searches
-
Join Listener Optimization: Async punishment data loading prevents login freezes
-
Tab Completion Fix: Commands now properly support tab completion via TabExecutor
-
Code Cleanup: Removed ~53 lines of unnecessary verbose comments for better maintainability
-
Added configurable ban message layouts supporting named colours or legacy codes
-
Custom ban message lines now support smart defaulting if colours are omitted
-
Auto-populate missing ban-message config fields on update to avoid breaking configurations
-
Metadata and compatibility update for 1.21.x
Full changelog available in “Versions” tab.
? Installation
- Download the latest
TartarusPunishments-*.jar from Releases on Modrinth
- Place it in your server’s
plugins folder (Bukkit/Paper/Spigot/Purpur)
- (Re)start the server
- Configure
config.yml as needed — or use defaults
- Use permissions and commands to manage punishments
Licensed ARR — see project page for details.
评论 0
登录后参与评分
还没有评论,来抢沙发吧