Simple Fabric server-side mod (plugin), that allow your players to enable/disable PVP for themselves.
It ignores server.properties pvp flag currently
- Fabric loader >= 0.15.10
- Fabric API
- Also, you need some permission manager mod, that works with Fabric Permissions API. I suggest LuckPerms
- Install all required libraries
- Download mod
- Copy it to
mods/folder
| Command | Permission | Description |
|---|---|---|
| /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 |
Will be added later
cooldownconfig optionignoreServerPropertiesPvpconfig optionforcePvpStatusInDimmentionconfig option
This mod is available under the GNU LGPL v3.0 license.