CHC | Custom Hit Command icon

CHC | Custom Hit Command -----

Executes a configurable command when hitting an other player with a configurable specific item.



CustomHitCommand: Unleash Dynamic Actions on Impact!

[​IMG] [​IMG] [​IMG] [​IMG]

Custom Hit Command let you trigger specific commands every time you hit an other player with a chosen item group or a single item! This lightweight and ️ highly customizable plugin is built for Paper 1.21, ensuring ⚡fast performance and ✨ seamless integration.

️DELAY:
I am currently working on adding multi-version support to include all versions from 1.8 to the latest. This will take some time, so don't be surprised if there are no updates in the next few days.

Commands & Permissions:

- /chc reload | customhitcommand.reload
- /chc sethititem | customhitcommand.sethititem
- customhitcommand.update (for in-game update notifications)
- customhitcommand.admin (parent permission for all administrative commands (reload, sethititem))

Key Features:

  • Configurable Hit Item: Define which item group or single item triggers the action (e.g., all Iron Swords, a Blaze Rod – your choice!).

  • Dynamic Command Execution: Set any server command to run upon a successful hit. You can choose whether the command is executed by the attacking player or the console. Use the `%hitted_player%` placeholder to automatically insert the name of the player you hit (e.g., `/duel %hitted_player%`).
  • Visual Hit Particles: Configure eye-catching particle effects to appear at the location of the hitted player, adding a visually dynamic element to your commands.
  • Customizable Messages: Tailor nearly all plugin messages to match your server's style
  • Enhanced Logging: An optional, enhanced logging system can be enabled to provide detailed debug information for troubleshooting.
  • Robust Error Handling: The plugin features a more robust fallback system and improved error handling, making it more resilient to configuration mistakes.
  • Update Notifications: An automatic update checker can be configured to notify you in the console or directly in-game when a new version is available. It can be easily toggled on/off in the configuration
Get CustomHitCommand now and bring a new layer of excitement to your server!

Q&A:
Why is the compiled plugin (JAR file) larger than the source code on GitHub?

Our plugin includes dependencys like bStats as a dependency to gather anonymous usage statistics. When the plugin is compiled into a single JAR file, the bStats library (along with all its own dependencies) is packaged directly into the final plugin file. This process, called 'shading', makes the plugin self-contained and ensures it runs smoothly without requiring users to download extra libraries, but it naturally increases the overall file size compared to just the raw source code.


Need Help?

Please, don't post bad ratings before asking for help!
We're here to assist you.
If you encounter any problems, bugs, or have questions about the plugin, please don't hesitate to contact me directly or post in the plugin discussion section. I'll be happy to take a look and provide support! Your positive experience is our priority.
Resource Information
Author:
----------
Total Downloads: 224
First Release: Jul 16, 2025
Last Update: Oct 6, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings