Tags
Creators
Details
1.2
Compatibility
Changes
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 notifications
Added
-
Pet Protection Options:
prevent-tamed-pets-attack- Prevent tamed pets from attacking each otherprevent-mobs-attack-pets- Prevent hostile mobs from attacking tamed petsimmortal-from-cramming- Protect from entity cramming damageimmortal-from-void- Protect from void damage and/killcommand
-
Localization System - Language files in
messages/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 console
Improved
- Package Migration - Renamed from
ru.gubintofun.gubinmc - Bypass Permission - Admins with
dontkillfriends.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 API
Fixed
- 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 attacks
Technical
- Platform detection using reflection
- Reflection-based Folia scheduler calls
- Asynchronous update checking
- Component-based messages with Adventure API fallback
Configuration
# 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: true
Compatibility
- Minecraft: 1.16.5 - 1.21.11
- Server Software: Bukkit, Spigot, Paper, Purpur, Folia
- Java: 8+
Migration Notes
- Old message strings moved to
messages/folder - Set
language: "en_US.yml"in config.yml to choose language - Folia support is automatic - no configuration needed
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:9OqCwvv0"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:5c82ptis:9OqCwvv0"
}

