An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# [Toggle PVP mod](https://www.curseforge.com/minecraft/mc-mods/toggle-pvp)
![license](https://img.shields.io/github/license/eliskvitka/toggle-pvp)
![fabric](https://img.shields.io/badge/modloader-Fabric-1976d2?style=flat-square)
![server only](https://img.shields.io/badge/environment-server-4caf50?style=flat-square)

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).