Disable PVP in minecraft 1.8.7 Windows
The only way to play Minecraft PE is in a server (not a local Wi-Fi server, an external server). When people make external servers, they can set different commands and stuff like that, therefore allowing them to disable or enable PVP.