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 option
immortal-from-campfire(default: true) - Configuration value caching for improved performance
Improved
- 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 reliability
Fixed
- Fixed pets not being protected from campfire damage
- Improved campfire detection to work with both regular and soul campfires
Technical Changes
- Added configuration value caching system
- Improved method structure for better maintainability
- Enhanced debug logging consistency
- Better error handling for missing configuration values
Changelog - DontKillFriends v1.1.2
Version 1.1.2 - Configuration Improvements
New Features:
- Configurable Offline Owner Message - Added
offline-owner-suffixsetting in config.yml for customizable "(Owner offline)" message - Improved Version Command - Updated author name to
gubinmcand 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.2
Technical Changes:
- Removed hardcoded "(Owner offline)" message from Java code
- All offline owner messages now use configurable setting
- Improved code maintainability and customization
Benefits:
- 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 profile
Compatibility:
- Minecraft: 1.16.5 - 1.21.8
- Server Software: Bukkit, Spigot, Paper, Purpur
- Java: 8+
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 - Added
debug-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 both
PlayerandOfflinePlayerowner types - FIXED: Environmental Damage - Added complete protection from fire, drowning, explosions, etc. for offline pets
Removed Features:
- Author Command Removed - Completely removed
/dkf authorcommand for cleaner interface - Unnecessary Permissions - Removed unused
dontkillfriends.usepermission
Visual 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 responses
Protection 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 administrators
Commands & Permissions:
/dkf version- Show plugin version (requiresdontkillfriends.version)/dkf reload- Reload configuration (requiresdontkillfriends.reload)dontkillfriends.bypass- Bypass pet protection (OP only)
DontKillFriends - Changelog
Version 1.1 - Fixes and Improvements
Major Fixes:
-
MAIN FIX: Offline Pets Protection
- Fixed a critical bug where tamed mobs became killable after the owner logged off the server
- Added
owner.isOnline()check to protect offline players' pets - Added new config setting
protect-offline-petsin config.yml
-
Fixes in pom.xml:
- Corrected incorrect tag
<n>to<name> - Updated version from 1.0 to 1.1
- Corrected incorrect tag
-
Grammatical fixes in config.yml:
- "перезагрузки" changed to "перезагрузке" ("reload" form)
- "plugin restart" changed to "plugin reload"
- Improved comments and descriptions
Code Improvements:
-
Extended Damage Protection:
- Added protection against
BLOCK_EXPLOSION - Added protection against
HOT_FLOOR(magma blocks) - Added protection against
POISONandWITHER
- Added protection against
-
Improved Command Handling:
- Added support for commands from console
- Improved handling of unknown commands
- Added event priority
EventPriority.HIGH
-
Import Optimization:
- Removed unused imports
- Added import for
EventPriority
Compatibility:
- Full compatibility with Minecraft 1.16 - 1.21.8
- Improved plugin stability
- Optimized performance
Configuration:
New setting in config.yml:
protect-offline-pets: true # Protect pets of offline players



