This mod give the possibility to the players to change their status of pvp by turning it on or off
They just have to use /pvp on, /pvp off or /pvp toggle to switch their PvP status.
You can also verify your PvP status just with /pvp status. You can see it with an icon at the bottom of the right corner of the screen or in the list of the server and in the chat
For the admins there are some commands to create zones and force PvP status in the zones or force the PvP status of one or all players.
Commands Admin :
/pvpadmin
This command give the status of a player
/pvpadmin status <target>
These commands change the status of a player
/pvpadmin set <target> on
/pvpadmin set <target> off
This command cancel the status in queue of a player
/pvpadmin cancelpending <target>
These commands can be use to see if the mod is active or not and to turn it on/off.
/pvpadmin mod status
/pvpadmin mod on
/pvpadmin mod off
These commands can be use to know the actual value of the anti-abuse radius and delay
/pvpadmin property get anti_abuse_radius
/pvpadmin property get anti_abuse_delay_seconds
And these ones is to modify them
/pvpadmin property set anti_abuse_radius <value> (0..128)
/pvpadmin property set anti_abuse_delay_seconds <value> (0..600)
The anti-abuse system prevent players from turning off their status during a fight or from turning on their status near a player with PvP on.
/pvpzone
This command give you the list of the zone that exist
/pvpzone list
These commands are used to create a zone by giving coordinates. or remove one just with the name of the zone
/pvpzone create <name> <x1> <y1> <z1> <x2> <y2> <z2>
/pvpzone remove <name>
This command give you the info about a zone like the dimension, positions and settings
/pvpzone info <name>
This command is used to set the priority of a zone over another one
/pvpzone setpriority <name> <value>
These commands are used to set the PvP status of the zones.
/pvpzone setrule <name> default This one set the PvP zone status depending on the players in it
/pvpzone setrule <name> force_on This one forces the PvP status for all players inside to on
/pvpzone setrule <name> force_off This one forces the Pvp status for all players inside to off
This command give or remove the possibility for players to turn on/off their status
/pvpzone settoggle <name> <true|false>
This command is used to activate or deactivate a zone
/pvpzone setenabled <name> <true|false>
This command is used to activate or deactivate the message when a player enter the zone
/pvpzone setmessages <name> <true|false>