https://github.com/eliskvitka/toggle-pvp
Simple Fabric server-side mod (plugin), that allow your players to enable/disable PVP for themselves
https://github.com/eliskvitka/toggle-pvp
fabric fabric-mod fabricmc-mod minecraft minecraft-mod pvp-plugin
Last synced: 3 months ago
JSON representation
Simple Fabric server-side mod (plugin), that allow your players to enable/disable PVP for themselves
- Host: GitHub
- URL: https://github.com/eliskvitka/toggle-pvp
- Owner: eliskvitka
- License: lgpl-3.0
- Created: 2022-02-11T15:50:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-14T15:11:36.000Z (almost 2 years ago)
- Last Synced: 2025-06-11T06:09:36.220Z (about 1 year ago)
- Topics: fabric, fabric-mod, fabricmc-mod, minecraft, minecraft-mod, pvp-plugin
- Language: Java
- Homepage: https://www.curseforge.com/minecraft/mc-mods/toggle-pvp
- Size: 114 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Toggle PVP mod](https://www.curseforge.com/minecraft/mc-mods/toggle-pvp)



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](https://fabricmc.net/use/server/) >= 0.15.10
- [Fabric API](https://www.curseforge.com/minecraft/mc-mods/fabric-api)
- Also, you need some permission manager mod, that works with Fabric Permissions API. I suggest [LuckPerms](https://luckperms.net/download)
## Installation
- Install all required libraries
- [Download mod](https://www.curseforge.com/minecraft/mc-mods/toggle-pvp/files)
- Copy it to `mods/` folder
## Commands and permissions
| Command | Permission | Description |
|-------------------------------|--------------------------|--------------------------------------------------------------------------------------------------------|
| /pvp | togglepvp.base | Toggle PVP status for self |
| /pvp | 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](LICENSE).