About BanHammer
From ModrinthSimple, customisable punishment utility mod for Fabric
BanHammer
Simple, customisable punishment utility mod for Fabric. Allows moderators to permanently/temporary ban, mute or kick players. Supports Fabric Permissions API used by LuckPerms and PlayerRoles.
Every user facing message is configurable with support of advanced formatting
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> \[\<remove>\] | banhammer.commands.import (op 4) | Imports bans from other sources (and removes them from it, if remove is set to true) | /ban \<player> \[\<reason>] | banhammer.punish.ban (op 3/config) | Bans player | | /tempban \<player> \<duration> \[\<reason>] | banhammer.punish.tempban (op 3/config) | Bans player for provided time | | /ban-ip \<player> \[\<reason>] | banhammer.punish.banip (op 3/config) | Bans player (by ip) | | /tempban-ip \<player> \<duration> \[\<reason>] | banhammer.punish.tempbanip (op 3/config) | Bans player (by ip) for provided time | | /mute \<player> \[\<reason>] | banhammer.punish.mute (op 3/config) | Mutes player | | /tempmute \<player> \<duration> \[\<reason>] | banhammer.punish.tempmute (op 1) | Mutes player for provided time | | /kick \<player> \[\<reason>] | 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
{
"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.<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
}Highlights
From source dataGame versions
Supports 47 Minecraft versions, the newest being 26.3.
Loaders
Runs on Fabric and Quilt.
Footprint
Rated a light load on a server.
BanHammer on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
- Server side
- Required on the server
- Server type needed
- Fabric, Quilt
- Server load
- light
- Smallest plan we suggest
- Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 0.19.0+26.3, released 2026-09-11
Game versions by loader
| Loader | Game versions | Newest |
|---|---|---|
| Fabric | 1.21.11 to 26.3-rc-1 (7 versions) | 26.3-rc-1 |
| Quilt | 1.21.11 | 1.21.11 |
From 5 recorded builds of BanHammer.
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 0.19.0+26.3 | 2026-09-11 | 26.3 to 26.3-rc-1 (2 versions) | Fabric |
| 0.18.0+26.2 | 2026-06-16 | 26.2 | Fabric |
| 0.17.0-pre.1+26.1 | 2026-03-26 | 26.1 to 26.1.2 (3 versions) | Fabric |
| 0.16.2+1.21.11 | 2026-02-02 | 1.21.11 | Fabric, Quilt |
| 0.16.1+1.21.11 | 2025-12-24 | 1.21.11 | Fabric, Quilt |
Run BanHammer on a Minecraft server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogQuality of life & UI
Small conveniences, tweaks and interface improvements players notice straight away.
Runs on your server
From source side supportModrinth lists BanHammer as required on the server. Check its Modrinth page to see whether players need it too.
Compatibility
- Game
- Minecraft
- Loaders
- FabricQuilt
- Runs on
- Serverrequired on the server
- Game versions
- 26.3 and 46 earlier
Verified at the source
- ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
- ✓AuthorPatbox, as published on Modrinth
- ✓LicenseLGPL-3.0-onlyFree












