HomeJavaModsBanHitbox
BanHitbox
ModsJava

BanHitbox

by Muliccki · on Modrinth

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

⬇ Download on Modrinth
BanHitbox — screenshot 1BanHitbox — screenshot 2BanHitbox — screenshot 3

🎯 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!



⚡ Mod Features

🎮 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)

📋 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

🎯 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


Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more