Description
Wield a command-block hammer that banishes any player or mob with one swing.
Mod Wiki
Command Block Ban Hammer
Quickstart
Get a command block (from Creative inventory or with /give @s command_block when cheats are enabled), plus an iron block and a stick. Craft the hammer at a crafting table:


Equip it in your hand and hit a mob or player. Mobs are killed immediately; players are removed from the current session when the world allows the hammer to use the kick command.
Overview
The Command Block Ban Hammer is a weapon with an instant removal effect on hit. Despite its name, hitting a player kicks them from the session—it does not permanently ban them.
What It Adds
- Command Block Ban Hammer: A hand-equipped weapon that deals 9 damage and has 36 durability.
- Instant hit effect: Non-player entities are killed on hit. Players are kicked from the session if the world permits the kick command.
How To Use
Hold the hammer and attack an entity to trigger its effect. The effect applies when you hit the target; simply holding or swinging without hitting an entity does not trigger it.
If a player is not removed, the world may not allow the kick command to run.## Crafting And Obtaining
Craft one hammer at a crafting table using a command block, an iron block, and a stick arranged vertically in that order. The recipe unlocks when you have those ingredients.
The hammer wears down with use and can break.
How to install
Download the mod and follow the step-by-step installation guide.
This mod is licensed under the CreativeMode Mods License.