PVPToggle
This plugin allows players to disable PvP for themselves, simple as that. Other players that attack them will not deal damage, nor will they be able to take damage from the player with PvP disabled, vice versa.
This plugin is intended for those servers that want to allow PvP only for those who wish to PvP.
If you notice any bugs please make a comment or create a ticket.
Commands | Permission | Description | |
---|---|---|---|
/pvp | pvptoggle.use | Toggle PVP for yourself only. | |
/pvpreload | pvptoggle.reload | Reload the configuration. |
@s922197
Thanks. I will release an update tomorrow fixing this.
@TTG_TRE I got an error when I attack mobs on event "EntityDamageByEntityEvent" and the error cause by NullPointer
this only happen on players attack mobs/animal
@osky2918
This is fixed in version 4
The plugin reset on restart. aka. clears the enabledplayers.txt file from UUID's
It would be nice to have it remember :D
Is there a way to make it so that OPs can join in the PVP? So far I can hit other players but they can't hit me. I have PVP toggled on but nothing. Any fixes for this?
@Wilbo1234
Will be done in next update. Thanks for the suggestion.
I am looking for a plugin that does this if a player goes into creative, would that be a big thing to add, creative = turn pvp off, survival = turn pvp on by default ?