Don't Kill Friends!
1.3Protect your tamed animals from damage, even when you're offline! Lightweight plugin with HEX color support and full configurability for Minecraft 1.16.5-1.21.11.
1.3latestVersion 1.3 - 1000 Downloads!Jun 12, 2026 Changelog - DontKillFriends
Version 1.3 - 1000 Downloads!
Major Features
- bStats Integration - Anonymous usage statistics with opt-out viabstats: falsein 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 utilitiesAdded
-immortal-from-sonic-boomconfig option for Warden damage (Minecraft 1.19+) -bstatsconfig option to disable metrics collection - Kill command console messages in language filesImproved
- Memory Safety - Pending attack notifications are capped, expire after 7 days, and clear on plugin disable - Thread Safety - Notification storage usesConcurrentHashMapand synchronized lists - Folia Schedulers - ProperrunDelayedsupport 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 headersFixed
- Sonic Boom - Warden sonic boom (SONIC_BOOMdamage cause) was not blocked before this release - Notification Leak - Attack attempts no longer accumulate indefinitely for players who never rejoinTechnical
- ExtractedPetProtectionListener,KillCommandListener,PlayerJoinListener- ExtractedPluginSettings,ColorUtil,MessageService,PetOwnerInfo- bStats 3.2.1 with package relocation via maven-shade-pluginConfiguration
# New options in v1.3 immortal-from-sonic-boom: true bstats: trueCompatibility
- Minecraft: 1.16.5 - 1.21.11 - Server Software: Bukkit, Spigot, Paper, Purpur, Folia - Java: 8+1.2.1Don't Kill Friends! 1.2.1Dec 29, 2025 Changelog - DontKillFriends v1.2.1
Version 1.2.1 - Bug Fix
Fixed
- Folia Notification System - Fixed Adventure API reflection errors on Folia 1.21.8+ by using BungeeCord Chat API fallback - Notification Delivery - Notifications now work correctly on Folia servers without reflection errorsTechnical
- Improved Adventure API component creation with interface-based reflection - Added Folia platform detection to use BungeeCord Chat API instead of Adventure API on Folia1.2Don't Kill Friends! 1.2Dec 29, 2025 Changelog - DontKillFriends v1.2
Version 1.2 - FOLIA SUPPORT!
Major Features
- Folia Support - Full compatibility with Folia! Single JAR works on Bukkit/Spigot/Paper and Folia - Attack Notification System - Players receive notifications when someone attempts to attack their tamed pets (even when offline) - Multi-Language Support - 8 languages included (English, Russian, Spanish, German, French, Portuguese, Chinese, Japanese) - Modrinth Update Checker - Automatic version checking with console notificationsAdded
- Pet Protection Options: -prevent-tamed-pets-attack- Prevent tamed pets from attacking each other -prevent-mobs-attack-pets- Prevent hostile mobs from attacking tamed pets -immortal-from-cramming- Protect from entity cramming damage -immortal-from-void- Protect from void damage and/killcommand - Localization System - Language files inmessages/folder with configurable language selection - Rich Notifications - Hoverable tooltips showing attacked pets with grouped attempts and count display - Command Interception - Intercepts/killcommand for both players and consoleImproved
- Package Migration - Renamed fromru.gubintofun.gubinmc- Bypass Permission - Admins withdontkillfriends.bypasscan now attack offline pets - Message System - Empty messages are ignored, online/offline status always shown - Color Support - Fixed HEX and legacy color codes on all platforms (Spigot 1.16.5+) - Spigot Compatibility - Enhanced support with proper fallback for BungeeCord Chat APIFixed
- Folia Loading - Plugin now loads correctly on Folia servers - Folia Schedulers - Fixed scheduler errors and method signatures - Color Display - Fixed HEX colors in notifications and legacy codes on Spigot - Offline Pet Protection - Fixed bypass check order for admin attacksTechnical
- Platform detection using reflection - Reflection-based Folia scheduler calls - Asynchronous update checking - Component-based messages with Adventure API fallbackConfiguration
# New options in v1.2 prevent-tamed-pets-attack: true prevent-mobs-attack-pets: true immortal-from-cramming: true immortal-from-void: true language: "en_US.yml" check-for-updates: trueCompatibility
- Minecraft: 1.16.5 - 1.21.11 - Server Software: Bukkit, Spigot, Paper, Purpur, Folia - Java: 8+Migration Notes
- Old message strings moved tomessages/folder - Setlanguage: "en_US.yml"in config.yml to choose language - Folia support is automatic - no configuration needed1.1.3Don't Kill Friends! 1.1.3Aug 3, 2025 Changelog - DontKillFriends v1.1.3
Version 1.1.3 - Campfire!!
Added
- Campfire Protection: Added protection from campfire damage (both regular and soul campfires) - New configuration optionimmortal-from-campfire(default: true) - Configuration value caching for improved performanceImproved
- Enhanced performance by caching frequently accessed configuration values - Better code organization and readability - More efficient event handling - Added default values to all configuration getters for better reliabilityFixed
- Fixed pets not being protected from campfire damage - Improved campfire detection to work with both regular and soul campfiresTechnical Changes
- Added configuration value caching system - Improved method structure for better maintainability - Enhanced debug logging consistency - Better error handling for missing configuration values1.1.2Don't Kill Friends! 1.1.2Jul 23, 2025 Changelog - DontKillFriends v1.1.2
Version 1.1.2 - Configuration Improvements
New Features:
- Configurable Offline Owner Message - Addedoffline-owner-suffixsetting in config.yml for customizable "(Owner offline)" message - Improved Version Command - Updated author name togubinmcand added clickable Modrinth profile link - Better Configuration Comments - Added helpful comment showing how to disable suffix with empty string""Configuration Changes:
# New configurable setting offline-owner-suffix: " &#FFD93D(Owner offline)" # Выключить - "" | Disable - ""Customization Examples:
# Custom Russian message offline-owner-suffix: " &#FFA500(Владелец не в сети)" # Disable suffix completely offline-owner-suffix: "" # More detailed English message offline-owner-suffix: " &#FF6B6B(Owner offline - pet protected)" # Short and simple offline-owner-suffix: " &#FFD93D(Offline)"Command Updates:
-/dkf versionnow shows author as "gubinmc" - Added clickable link to https://modrinth.com/user/Gubin - Updated version display to v1.1.2Technical Changes:
- Removed hardcoded "(Owner offline)" message from Java code - All offline owner messages now use configurable setting - Improved code maintainability and customizationBenefits:
- Server admins can fully customize offline owner messages - Support for HEX colors in offline messages - Can disable offline suffix completely - Better branding with updated author info - Easy access to developer profileCompatibility:
- Minecraft: 1.16.5 - 1.21.8 - Server Software: Bukkit, Spigot, Paper, Purpur - Java: 8+1.1.1Don't Kill Friends! 1.1.1Jul 23, 2025 Changelog - DontKillFriends v1.1.1
Version 1.1.1 - FINAL RELEASE
New Features:
- HEX Color Support - Added support for HEX colors in messages using&#RRGGBBformat - Debug Logs Control - Addeddebug-logs: falsesetting in config.yml for clean console output - Improved Security -/dkf versioncommand now requiresdontkillfriends.versionpermission (OP only)Major Bug Fixes:
- FIXED: Offline Pet Protection - Resolved critical issue where tamed animals became vulnerable when owner logged off - FIXED: Owner Detection - Now properly handles bothPlayerandOfflinePlayerowner types - FIXED: Environmental Damage - Added complete protection from fire, drowning, explosions, etc. for offline petsRemoved Features:
- Author Command Removed - Completely removed/dkf authorcommand for cleaner interface - Unnecessary Permissions - Removed unuseddontkillfriends.usepermissionVisual Improvements:
- Colorful Messages - Version command shows beautiful HEX colored output - Updated Config - Removed old version strings and added HEX color examples - Professional Appearance - Clean, modern command responsesProtection Features:
- Protects tamed animals from player attacks - Shields pets from environmental damage (fire, drowning, explosions, etc.) - Works even when pet owner is offline - Configurable damage type protection - Bypass permission for administratorsCommands & Permissions:
-/dkf version- Show plugin version (requiresdontkillfriends.version) -/dkf reload- Reload configuration (requiresdontkillfriends.reload) -dontkillfriends.bypass- Bypass pet protection (OP only)1.1Don't Kill Friends! 1.1Jul 22, 2025 DontKillFriends - Changelog
Version 1.1 - Fixes and Improvements
Major Fixes:
1. MAIN FIX: Offline Pets Protection - Fixed a critical bug where tamed mobs became killable after the owner logged off the server - Addedowner.isOnline()check to protect offline players' pets - Added new config settingprotect-offline-petsin config.yml 2. Fixes in pom.xml: - Corrected incorrect tag<n>to<name>- Updated version from 1.0 to 1.1 3. Grammatical fixes in config.yml: - "перезагрузки" changed to "перезагрузке" ("reload" form) - "plugin restart" changed to "plugin reload" - Improved comments and descriptionsCode Improvements:
1. Extended Damage Protection: - Added protection againstBLOCK_EXPLOSION- Added protection againstHOT_FLOOR(magma blocks) - Added protection againstPOISONandWITHER2. Improved Command Handling: - Added support for commands from console - Improved handling of unknown commands - Added event priorityEventPriority.HIGH3. Import Optimization: - Removed unused imports - Added import forEventPriorityCompatibility:
- Full compatibility with Minecraft 1.16 - 1.21.8 - Improved plugin stability - Optimized performanceConfiguration:
New setting in config.yml:protect-offline-pets: true # Protect pets of offline players1.0Don't Kill Friends! 1.0Jul 18, 2024
Similar projects
Plugin →VeinMiner
Mine the whole vein on mining a single ore/block. Make the tedious mining experience to something satisfying and fun! FTB Ultimine alternative
99.3MSueta
Simple Voice Chat
A working voice chat in Minecraft!
76.8MSueta
Chunky
Pre-generates chunks, quickly and efficiently
18.4MSueta
VeinMiner Enchantment
Veinminer Addon - Adds vineminer enchantment to enchanting tables. Only tools with the enchantment can veinmine
18MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
WorldEdit
A Minecraft Map Editor... that runs in-game! With selections, schematics, copy and paste, brushes, and scripting. Use it in creative, or use it temporarily in survival.
11.6MSueta