CHC Custom Hit Command Plugin (26.2, 1.21.1) – Turn PvP Hits Into Fun Server

CHC Custom Hit Command Plugin (26.2, 1.21.1) – Turn PvP Hits Into Fun Server

A Minecraft Java Edition server plugin that automatically runs commands when players hit each other with specific items, supporting custom triggers, placeholders, and particle effects.

CHC Custom Hit Command Plugin lets you run specific server commands whenever a player hits another player with a chosen item. This plugin is designed for server administrators who want to add interactive combat mechanics, such as automatic duel starters or custom event triggers, without requiring complex configuration.

Features

  • Runs any command automatically when a player strikes another player with a specific item
  • Allows selection of exact trigger items, including standard weapons or custom named items from other plugins
  • Supports the %hitted_player% placeholder to target the exact player who was hit
  • Spawns particle effects around the hit player for visual feedback
  • Customizable chat messages using modern text formatting and color codes
  • Option to execute triggered commands as the attacking player or from the server console
  • Optional logging system for debugging and troubleshooting

Installation

  1. Download the plugin file
  2. Place the file in your server's plugins directory
  3. Restart your Minecraft server
  4. Use /chc sethititem while holding an item to designate it as a trigger weapon
  5. Configure your desired commands and settings in the plugin's configuration files

Compatibility

This plugin is designed for Minecraft Java Edition version 1.21.1.