Tags
Creators
Details
Licensed ARR
Published 2 years ago
Updated 4 months ago
All versions
1.1
Release
Don't Kill Friends! 1.1last year 41
Uploaded by
Compatibility
Minecraft: Java Edition
1.21–1.21.8
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
Platforms
Bukkit
Paper
Purpur
Spigot
Changes
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
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:5c82ptis:7g7hZzPH"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:5c82ptis:7g7hZzPH"
}

