This command will toggle (enable and disable) your PvP mode. When PvP mode is on, you can attack other players, and other players can attack you.
The syntax for the pvp command is as follows:
Find below working examples of the pvp command.
If PvP mode is enabled, executing the above command will disable it. If PvP mode is disabled, executing the above command will enable it.