BanHammer ?
让每一场战斗都至关重要——给你的管理团队一把真正有分量的锤子。
使用 Ban Hammer(封禁锤) 击败对手即可将其封禁。要解除封禁,请使用 Pardon Hammer(赦免锤) 击败其攻击者,然后选择一名或所有符合条件的玩家进行赦免。你可以围绕这些物品构建生存挑战,或者启用独立的管理员模式用于日常Moderation。
生存模式的锤子,由你定规
- 支持临时或永久封禁,可配置的冷却时间以及自定义封禁理由。
- Ban(封禁)和 Pardon(赦免)的游戏玩法开关相互独立,支持世界排除、可选的操作员/绕过保护、仅限生存的规则以及击杀归属设置。
- 可选择在成功操作后保留或消耗 Ban Hammer。
- 自定义材质、名称、lore(描述)、原版附魔、属性、发光效果、不可破坏性、模型数据、音效和粒子效果。
- 在游戏中创建你的合成配方:输入
/bh craft可直接打开合成编辑器。放置材料和工作台结果,保存并启用该配方;已保存的配方在服务器重启后依然保留。材料匹配使用的是原版材质标识,而非物品名称或 lore。 /bh打开管理菜单;/bh doctor检查安装状态和配方状态。
在 Minecraft 尚未推出 mace(重锤)之前,默认物品回退为 netherite axe(下界合金斧)。可选的资源包可为其赋予锤子的外观;但这并不会向较旧版本的服务器添加新版原版的“砸击”机制。
管理员 Moderation ?️
管理员模式需在锤子上显式启用,从而将普通生存物品与之区分开来。右键点击玩家可使用选定的封禁预设;左键点击执行踢出或监禁操作。潜行点击可循环切换独立的预设,或使用 /bh preset 进行选择。短距离左键瞄准会检测实体方块遮挡,且有效范围上限为五个方块。
- 封禁与 IP 封禁: 支持理由、临时/永久时长、自动过期及手动释放。
- 清除封禁屏幕: 可配置彩色分隔线,显示玩家、理由、管理员、剩余时间、过期日期及服务端占位符。
- 静音: 可配置屏蔽聊天、命令、告示牌编辑和书本编辑。
- 监禁: 支持保存位置、移动边界、命令/传送限制、伤害保护以及返回原位功能。
/bh setjail设置内置监禁位置。 - 警告: 支持过期时间、可配置的阈值以及自动临时封禁策略;被消耗的警告防止同一阈值被无限次重复触发。
- 申诉: 已连接的玩家可提交申诉;管理员可查看、批准或拒绝。批准后将解除特定的关联处罚。被封禁的玩家无法加入游戏输入命令,因此需要依赖外部的申诉流程。
- 记录: 持久化历史记录、活跃处罚列表、管理员统计信息、排行榜以及受保护的管理仪表盘。
- 预设: 包括持续时间、理由、IP 封禁模式、音效、视觉闪电效果、粒子效果和限定的击退效果。可选的管理员锤子方块保护功能有助于避免意外破坏。
默认情况下,行政封禁受到保护,不受普通生存模式下 Pardon 游戏玩法的影响。通过单个权限、自我目标保护、可选的操作员/绕过保护以及动作冷却来控制访问权限。
可选武器效果
更倾向于使用普通的剑或斧?可通过配置或 /bh enchant on 启用服务端管理的 Ban/Pardon 附魔效果。该功能默认关闭。
可配置允许的武器、效果名称、最大等级、经验等级成本、命令应用以及每级的封禁时长倍率。/bh enchant ban 2 将封禁效果应用于手中符合条件的武器;/bh enchant pardon 1 应用赦免效果;/bh enchant remove 移除该效果。禁用此功能会暂停现有效果,直到重新启用。
这是一个持久的插件效果,并非注册在原版附魔台中的附魔。它不会生成附魔书、无法通过铁砧转移,也不会新增客户端内容。赦免等级会被存储和显示,但不会增加赦免的数量。
可选资源包
你可以通过 moderation.yml 提供自己的兼容资源包,指定 HTTPS URL 和 SHA-1 哈希值,并自定义提示信息和可选的加入时推送。输入 /bh pack 即可推送该资源包;拒绝永远不会导致玩家断开连接。/bh pack apply 会为现有的真实锤子更新模型数据。
模型值默认为 Ban 使用 710001,Pardon 使用 710002。单独的原始 BanHammer Visuals alpha 版本包含 MACE/NETHERITE_AXE 模型,并提供精确版本的 ZIP 包。其归档/JSON 检查已通过;图形化的 Minecraft 渲染效果尚未经过验证。其他材质需要匹配的模型。如有必要,请将物品定义与现有的服务器资源包合并;可选的 ViaVersion 协议变体可配置,但未单独认证混合客户端集成。
语言与配置 ?
提供了英文和法文的生存消息文件。Moderation 消息预设包括英文、法文和德文。你可以将可编辑的 UTF-8 消息值翻译为你服务器的语言,选择 lang 并重新加载。缺失的生存语言文件会接收一个可编辑的英文模板;Moderation 消息键值则回退到英文。部分命令反馈和 GUI 标签仍保持固定语言,因此这是本地化的一部分,而非自动翻译成所有语言。
首次启动时会自动在 plugins/BanHammer/ 目录下生成配置文件。带有注释的文件将游戏玩法、Moderation、可选统计信息和自动更新分开存放。你可以自定义物品外观、配方、保护措施、权限、持续时间、经验成本、预设、消息、存储、历史记录保留时间和资源包分发。现有游戏玩法设置在更新过程中得以保留。
性能、持久性与安全措施
- 事件驱动的游戏玩法与缓存的活跃制裁;无需每刻扫描世界/物品栏。
- 后台数据库工作;新的管理制裁在执行前即持久化。SQLite 使用 WAL(预写式日志);MySQL 兼容后端已在 MariaDB 上测试通过。
- 定期可配置的过期/同步检查,限制化的 Webhook 工作与操作冷却时间。
- 预编译 SQL 语句、可配置的 IP 显示隐私以及用于 IP 制裁的带密钥 HMAC 匹配。HMAC 是一种伪匿名化手段;服务器/代理日志中仍可能包含 IP 地址。
- 受保护的物品栏菜单,并经过测试以防止在封禁/死亡/赦免/重新加入后保留重复的受害者锤子。
- 可取消的前惩罚 API 事件、应用/释放事件,以及可选的 Discord 通知。Discord 消息传递和 Essentials 监狱查询功能已实现,但未获得外部运行时认证。
- 可选的 bStats 统计和可配置的匹配版本更新下载,将在下次服务器重启时生效。两者均非游戏必需;更新不会强制重启服务器。
请使用专用数据库服务于每个服务器。1.3 版不支持完整的代理/共享网络解封协调;远程数据库发布可能导致另一台服务器的永久原生封禁状态残留。不保证通用兼容性、零延迟或玩家容量上限。
命令与快速安装
将精确版本的 Bukkit JAR 放入 plugins/ 目录并重启服务器。无需客户端模组。配方默认禁用,直到保存/启用后才可用。
/bh give YourName ban 1
/bh craft [ban|pardon]
/bh staff
/bh staff give YourName
/bh preset <ban|utility> <name>
/bh modgui
/bh ban|ipban|mute|jail <player> <duration> [reason]
/bh kick|warn <player> [reason]
/bh unban|unmute|unjail <player>
/bh history|warnings <player>
/bh stats [player]
/bh top
/bh active [type]
/bh setjail
/bh appeal <message>
/bh appeals
/bh approve|deny <appeal-id> [note]
/bh enchant <on|off|ban|pardon|remove>
/bh pack [apply]
/bh cooldown|reset|reload|info|help
/bh doctor
时长参数可使用如 30m、2h、7d、ISO-8601 格式时长或 permanent(永久)。自我惩罚及权限不足将被拒绝。管理功能默认面向操作员,支持独立权限节点及过滤补全。/bh 别名包括 /banhammer、/banhamer、/banhler 和 /masse。当其他插件占用了裸别名时,请优先使用 /bh mute 等完整命令。
版本、精确版本测试及可选统计
上述功能描述适用于 Bukkit 1.3.0,兼容对应的 Spigot/Paper 及其衍生分支。独立的 Fabric、Forge、NeoForge、Quilt、Folia 和 Sponge Alpha 版保留了其之前的核心 Ban/Pardon 游戏玩法。它们不包含新的 Bukkit 管理套件、菜单、合成编辑器、可选武器效果或新的包分配功能。Fabric 需要对应版本的 Fabric API;Quilt 需要对应版本的 QFAPI。请勿将模组 JAR 作为 Bukkit 插件安装,也不要期望通过切换版本来实现数据库迁移。
针对其精确 API 编译了 29 个 Bukkit 变体:24 个通过了客户端合成/配置/权限/重启回归测试;5 个 26.x 版本仅通过了启动/控制台测试。全新的管理场景已在 Paper 1.19 和 1.21.1 上全部通过;MariaDB 持久化功能已在 Paper 1.21.1 上测试通过。生存战斗与防复制功能在 Paper 1.21.11 上使用普通物品及可选武器效果测试通过。每个文件的更新日志均说明了其实际范围;其他兼容性构建仍处于 Beta 阶段。
32 项动作测试衡量的是队列制裁和持久化能力,而非实时服务器的 TPS 容量。原生 Alpha 版保留其已公布的局限性,包括 Sponge 1.21.9 的赦免问题和 Forge 1.21.9 的关闭问题。请在安装前检查您选择的文件。
bStats 统计参与服务器数量和在线玩家数,而非唯一下载量。请配置 metrics.yml 或 bStats 的全局退出选项。更新下载使用 updates.yml。
Raylix2 的其他作品:KarmaCore · SmartLoot。
BanHammer ?
Make every fight count — and give your staff a hammer that means business.
Defeat a rival with the Ban Hammer to ban them. To bring them back, defeat their attacker with the Pardon Hammer, then choose one or all eligible players to pardon. Build a survival challenge around these items, or enable a separate staff mode for everyday moderation.
Download your server's edition · Wiki
Survival hammers, your rules
- Temporary or permanent bans, configurable cooldowns and a custom reason.
- Independent switches for Ban and Pardon gameplay, world exclusions, optional operator/bypass protection, survival-only rules and kill-attribution settings.
- Keep or consume the Ban Hammer after a successful action.
- Customize materials, names, lore, vanilla enchantments, attributes, glow, unbreakability, model data, sounds and particles.
- Create your recipes in game:
/bh craftopens the crafting editor directly. Place the ingredients and result, save and enable the recipe; saved recipes survive restart. Ingredient matching uses vanilla material identity rather than ingredient names/lore. /bhopens the administration menu;/bh doctorchecks the installation and recipe state.
Before Minecraft's mace exists, the default item falls back to a netherite axe. An optional resource pack can give it a hammer appearance; it does not add newer vanilla smash mechanics to an older server.
Staff moderation ?️
Staff mode is explicitly enabled on a hammer, keeping ordinary survival items separate. Right-click a player to use the selected ban preset; left-click for a kick or jail action. Sneak-click to cycle the independent presets, or select one with /bh preset. Short-range left-click targeting checks solid-block obstruction and is capped at five blocks.
- Bans and IP bans: reasons, temporary/permanent durations, automatic expiry and manual release.
- Clear ban screen: configurable colored lines with player, reason, staff member, remaining time, expiration date and server placeholders.
- Mutes: configurable blocking of chat, commands, sign edits and book edits.
- Jail: a saved location, movement boundary, command/teleport restrictions, damage protection and return to the previous position.
/bh setjailsets the built-in location. - Warnings: expiration, configurable thresholds and an automatic temporary ban policy; consumed warnings prevent the same threshold from being reused indefinitely.
- Appeals: connected players can submit an appeal; staff can view, approve or deny it. Approval releases the specific linked sanction. Banned players need your external appeal process because they cannot join to type a command.
- Records: persistent history, active-sanction lists, staff statistics, a leaderboard and a protected moderation dashboard.
- Presets: duration, reason, IP-ban mode, sound, visual lightning, particles and bounded knockback. Optional staff-hammer block protection helps avoid accidental breaks.
Administrative bans are protected from ordinary survival Pardon gameplay by default. Individual permissions, self-target protection, optional operator/bypass protection and an action cooldown control access.
Optional weapon effects
Prefer using an ordinary sword or axe? Enable the server-managed Ban/Pardon enchantment effect through configuration or /bh enchant on. It is disabled by default.
Configure allowed weapons, effect names, maximum level, XP-level cost, command application and the ban-duration multiplier per level. /bh enchant ban 2 applies the ban effect to the held eligible weapon; /bh enchant pardon 1 applies the pardon effect; /bh enchant remove removes it. Disabling the feature pauses existing effects until re-enabled.
This is a persistent plugin effect, not an enchantment registered in the vanilla enchanting table. It does not create enchanted books, anvil transfer or new client content. Pardon levels are stored/displayed but do not increase the number pardoned.
Optional resource packs
You can supply your own compatible pack through an HTTPS URL and SHA-1 in moderation.yml, with a custom prompt and optional join offer. /bh pack offers it; refusing never disconnects the player. /bh pack apply updates model data on existing genuine hammers.
Model values default to 710001 for Ban and 710002 for Pardon. The separate original BanHammer Visuals alpha includes MACE/NETHERITE_AXE models in exact-version ZIPs. Its archive/JSON checks passed; graphical Minecraft rendering remains unverified. Other materials require matching models. Merge item definitions with an existing server pack when necessary; optional ViaVersion protocol variants can be configured, but mixed-client integration is not separately certified.
Languages and configuration ?
English and French survival message files are provided. Moderation message presets include English, French and German. You can translate editable UTF-8 message values into your server's language, choose lang and reload. Missing survival language files receive an editable English template; moderation message keys fall back to English. Some command feedback and GUI labels remain fixed-language, so this is partial localization, not automatic translation into every language.
First startup generates configuration automatically in plugins/BanHammer/. Commented files separate gameplay, moderation, optional statistics and automatic updates. Customize item appearance, recipes, protections, permissions, durations, XP costs, presets, messages, storage, history retention and pack delivery. Existing gameplay settings are preserved across updates.
Performance, persistence and safeguards
- Event-driven gameplay and cached active sanctions; no per-tick world/inventory scan.
- Background database work; new moderation sanctions are persisted before enforcement. SQLite uses WAL; the MySQL-compatible backend was tested with MariaDB.
- Periodic configurable expiry/synchronization checks, bounded webhook work and action cooldowns.
- Prepared SQL statements, configurable IP-display privacy and keyed HMAC matching for IP sanctions. HMAC is pseudonymization; server/proxy logs can still contain IP addresses.
- Protected inventory menus and tested prevention of retaining a duplicate victim hammer after ban/death/pardon/rejoin.
- Cancellable pre-punishment API events, applied/released events, and optional Discord notifications. Discord delivery and Essentials jail lookup are implemented but not externally runtime-certified.
- Optional bStats and configurable matching-version update downloads, applied on the next server restart. Neither is required to play; updates do not force a restart.
Use a dedicated database per server. Full proxy/shared-network unban reconciliation is not supported in 1.3; a distant database release can leave another server's permanent native ban in place. No universal compatibility, zero-lag or player-capacity guarantee is claimed.
Commands and quick installation
Install one exact-version Bukkit JAR in plugins/ and restart. No client mod is required. Recipes start disabled until saved/enabled.
/bh give YourName ban 1
/bh craft [ban|pardon]
/bh staff
/bh staff give YourName
/bh preset <ban|utility> <name>
/bh modgui
/bh ban|ipban|mute|jail <player> <duration> [reason]
/bh kick|warn <player> [reason]
/bh unban|unmute|unjail <player>
/bh history|warnings <player>
/bh stats [player]
/bh top
/bh active [type]
/bh setjail
/bh appeal <message>
/bh appeals
/bh approve|deny <appeal-id> [note]
/bh enchant <on|off|ban|pardon|remove>
/bh pack [apply]
/bh cooldown|reset|reload|info|help
/bh doctor
Use durations such as 30m, 2h, 7d, ISO-8601 durations or permanent. Self-punishment and insufficient permissions are rejected. Administration defaults to operators, with individual permission nodes and filtered completion. /bh aliases include /banhammer, /banhamer, /banhler and /masse. Prefer /bh mute, etc. when another plugin owns a bare alias.
Editions, exact-version testing and optional statistics
The features above describe Bukkit 1.3.0 for matching Spigot/Paper and compatible forks. Separate Fabric, Forge, NeoForge, Quilt, Folia and Sponge alphas retain their previous core Ban/Pardon gameplay. They do not include the new Bukkit moderation suite, menus, crafting editor, optional weapon effects or new pack assignment. Fabric requires matching Fabric API; Quilt requires matching QFAPI. Do not install a mod JAR as a Bukkit plugin or swap editions expecting database migration.
29 Bukkit variants compiled against their exact APIs: 24 passed the client crafting/configuration/permission/restart regression; 5 versions 26.x passed startup/console only. Full new moderation scenarios passed on Paper 1.19 and 1.21.1; MariaDB persistence was tested on Paper 1.21.1. Survival combat and anti-duplication passed on Paper 1.21.11 with ordinary items and the optional weapon effect. Each file's changelog states its actual scope; other compatibility builds remain beta.
The 32-action test measures queued sanctions and persistence, not a live-server TPS capacity. Native alphas keep their published limitations, including Sponge 1.21.9 pardon and Forge 1.21.9 shutdown issues. Check your chosen file before installation.
bStats counts participating servers and online players, not unique downloads. Configure metrics.yml or bStats' global opt-out. Update downloads use updates.yml.
Also from Raylix2: KarmaCore · SmartLoot.
下载 BanHammer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BanHammer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BanHammer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BanHammer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BanHammer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BanHammer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BanHammer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BanHammer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BanHammer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 BanHammer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
BanHammer 1.3 — 管理员工具与可选视觉效果
默认的普通生存模式禁令/赦免锤保持不变。在手持 Ban Hammer 时通过 /bh staff 启用独立的管理员模式:右键点击执行封禁,左键点击执行踢出或监禁,潜行点击切换可配置的预设。增加了管理命令、静音、警告策略、监禁、历史记录、统计信息、申诉功能,支持 SQLite/MySQL 存储以及可取消的 API 事件。
封禁界面显示原因、剩余时长和管理员归属。/bh pack 提供可选的视觉包;拒绝安装不会导致被踢出。旧版本使用下界合金斧作为回退方案。独立的原始 3D 资源包处于 Alpha 阶段,其图形渲染效果尚未经过验证。自定义模型值为 710001/710002。
修复了在 Bukkit 预测到被取消的空气点击并接受 permanent(永久)而尚未完成 ISO-8601 时长解析时的预设循环问题。数据库更改在执行前提交;临时过期和持久化已通过自动化测试覆盖。默认情况下,普通生存模式的赦免玩法无法撤销管理员制裁。
安装确切的 Minecraft JAR 文件,备份 BanHammer 文件夹和服务器的封禁文件,替换旧的 JAR 文件,然后重启服务器。输入 /bh craft 可直接进入合成界面。在 moderation.yml 中配置新选项;保留你现有的游戏玩法配置。如果其他插件占用了裸别名(bare alias),请使用 /bh mute 等完整命令。无需客户端模组。
精确文件验证 — Minecraft 1.21.3, paper: 自动化的客户端通过了命令、权限、合成/配置、可选武器效果和配方持久性测试,且在干净重启后依然有效。新的管理场景未在此确切的 Minecraft 版本上重复测试;此兼容性构建为 Beta 版本。相同的源代码在 Paper 1.19 和 1.21.1 上通过了完整的场景测试。生存模式的封禁/赦免和死亡物品防复制已在 1.21.11 Bukkit 构建上单独测试。MySQL 兼容的持久化功能在 Paper 1.21.1 上使用 MariaDB 11.4.13 进行了测试。这不保证玩家容量或 TPS 性能。Discord 推送、Essentials 监禁集成、其他分支/整合包以及图形客户端渲染均未获得独立认证。每个服务器请使用一个数据库;不支持完整的代理/网络解封协调。现有的原生/Folia/Sponge Alpha 版本不会获取 Bukkit 1.3 的功能。
SHA-256: f4571ca5d49a6ea7a24e020952ffca5a32ff8ef287a70f50f2ad50f32af93fac
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧