Changelog - DontKillFriends
Version 1.3 - 1000 Downloads!
Major Features
- bStats Integration - Anonymous usage statistics with opt-out via
bstats: false in config
- Warden Sonic Boom Protection - Tamed pets are now protected from Warden sonic boom damage (
immortal-from-sonic-boom)
- Code Refactoring - Split monolithic main class into focused listeners, command handler, and utilities
Added
immortal-from-sonic-boom config option for Warden damage (Minecraft 1.19+)
bstats config option to disable metrics collection
.gitignore for cleaner repository
- Kill command console messages in language files
Improved
- Memory Safety - Pending attack notifications are capped, expire after 7 days, and clear on plugin disable
- Thread Safety - Notification storage uses
ConcurrentHashMap and synchronized lists
- Folia Schedulers - Proper
runDelayed support for join notifications and update checks
- Language Manager - Cached English fallback instead of disk reads on every message lookup
- Config - English-only comments, removed ASCII art headers
Fixed
- Sonic Boom - Warden sonic boom (
SONIC_BOOM damage cause) was not blocked before this release
- Notification Leak - Attack attempts no longer accumulate indefinitely for players who never rejoin
Technical
- Extracted
PetProtectionListener, KillCommandListener, PlayerJoinListener
- Extracted
PluginSettings, ColorUtil, MessageService, PetOwnerInfo
- bStats 3.2.1 with package relocation via maven-shade-plugin
Configuration
# New options in v1.3
immortal-from-sonic-boom: true
bstats: true
Compatibility
- Minecraft: 1.16.5 - 1.21.11
- Server Software: Bukkit, Spigot, Paper, Purpur, Folia
- Java: 8+