COWMODSКаталог модов

CHC | Custom Hit Command

Executes a configurable command when hitting an other player with a configurable item group or a single item!

7822обновлён 14 сент. 2026 г.
Механики игрыУправлениеУтилиты

Описание

Custom Hit Command: Unleash Dynamic Actions on Impact!

Curseforge Downloads Modrinth Downloads Spiget Downloads Discord

❓ What is CHC?

Custom Hit Command let's you trigger specific commands every time you hit another player with a chosen item group and/or specific item(s) you marked before with /chc sethititem and/or configured through external-nbt-tags in the config! This lightweight and highly customizable plugin is built for Paper 26.1, offering excellent performance, seamless integration and high stability.

🌟 Key Features:

🔧 Configurable Hit Item: Define which item group, single item, or external NBT tag triggers the action (e.g., all Iron Swords, marked Blaze Rods, or even plugins like DeluxeHub items via key=value)

🎯 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 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. You can use both modern MiniMessage tags and legacy color codes at the same time!

🔎 Enhanced Logging: An optional, enhanced logging system can be enabled to provide detailed debug information for troubleshooting

🔔 Update Notifications: An automatic update checker can be configured to notify you in the console or directly in-game (or both) when a new version is available. It can be easily toggled on/off in the configuration

So what are you waiting for? Get Custom Hit Command now and bring a new layer of excitement to your server!

️🛡️ Commands & Permissions:

/chc reload | customhitcommand.reload

/chc sethititem | customhitcommand.sethititem

customhitcommand.use (allows the use of the hit item (default true))

customhitcommand.update (for in-game update notifications)

customhitcommand.admin (parent permission for all permissions)

📆 Planned features:

  • config updater
  • multiple commands
  • command delay
  • multiple hit item groups
  • set for every item group a different command executor and command
  • sound option to play at a successful hit
  • folia support

❓ Q&A:

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

Our plugin includes dependencies like bStats 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 which naturally increases the overall file size compared to just the raw source code.

🆘 Need Help?

If you encounter any problems, bugs, or have questions about the plugin, please don't hesitate to contact me directly. I'll be happy to take a look and provide support! Your positive experience is our priority.

Последние версии

Все версии →
release

CHC | Custom Hit Command 2.1.2

2.1.2
14 сент. 2026 г.49Minecraft: 26.1, 26.1.1, 26.1.2, 26.2, 26.3paper
Скачать
Что нового
What's new in version 2.1.2? - various fixes with the update checker, which is now more robust - failures are now displayed correctly - no alpha or beta builds are marked as new versions - latestVersion is written by the async task but read on the main thread when a player joins, so the field is volatile now - updated description for check-material-group
release

CHC | Custom Hit Command 2.1.1

2.1.1
18 июл. 2026 г.46Minecraft: 26.1, 26.1.1, 26.1.2, 26.2paper, purpur
Скачать
Что нового
What's new in version 2.1.1? - heavy performance optimizations for external NBT tag checks - refactored NBT logic to reduce CPU usage during entity hits
release

CHC | Custom Hit Command 2.1

2.1
17 июл. 2026 г.20Minecraft: 26.1, 26.1.1, 26.1.2, 26.2paper, purpur
Скачать
Что нового
What's new in version 2.1? - **added minimessage support!** You can now use both modern MiniMessage tags and legacy color codes at the same time! - small perfomance improvement
release

CHC | Custom Hit Command 2.0.2

2.0.2
22 июн. 2026 г.26Minecraft: 26.1, 26.1.1, 26.1.2, 26.2paper, purpur
Скачать
Что нового
What's new in version 2.0.2? - optimized particle math -> better performance and readability - fixed tab completion - restructured imports
release

CHC | Custom Hit Command 2.0

2.0
21 июн. 2026 г.16Minecraft: 26.1, 26.1.1, 26.1.2, 26.2paper, purpur
Скачать
Что нового
What's new in version 2.0? - Reworked the entire plugin structure, now fully running as a native Paper plugin! - Rewrote command handling and registration using the modern Paper Lifecycle & Brigadier API - Updated Paper-API dependency to the latest 26.1.2 development branch - Upgraded the project to Java 25 - dropped official support for 1.21.x
release

CHC | Custom Hit Command 1.13.1

1.13.1
5 апр. 2026 г.109Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2paper, purpur
Скачать
Что нового
What's new in version 1.13.1? - removed unimportant dependencies - small plugin.yml changes
release

CHC | Custom Hit Command 1.13

1.13
30 мар. 2026 г.21Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur
Скачать
Что нового
What's new in version 1.13? - added external NBT support to trigger commands via items from other plugins! (e.g., DeluxeHub -> hotbar items) - added support for specific item matching using the "plugin:key=value" format (e.g., for specific DeluxeHub items) - added support for generic item matching using the "plugin:key" format - added external-nbt-tags section in the config - improved item validation logic to prioritize NBT tags for more precise hit detection - optimized configuration reloading to include the new external NBT list - made some structure and design changes to config.yml
release

CHC | Custom Hit Command 1.12.2

1.12.2
30 мар. 2026 г.14Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur
Скачать
Что нового
What's new in version 1.12.2? - optimised performance
release

CHC | Custom Hit Command 1.12.1

1.12.1
27 мар. 2026 г.18Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur
Скачать
Что нового
What's new in version 1.12.1? - small plugin.yml change Updated some dependencies: - bstats-bukkit from 3.1.0 to 3.2.1 - maven-shade-plugin from 3.6.1 to 3.6.2
release

CHC | Custom Hit Command 1.12

1.12
25 февр. 2026 г.21Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur
Скачать
Что нового
What's new in version 1.12? - added new standard permission "customhitcommand.use" if you want to disable the usage of marked items for some players - customhitcommand.update and customhitcommand.use is now added to customhitcommand.admin - added ignore-cancelled-hits to the config so if set to true, the command will NOT be executed if the event was canceled - tab completition now only shows the tab completition for commands you can use (Permission-Aware Tab-Completion) - improved cooldown system - improved security checks - optimised perfomance - optimised code - optimised logging -> less logging if enhanced-logging is set to false - reduced console spam