BanHitbox

BanHitbox

BanHitbox - Quick punishment mod for Minecraft admins. Aim at player, press middle mouse, select violations, and ban instantly. Supports multiple punishments and custom commands.

by
50 Downloads
fabric
Rent Server with this Mod

Screenshots

BanHitbox Screenshot 1
BanHitbox Screenshot 2
BanHitbox Screenshot 3

About this Mod

🎯 BanHitbox - Quick Punishment System

BanHitbox is a Minecraft mod for administrators that allows instant player punishment through a convenient interface. Simply aim your crosshair at a rule-breaker and select the appropriate punishment!


  • 🪙 Cryptocurrency (USDT):

  • 9tkTft2E8XqYZVwyQTvgxdph9nkUmK1F5fmGVHXLNyNY


⚡ Mod Features

  • Quick Punishment: Aim at player and press middle mouse button
  • Multiple Selection: Choose multiple violations simultaneously
  • Automatic Calculation: Ban days are summed, reasons are combined
  • Custom Commands: Configure your own commands (kick, mute, warn)
  • Flexible Configuration: Easily configurable through JSON config
  • Plugin Compatibility: Works with LiteBans, EssentialsX, AdvancedBan and other plugins

🎮 How to Use

  1. Aim crosshair at the rule-breaking player
  2. Press middle mouse button (scroll wheel click)
  3. Select violations from the list (multiple allowed)
  4. Click "PUNISH"

The mod automatically sends the command to chat. For example:

ban Player123 45d Admin Disrespect + Griefing + Cheating

⚙️ Config Setup

File Location

After first launch, config is created at:

.minecraft/config/punishments.json

Basic Structure

{
  "banCommandTemplate": "ban {player} {time} {reason}",
  "punishments": [
    {
      "name": "Cheating",
      "days": 30,
      "command": null
    },
    {
      "name": "Kick",
      "days": 0,
      "command": "kick {player} {reason}"
    }
  ]
}

Punishment Types

Regular punishments (with days):

{
  "name": "Cheating",
  "days": 30,
  "command": null
}

Custom commands:

{
  "name": "Mute 1 hour",
  "days": 0,
  "command": "mute {player} 1h {reason}"
}

Placeholders (Variables)

  • {player} - player nickname
  • {time} - ban duration (e.g. "30d")
  • {reason} - punishment reason

📋 Config Examples

For LiteBans

{
  "banCommandTemplate": "ban {player} {time} {reason}",
  "punishments": [
    {
      "name": "Cheating",
      "days": 30,
      "command": null
    },
    {
      "name": "Mute 1d",
      "days": 0,
      "command": "mute {player} 1d {reason}"
    },
    {
      "name": "Tempban 7d",
      "days": 0,
      "command": "tempban {player} 7d {reason}"
    },
    {
      "name": "Warning",
      "days": 0,
      "command": "warn {player} {reason}"
    }
  ]
}

For EssentialsX

{
  "banCommandTemplate": "ban {player} {reason}",
  "punishments": [
    {
      "name": "Permanent Ban",
      "days": 0,
      "command": "ban {player} {reason}"
    },
    {
      "name": "Tempban 1h",
      "days": 0,
      "command": "tempban {player} 1h {reason}"
    },
    {
      "name": "Kick",
      "days": 0,
      "command": "kick {player} {reason}"
    }
  ]
}

🔧 Config Creation Guide

Step 1: Open Config File

Find .minecraft/config/punishments.json and open it in any text editor.

Step 2: Configure Command Template

"banCommandTemplate": "ban {player} {time} {reason}"

Change to your ban plugin's command format.

Step 3: Add Punishments

For each punishment, create a block:

{
  "name": "Violation Name",
  "days": number_of_days,
  "command": "custom_command or null"
}

Step 4: Save and Restart

Save the file and restart Minecraft.

⚠️ Important Rules

  • Put comma after each { } block, except the last one
  • All text values in double quotes "text"
  • null is written without quotes
  • Numbers are written without quotes

🎯 Usage Examples

Selected: "Admin Disrespect" + "Griefing"
Result: ban Player123 15d Admin Disrespect + Griefing

Selected: "Kick" (custom command)
Result: kick Player123 Rule violation

🔄 How to Update Config

  1. Stop server/exit game
  2. Edit punishments.json
  3. Save file
  4. Launch game again

The mod will automatically load new settings!

🚀 Key Benefits

  • Lightning Fast: Punish players in seconds
  • Accurate Targeting: Precise crosshair-based selection
  • Highly Customizable: Adapt to any server setup
  • Performance Optimized: Lightweight and lag-free
  • Universal Compatibility: Works with all popular ban plugins

Available Versions

1.21.4release
MC 1.21.4fabric
March 7, 2026

How to Install BanHitbox on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.4).

3

Install Mod

Open the mod browser in the dashboard and search for "BanHitbox". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.4

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

BanHitbox server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.4). You can switch loaders with one click in the panel.

Is BanHitbox compatible with fabric?

BanHitbox officially supports fabric for Minecraft 1.21.4. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with BanHitbox – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if BanHitbox consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install BanHitbox with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Required

Supported Versions

1.21.4