1. Cooldown System - Added a cooldown system to limit command block attempts
- Features:
- Configurable maximum attempts (default: 3)
- Temporary timeout after exceeding attempts (default: 5 minutes)
- Automatic reset of attempts after a period (default: 10 minutes)
- Customizable messages with remaining time display
- Per-player tracking using UUID
2. Staff Notification System - Added a notification system for staff members
- Features:
- Notifications when players attempt to use blocked commands
- Notifications when players receive a timeout
- Configurable permission for receiving notifications
- Customizable messages with player and command variables
- Option to enable/disable timeout notifications
Configuration All new features are fully configurable in the config.yml:
- Cooldown settings (attempts, durations, messages)
- Notification settings (permission, messages, timeout alerts)
- All messages support color codes
Permissions Added new permissions:
- `commandblocker.bypass` - Allows bypassing blocked commands
- `commandblocker.reload` - Allows reloading the plugin configuration
- `commandblocker.notify` - Receives notifications about blocked commands
- `commandblocker.*` - Grants all CommandBlocker permissions
Technical Details - Memory-efficient player attempt tracking
- Automatic cleanup of expired cooldowns
- Configurable timeout durations
- Built for all BungeeCord versions