Toggle PVP mod

Simple Fabric server-side mod (plugin), that allow your players to enable/disable PVP for themselves.
It ignores server.properties pvp flag currently
Requirements
Installation
- Install all required libraries
- Copy this mod to
mods/ folder
Commands and permissions
/pvp - togglepvp.base - Toggle PVP status for self
/pvp target_player on/off - togglepvp.others - Toggle PVP status for other player (Suggests this for admins)
togglepvp.force.enable - Enable players PVP status. Players will not be able to change it even if they have ".base" permission
togglepvp.force.disable - Disable players PVP status. Players will not be able to change it even if they have ".base" permission
Configuration
Will be added later
ToDo
cooldown config option
ignoreServerPropertiesPvp config option
forcePvpStatusInDimmention config option
License
This mod is available under the GNU LGPL v3.0 license.