Is there any way to disable PVP in Minecraft Java edition with a command, if I already have teams created that are needed?
Things I've Considered/Tried
- Creating a team named
all, giving it to everyone and turning off
friendlyFire. This does not work for me because I already have teams that I use.
- Changing the server properties. This does not work for me because I need to be able to change it from in-game. This is for a minigame I am making.
Thank you in advance!