HomeJavaModsbanhamer
banhamer
ModsJava

banhamer

by raylix2 · on Modrinth

🔨 Ban Hammer & 🕊️ Pardon Hammer Add a unique PvP system to your Minecraft server with two special hammers. The Ban Hammer allows players to ban someone…

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21–1.21.11 · Paper⬇ Download for 1.20–1.20.6 · Paper⬇ Download for 1.2.5 · Paper⬇ Download for 1.21–1.21.11 · Spigot⬇ Download for 1.20–1.20.6 · Spigot⬇ Download for 1.2.5 · Spigot
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
banhamer — screenshot 1banhamer — screenshot 2banhamer — screenshot 3

Custom 3D logo, redesigned from scratch with a Minecraft-inspired style.

🔨 Ban Hammer & 🕊️ Pardon Hammer

Add a unique PvP system to your Minecraft server with two special hammers.

The Ban Hammer allows players to ban someone by killing them with the hammer. After being used, the hammer enters a configurable cooldown, set to 3 days by default.

The Pardon Hammer allows players to undo bans created by another player. When you kill the player responsible for the bans with the Pardon Hammer, a GUI opens where you can choose to unban one person or everyone they banned.

Commands

/banhammer give <player> ban Gives the Ban Hammer.

/banhammer give <player> pardon Gives the Pardon Hammer.

/banhammer reload Reloads the configuration.

/banhammer reset <player> Resets a player's hammer cooldown.

/banhammer cooldown <player> Shows the current cooldown.

Configuration

Everything can be customized through config.yml:

Example:

banhammer:
  cooldown: 3d
  ban-duration: 7d

Important data is saved so cooldowns and ban information remain after server restarts.

Performance & Security

The plugin is designed to be lightweight, secure and optimized. It avoids unnecessary permanent loops and validates the hammer server-side to prevent exploits and item duplication.

Compatible with modern Paper servers.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more