Description
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
- Fabric loader
- Fabric API
- Also, you need some permission manager mod, that works with Fabric Permissions API. I suggest LuckPerms
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" permissiontogglepvp.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
cooldownconfig optionignoreServerPropertiesPvpconfig optionforcePvpStatusInDimmentionconfig option
License
This mod is available under the GNU LGPL v3.0 license.


