CHC | Custom Hit Command icon

CHC | Custom Hit Command -----

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




What's new in version 1.8.2?
- Conditional Command Logging: The command-executed-log message now only appears in the console when enhanced-logging is enabled. This prevents console spam on busy servers.
- Tab Completion: Tab completion has been implemented for the /chc reload command, making it easier and faster to use in-game.
- Minor Configuration Updates: The config.yml has been updated with small changes, including improved wording for command configuration.
----------, Aug 12, 2025

What's new in version 1.8?
- Configurable Command Executor: You can now choose whether commands are executed by the attacking player or by the console. This adds new flexibility for different command types.
- Minor Configuration Changes: The `config.yml` has been updated to include the new executor option.
----------, Aug 10, 2025

What's new in version 1.7?
- Improved Fallback System: The plugin now has a more robust fallback mechanism for invalid configuration settings, ensuring stable operation even with minor errors in the config.yml.
- Enhanced Logging System: An optional logging system has been implemented. When enabled, it provides more detailed debug information, which is useful for troubleshooting. This feature can be turned on and off in the config.yml.
- Code Optimizations: The HitListener.java and ReloadCommand.java classes have been refactored into modern Java records. This simplifies the code and improves performance. Also some minor changes was made.
- Enhanced Error Handling: The plugin's error handling has been significantly improved to provide more specific and actionable error messages in the console, making it easier to diagnose problems.
- Improved Thread Safety: To prevent race conditions and ensure stability on busy servers, the plugin now uses a ConcurrentHashMap for cooldown tracking. This makes the plugin more reliable under high load.
----------, Aug 9, 2025

What's new in version 1.6?
- Implemented Rate Limiting: A new rate limiter has been added to prevent command spamming. The cooldown time is configurable with a minimum of 100 milliseconds.
- New Security Configuration: A dedicated security section has been added to the config.yml file to manage the new rate limiting feature.
- Improved Configuration File: The config.yml file has been refactored for enhanced readability, and several typos have been fixed.
- Centralized Security Logic: The plugin now includes a new SecurityUtils.java file, which centralizes the rate limiting and other security-related logic for future enhancements.
- Enhanced Code Readability: Comments have been added to the SecurityUtils.java file to improve code readability and maintainability.
- Improved Startup Process: The plugin now features a revised startup logic and clearer console messages for a better user experience.
- Particle System Migration: A migration system for particle names has been implemented, ensuring backward compatibility and a more user-friendly configuration.
- Automatic Memory Management: An automatic memory cleaner has been added to periodically remove old cooldown entries, preventing memory leaks and ensuring stable performance.
----------, Aug 7, 2025

Changelog
What's New in Version 1.5.2?
- Registered the customhitcommand.update permission in the plugin.yml for improved compatibility and server administrator ease of use.
- Added a filter to exclude the META-INF/MANIFEST.MF file from the bStats dependency during compilation. This change is purely for cosmetic purposes
----------, Aug 5, 2025

What's new in version 1.5?
- Added an update checker.
- The update checker can be toggled on or off.
- You can now choose whether the update announcement is displayed only in the console, for op'd players, or both.
----------, Aug 4, 2025

What's new in version 1.4.6?
- updated maven: org.apache.commons:commons-lang3:3.14.0 to maven: org.apache.commons:commons-lang3:3.18.0 to prevent a potential vulnerable
----------, Aug 3, 2025

What's new in version 1.4.5?
- fixed typos
- code clean up
- fixed color codes
----------, Aug 3, 2025

What's new in version 1.4?
- added bstats
- small tweaks
----------, Jul 24, 2025

What's new in version 1.3?
- added configurable hit particles upon succsessful hit
-> choose beetween enable/disable | type of particle | count/amount | offset x/y/z
- code clean up and perfomance tweaks
- config.yml redesign
----------, Jul 21, 2025

What's new in version 1.2.2?
- fixed reload command
- fixed config.yml
----------, Jul 20, 2025

What's new in version 1.2?
- added configurable messages in config.yml
- added a configurable global prefix in config.yml
- code clean up and performance improvements
----------, Jul 18, 2025

What's new in version 1.1?
- added reload command to edit your config without needing to restart your server
----------, Jul 17, 2025

What's new in version 1.0?
- first Version of this plugin
- config.yml -> choose your hit-item and your executed command
----------, Jul 17, 2025

Resource Information
Author:
----------
Total Downloads: 204
First Release: Jul 16, 2025
Last Update: Aug 12, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings