
CHC | Custom Hit Command
Executes a configurable command when hitting an other player with a configurable item group or a single item!
Оцените первым
387
2
Список изменений
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.
Файлы
CustomHitCommand-1.6.0.jar(726.85 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.6
Загрузчики
PaperPurpur
Версии игры
1.21–1.21.8
Загрузок
15
Дата публикации
07.08.2025
