BanHammer

⭐ ⭐ (138 endorsements) 📥 63,999 downloads 📌 v0.18.0+26.2 📅 3/22/2021
🟡 Updated this year

By Patbox · fabric

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 6/16/2026 📅 Created: 3/22/2021
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.2% endorsement rate
  • 🏆 #318 of 983 fabric mods in this game by downloads

📋 About This Mod

!(https://i.imgur.com/0o0rruV.png) # BanHammer Simple, customisable punishment utility mod for Fabric. Allows moderators to permanently/temporary ban, mute or kick players. Supports (https://github.com/lucko/fabric-permissions-api) used by LuckPerms and PlayerRoles. Every user facing message is configurable with support of (https://github.com/Patbox/FabricPlaceholderAPI/blob/1.17/TEXT_FORMATTING.md) It has build in support for SQLite and MySQL databases. ## Commands and permissions | Command | Permission | Description | | ------------------ | ------------------------ | --------------------------------- | | /banhammer | banhammer.commands.main (default) | Sends information about banhammer | | /banhammer reload | banhammer.commands.reload (op 4) | Reloads mods config | | /banhammer import \<source> \ | banhammer.commands.import (op 4) | Imports bans from other sources (and removes them from it, if remove is set to true) | /ban \<player> \ | banhammer.punish.ban (op 3/config) | Bans player | | /tempban \<player> \<duration> \ | banhammer.punish.tempban (op 3/config) | Bans player for provided time | | /ban-ip \<player> \ | banhammer.punish.banip (op 3/config) | Bans player (by ip) | | /tempban-ip \<player> \<duration> \ | banhammer.punish.tempbanip (op 3/config) | Bans player (by ip) for provided time | | /mute \<player> \ | banhammer.punish.mute (op 3/config) | Mutes player | | /tempmute \<player> \<duration> \ | banhammer.punish.tempmute (op 1) | Mutes player for provided time | | /kick \<player> \ | banhammer.punish.kick (op 3/config) | Kicks player from server | | /unban \<player> | banhammer.unpunish.unban (op 3/config) | Removes player's (temp)bans | | /unban-ip \<player> | banhammer.unpunish.unbanip (op 3/config) | Removes player's (temp)ip bans | | /unmutes \<player> | banhammer.unpunish.unmute (op 3/config) | Removes player's (temp)mute | | /pardon \<player> | banhammer.unpunish.pardon (op 3/config) | Removes all of player's punishments | Additionally you can add `-s` Before reason, if you want to make that punishment silent. Duration can be expressed in seconds (`15`/`15s`), minutes (`3m`), hours (`24h`), days (`7d`), years (`1y`) or any combination of these (`5y3d9h3m8s`). ## Configuration ```json5 { "CONFIG_VERSION_DONT_TOUCH_THIS": 1, "punishmentsAreSilent": false, // Makes all punishments silent "storeAllPunishmentsInHistory": true, // Stores all punishments in additional database table "muteBlockedCommands": , "standardBanPlayersWithBannedIps": false, // Gives users standard bans, when they are ip banned "autoBansFromIpBansAreSilent": true, // Makes autobans from ip ban silent "defaultTempPunishmentDurationLimit": "-1",// Sets limit for duration of temporary punishments. -1 = no limit "permissionTempLimit": { // Allows to change duration limit of punishment with `banhammer.duration.<entry>` permission "example": "31d" }, "databaseType": "sqlite", // Changes database type ("sqlite" or "mysql") "sqliteDatabaseLocation": "banhammer-sqlite.db", // sqlite databases location (from server's directory) "mysqlDatabaseAddress": "", // Address of mysql database "mysqlDatabaseName": "", // Name of mysql database "mysqlDatabaseUsername": "", // Username of mysql user "mysqlDatabasePassword": "" // Password of mysql user } ```

![](https://i.imgur.com/0o0rruV.png)

# BanHammer

Simple, customisable punishment utility mod for Fabric. Allows moderators to permanently/temporary ban, mute or kick players. Supports (https://github.com/lucko/fabric-permissions-api) used by LuckPerms and PlayerRoles.

Every user facing message is configurable with support of (https://github.com/Patbox/FabricPlaceholderAPI/blob/1. 17/TEXT_FORMATTING.md)

It has build in support for SQLite and MySQL databases. ## Commands and permissions

| Command | Permission | Description | | ------------------ | ------------------------ | --------------------------------- | | /banhammer | banhammer.commands.main (default) | Sends information about banhammer | | /banhammer reload | banhammer.commands.reload (op 4) | Reloads mods config | | /banhammer import \ \[\\] | banhammer.commands.import (op 4) | Imports bans from other sources (and removes them from it, if remove is set to true) | /ban \ \[\] | banhammer.punish.ban (op 3/config) | Bans player | | /tempban \ \ \[\] | banhammer.punish.tempban (op 3/config) | Bans player for provided time | | /ban-ip \ \[\] | banhammer.punish.banip (op 3/config) | Bans player (by ip) | | /tempban-ip \ \ \[\] | banhammer.punish.tempbanip (op 3/config) | Bans player (by ip) for provided time | | /mute \ \[\] | banhammer.punish.mute (op 3/config) | Mutes player | | /tempmute \ \ \[\] | banhammer.punish.tempmute (op 1) | Mutes player for provided time | | /kick \ \[\] | banhammer.punish.kick (op 3/config) | Kicks player from server | | /unban \ | banhammer.unpunish.unban (op 3/config) | Removes player's (temp)bans | | /unban-ip \ | banhammer.unpunish.unbanip (op 3/config) | Removes player's (temp)ip bans | | /unmutes \ | banhammer.unpunish.unmute (op 3/config) | Removes player's (temp)mute | | /pardon \ | banhammer.unpunish.pardon (op 3/config) | Removes all of player's punishments |

Additionally you can add `-s` Before reason, if you want to make that punishment silent.

Duration can be expressed in seconds (`15`/`15s`), minutes (`3m`), hours (`24h`), days (`7d`), years (`1y`) or any combination of these (`5y3d9h3m8s`).

## Configuration ```json5 { "CONFIG_VERSION_DONT_TOUCH_THIS": 1, "punishmentsAreSilent": false, // Makes all punishments silent "storeAllPunishmentsInHistory": true, // Stores all punishments in additional database table "muteBlockedCommands": [ // List of commands blocked to muted players "msg", "me" ], "standardBanPlayersWithBannedIps": false, // Gives users standard bans, when they are ip banned "autoBansFromIpBansAreSilent": true, // Makes autobans from ip ban silent "defaultTempPunishmentDurationLimit": "-1",// Sets limit for duration of temporary punishments. -1 = no limit "permissionTempLimit": { // Allows to change duration limit of punishment with `banhammer.duration.` permission "example": "31d" }, "databaseType": "sqlite", // Changes database type ("sqlite" or "mysql") "sqliteDatabaseLocation": "banhammer-sqlite.db", // sqlite databases location (from server's directory) "mysqlDatabaseAddress": "", // Address of mysql database "mysqlDatabaseName": "", // Name of mysql database "mysqlDatabaseUsername": "", // Username of mysql user "mysqlDatabasePassword": "" // Password of mysql user } ```

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
Patbox
Version
0.18.0+26.2
Downloads
63,999
Endorsements
138
Category
fabric
Created
3/22/2021
Updated
6/16/2026
Game Versions
26.2
Tags
management, utility

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does BanHammer support?

The author lists 26.2. Other versions may work but are untested by the author.

What is the latest version of BanHammer?

Version 0.18.0+26.2, published 2026-06-16 with 63,999 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More fabric 👤 More by Patbox 🔎 Similar Mods 🌐 Best fabric (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods