Перейти к содержимому
Mineforgian

BanHammer

Simple, customisable punishment utility mod for Fabric

60K загрузок134 подписчиковLGPL-3.0-onlyfabricquilt

Обновлён 16 июня 2026 г. · опубликован 22 марта 2021 г.

  • Скриншот: BanHammer

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
}

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
0.18.0+26.2Релиз26.2fabric16 июня 2026 г.Скачать (17.5 МБ)
0.17.0-pre.1+26.1Релиз26.1, 26.1.1, 26.1.2fabric26 марта 2026 г.Скачать (17.5 МБ)
0.16.2+1.21.11Релиз1.21.11fabric, quilt2 февраля 2026 г.Скачать (17.5 МБ)
0.16.1+1.21.11Релиз1.21.11fabric, quilt24 декабря 2025 г.Скачать (17.5 МБ)
0.16.0+1.21.11Релиз1.21.11-pre3, 1.21.11fabric, quilt30 ноября 2025 г.Скачать (17.5 МБ)
0.15.1+1.21.10Релиз1.21.10fabric, quilt13 ноября 2025 г.Скачать (17.4 МБ)
0.15.0+1.21.9Релиз1.21.9-rc1, 1.21.9, 1.21.10fabric, quilt28 сентября 2025 г.Скачать (17.4 МБ)
0.14.1+1.21.8Релиз1.21.6, 1.21.7, 1.21.8fabric, quilt30 июля 2025 г.Скачать (17.4 МБ)
0.14.0+1.21.6Релиз1.21.6, 1.21.7, 1.21.8fabric, quilt18 июня 2025 г.Скачать (17.4 МБ)
0.13.0+1.21.5Релиз1.21.5-rc1, 1.21.5fabric, quilt23 марта 2025 г.Скачать (17.4 МБ)
0.12.0+1.21.2Релиз1.21.2-rc1, 1.21.2, 1.21.3, 1.21.4fabric, quilt20 октября 2024 г.Скачать (17.2 МБ)
0.11.1+1.21Релиз1.21-rc1, 1.21, 1.21.1fabric, quilt18 июня 2024 г.Скачать (16.6 МБ)
0.11.0+1.21Релиз1.21-rc1, 1.21fabric, quilt12 июня 2024 г.Скачать (16.6 МБ)
0.10.0+1.20.5Релиз1.20.5-rc2, 1.20.5, 1.20.6fabric, quilt22 апреля 2024 г.Скачать (16.3 МБ)
0.7.1+1.20.1Релиз1.20.1fabric, quilt29 января 2024 г.Скачать (15.7 МБ)

Показаны последние 15 из 43 версий.

Ченджлог

0.18.0+26.2Релиз26.2 · 16 июня 2026 г.
0.17.0-pre.1+26.1Релиз26.1, 26.1.1, 26.1.2 · 26 марта 2026 г.
0.16.2+1.21.11Релиз1.21.11 · 2 февраля 2026 г.
0.16.1+1.21.11Релиз1.21.11 · 24 декабря 2025 г.
0.16.0+1.21.11Релиз1.21.11-pre3, 1.21.11 · 30 ноября 2025 г.
0.15.1+1.21.10Релиз1.21.10 · 13 ноября 2025 г.

What's Changed

Full Changelog: https://github.com/Patbox/BanHammer/compare/0.15.0+1.21.9...0.15.1+1.21.10

0.15.0+1.21.9Релиз1.21.9-rc1, 1.21.9, 1.21.10 · 28 сентября 2025 г.
0.14.0+1.21.6Релиз1.21.6, 1.21.7, 1.21.8 · 18 июня 2025 г.

Комментарии

Загружаем…