Compatibility
Minecraft: Java Edition
26.3
26.1.x
Platforms
Links
Tags
Creators
Details
Licensed ARR
Published 5 months ago
Updated 4 days ago
The Simple PVP Toggle DataPack
As Minecraft has removed the PVP option from the server.properties file and moved it to a gamerule, this helpful datapack can change the PVP gamerule across all dimensions.
A simple way to enable and disable PVP across all dimensions on your Minecraft Server or world.
Available Commands:
To Enable:
v1.0
/function simplepvptoggle:pvpenable
v1.1+
/function spt:pvpenable
To Disable:
v1.0
/function simplepvptoggle:pvpdisable
v1.1+
/function spt:pvpdisable
Screenshots
PVP Enabled

PVP Disabled



