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 >= 0.13.1
- Fabric API
- PlayerAbilityLib
- 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.ignorecooldown
- Ignore command cooldown (Not implemented yet)
Configuration
Will be added later
ToDo
cooldown
config optionignoreServerPropertiesPvp
config optionforcePvpStatusInDimmention
config option
License
This mod is available under the GNU LGPL v3.0 license.