Compatibility
Minecraft: Java Edition
1.21–1.21.1
1.20.x
Platforms
Supported environments
Links
Details
Licensed MIT
Published last year
Updated last year
PvP Gamerule
Adds the pvp gamerule (true by default). Set it to false to disables player-versus-player combat.
FAQ
- Will this work on LAN Hosted Worlds?
Yes.
- What about the
pvpsetting in theserver.properties?
Completely ignored, the gamerule always takes priority.
- How is PvP defined? What will be disabled?
Behaves the same as changing the
pvpsetting in theserver.propertiesjust as a gamerule.


