This script creates the /pvp command. With it, players can activate or deactivate their pvp and thus fight against other players who have the pvp activated.
You can also specify a world where you always want pvp (eg warp pvp). You can translate all the messages, change the cooldown of the commands, and change the commands from the code.
Commands:
-
/pvp
Toggle player's pvp status.
If you liked the script, I would appreciate a review 