Toggle PVP Mod
A simple server-side Fabric mod that allows players to independently enable and disable PVP (player versus player). Currently, the mod ignores the PVP setting in the server.properties file.
System Requirements
To use the mod, you need:
- Fabric loader version 0.13.1 or higher
- Fabric API
- PlayerAbilityLib
- A permissions management mod compatible with Fabric Permissions API (LuckPerms is recommended)
Installation
- Install all required libraries
- Place the mod file in the
mods/folder on the server
Commands and Permissions
/pvp-togglepvp.base- Toggle PVP status for yourself/pvp player_name on/off-togglepvp.others- Manage PVP status for other players (for administrators)togglepvp.ignorecooldown- Ignore command cooldown (not yet implemented)
Planned Updates
Future versions will include:
- Configuration for command cooldown time
- Option to ignore server PVP settings
- Forced PVP status in specific dimensions
License
The mod is distributed under the GNU LGPL v3.0 license.