Compatibility
Minecraft: Java Edition
1.21–1.21.1
1.20.x
Platforms
Supported environments
Links
Details
Licensed MIT
Published last year
Updated 12 months ago
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
pvp
setting in theserver.properties
?
Completely ignored, the gamerule always takes priority.
- How is PvP defined? What will be disabled?
Behaves the same as changing the
pvp
setting in theserver.properties
just as a gamerule.