
HammerBan 是一款轻量级的竞争性死亡管理模组,专为希望在不永久失去硬核世界存档的前提下拥有后果机制的 SMP 服务器设计。它采用二次方缩放公式:你死亡次数越多,被禁用的时间就越长。

-
三种死亡分类: 分别追踪 PvP、敌对生物和自然死亡。
-
二次方缩放: 死亡惩罚从最初的 2-15 分钟短暂超时开始,但对于频繁“常客”会逐步增加至最长 48 小时的封禁。
-
3 天现实周期: 所有死亡统计数据每 72 小时自动重置,让每个人都能重新开始,并拥有回归的理由。
-
零冗余存储: 使用 Minecraft 原生的计分板系统。无需额外文件或数据库,对服务器性能毫无影响。
-
管理员控制: 提供简单的 /hammerban reset <player> 命令供 OP 展示仁慈或管理活动。
• 此外还有 /hammerban stats 可查看你的统计数据。

共有三种类型的死亡,每种都有对应的计算公式和硬性上限。
自然死亡: 2+(x^2*2) | 上限:4 小时
敌对生物: 5+(x^2*5) | 上限:12 小时
PvP: 15*x^2 | 上限:48 小时

玩家在死亡后会获得 2 秒的“宽限期”——这段时间足以避免在断开连接前产生任何 Bug,随后会通过自定义踢出屏幕将其断开连接。
适用于 1.21.8(Mojang Mappings)。需要 Fabric API。
路线图
初始版本 - 1.0
这是一个相当基础的基础版本,有一些起伏,标志着开端!
**当前版本 - 1.1
**
**更新日志:
**
添加了一个延迟机制,因为我注意到当它在断开连接并封禁你时,速度比那些在你处于战斗状态时因断开连接而封禁你的模组更快。基本上就是让你以某种方式死两次。
还添加了 /hammerban reset <player> 命令。
**即将推出...
**
-
我将添加一个Discord 机器人系统,当有人死亡并被封禁时,它会显示一条消息,说明被封禁了多久、何时以及为何原因。
-
根据用户反馈,我将添加其他功能,例如**“赏金”系统**(死亡次数最少的用户会有发光效果,当他们被击杀时会给予奖励)。
-
待完成!

HammerBan is a lightweight, competitive death-management mod designed for SMPs that want consequences without the permanent loss of a Hardcore world. Using a Quadratic Scaling Formula, the more you die, the longer you stay out.

-
Three Death Categories: Separate tracking for PvP, Hostile Mobs, and Natural Deaths.
-
Quadratic Scaling: Deaths start with minor 2-15 minute timeouts but scale up to 48-hour bans for frequent flyers.
-
3-Day IRL Cycle: All death stats automatically reset every 72 hours, giving everyone a fresh start and a reason to return.
-
Zero-Bloat Storage: Uses Minecraft's native Scoreboard system. No extra files, no databases, and zero impact on server performance.
-
Admin Control: Simple /hammerban reset <player> command for OPs to show mercy or manage events.
• There also is a /hammerban stats to see your stats.

There are three types of death, and for each there is a formula, and a hard cap.
Natural: 2+(x^2*2) | Max: 4h
Hostile: 5+(x^2*5) | Max: 12h
PvP: 15*x^2 | Max: 48h

Players receive a 2-second "grace period" after death—long enough to not create any bugs before being disconnected with a custom kick screen.
Built for 1.21.8 (Mojang Mappings). Requires Fabric API.
Roadmap
Initial Version - 1.0
This is pretty basic version, it has some ups and down and marks the beginning !
**Current Version - 1.1
**
**Changelog :
**
Added a delay because I noticed that when it disconnects and ban you, it is faster than mods that ban you for Disconnecting when in combat. Basically just making you die twice, somehow.
Also added the /hammerban reset <player> command.
** Upcomoing...
**
-
I will be adding a** system of Discord bot**, that will show a message when someone dies and is banned, for how long, when and why.
-
Depending on user reviews, I'll be adding other things such as a "bounty" system (users with the least deaths have a glowing effects, and rewards are given when they are killed).
-
To be done!
评论 0
登录后参与评分
还没有评论,来抢沙发吧