BanHammer
by raylix2
BanHammer, from author raylix2, gives operators hammer items that ban players for set durations, and a pardon hammer that lifts those bans.
What it does
Holding a ban hammer and striking a player applies a ban for a time set in the config, from a fixed number of seconds to permanent, and the ban can be lifted with a pardon hammer. The mod covers high-stakes PvP, where a death can be paired with an until-death inventory transaction, so a ban can come with items dropped or held in escrow.
The mod is built for Fabric, Forge and NeoForge, and also has a Spigot and Paper edition for servers that run plugins instead of mod loaders. Fabric needs Fabric API. Operators need permission level 2 to use the administration tools. Files are released under All rights reserved, so the code is not open source.
Single-player and integrated servers run the mod with other validated mods. Dedicated server validation is listed per version, and only the editions and game versions named in the release notes have been tested with vanilla clients. Other versions remain experimental. Install one JAR for the exact Minecraft version into the loader's mods folder.
Key features
Ban and pardon hammers
A ban hammer starts a ban on the struck player, while a pardon hammer selects a banned player and lifts the ban.
Configurable ban durations
Cooldown and ban times are set in seconds, where 0 means permanent, and a flag controls whether the hammer is consumed on use.
Operator protection
Settings can protect operators from being banned and require operator level for hammer use.
Inventory and recipe GUI
An in-game configuration screen and a simple crafting editor let admins change recipes and pardon selection without editing files.
Enchantments and history
Hammers support enchantments, attributes and effects, and ban history is kept in a SQLite database that migrates between versions.
Gallery
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Who it’s for: Server owners and operators who want ban and pardon actions tied to items, on Fabric, Forge or NeoForge, or through a Spigot or Paper plugin.
Questions
Does BanHammer need Fabric API?
Can BanHammer run on a Spigot or Paper server?
In the catalog
BanHammer is one of 17,631 Equipment mods on ModsFinder, and one of 8,894 Equipment mods for Fabric. 8,071 mods support Minecraft 26.3.
More from raylix2
Similar mods
What the author says
Create high-stakes PvP with a Ban Hammer and a Pardon Hammer. Version 1.1.1 keeps the Spigot command fixes, simplifies crafting setup and delays the ban disconnect until the death inventory/drop transaction has completed. Choose the edition that matches your server: Spigot/Paper 1.1.1 contains the repaired commands…
Official listing
- Modrinth page
- modrinth.com/mod/banhamer
- Owner
- raylix2
- Published
- 2026-08-21
- Updated on Modrinth
- 2026-10-15
- Facts verified
- 2026-10-15
