promotional bannermobile promotional banner

Don't Kill Friends

Protect 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.

File Details

DontKillFriends-1.3.jar

  • R
  • Jun 13, 2026
  • 72.86 KB
  • 7
  • 26.1.2+34

File Name

DontKillFriends-1.3.jar

Supported Versions

  • 26.1.2
  • 26.1.1
  • 26.1
  • 1.21.5-Snapshot
  • 1.21.11
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5
  • 1.21.4
  • 1.21.3
  • 1.21.2
  • 1.21.1
  • 1.21
  • 1.20.3-Snapshot
  • 1.20.5-Snapshot
  • 1.20.6
  • 1.20.5
  • 1.20.4
  • 1.20.3
  • 1.20.2
  • 1.20.1
  • 1.20
  • 1.19.4
  • 1.19.3
  • 1.19.2
  • 1.19.1
  • 1.19
  • 1.18.2
  • 1.18.1
  • 1.18
  • 1.17
  • 1.16

Changelog - DontKillFriends

Version 1.3

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
  • 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+