PvP Gamerule
This mod adds a special pvp game rule to Minecraft that allows you to instantly enable or disable player-versus-player combat. By default, the rule is set to true (enabled), but you can change it to false to completely block PvP on your server or in a single-player world.
Frequently Asked Questions
Does this work on LAN hosted servers?
Yes, the functionality is fully supported in LAN games.
How does the mod interact with the pvp setting in the server.properties file?
This rule overrides the standard setting from the server configuration and always has priority status.
What exactly is meant by PvP and what will be disabled?
The mechanism is completely identical to the operation of the PvP setting in the server configuration file, just now it's available as a game rule with the ability to instantly change during gameplay.