Tags
Creators
Details
Licensed MIT
Published 6 months ago
Updated 6 months ago
All versions
1.4.2
Release
TogglePVPCustom 1.4.26 months ago 184
Compatibility
Minecraft: Java Edition
26.1.x
Platforms
Bukkit
Paper
Changes
Changelog
TogglePVPCustom v1.4.2
Added
- Added configurable
/pvpcommand cooldown. - Added
pvp-command-cooldown-secondssetting inconfig.yml. - Added
pvp-toggle-block-secondssetting for local combat toggle protection. - Added
togglepvp.cooldown.bypasspermission. - Added local combat tracking after successful PvP hits.
- Added protection against changing PvP status while combat tagged.
- Added
cannot-toggle-in-combatmessage. - Added
command-cooldownmessage with%time%placeholder.
Changed
/pvp,/pvp on, and/pvp offare now blocked while the player is in combat./pvp statuscan still be used while in combat.- PvP toggle protection now works even if the CombatLog hook fails, because the plugin tracks combat locally.
togglepvp.cooldown.bypassnow defaults tofalse, so OPs do not bypass cooldown unless the permission is manually given.
Fixed
- Fixed an issue where players could escape combat by using
/pvp off. - Fixed
/pvp offremoving CombatLog combat status. - Fixed command cooldown not working properly for OPs because of the bypass permission default.
- Fixed combat protection relying only on the external CombatLog plugin.
Config Changes
Added:
settings:
pvp-command-cooldown-seconds: 5
pvp-toggle-block-seconds: 15
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:ey5TRAF1:rBbjDQj6"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:ey5TRAF1:rBbjDQj6"
}

