PvPToggle v1.2.0

PvPToggle v1.2.0
A simple and lightweight plugin which allows users to toggle PvP

Download: https://github.com/Nentify/PvPToggle/releases/tag/v1.2.0

Features

  • Configuration file to turn PvP on or off by default
  • Users can toggle their PvP status with the /pvp command
  • Additionally, users can use /pvp on and /pvp off if unsure if their PvP is on or not
  • Configurable cooldown between toggling your PvP status

Commands

/pvp - Toggle your PvP status
/pvp on - Turn your PvP on if it isn’t already
/pvp off - Turn your PvP off if it isn’t already

Permissions

pvptoggle.use - Use the /pvp, /pvp on and /pvp off commands
pvptoggle.nocooldown - Bypass the cooldown when toggling your PvP status
pvptoggle.bypass - Bypass the PvP protection altogether

Changelog

v1.2.0

  • Players with the pvptoggle.bypass can bypass the PvP protections of players
  • Players with the pvptoggle.nocooldown can bypass the cooldown when toggling their PvP status
  • Added /pvp on and /pvp off commands (saves you risking turning PvP on if you’re not sure and going on cooldown)

v1.1.0

  • Colourised chat messages
  • Added a clickable message to toggle PvP
  • Added a configurable cooldown to toggling your PvP status

v1.0.0

  • Initial release
  • /pvp command to toggle PvP
3 Likes

New update. Finished what I’d consider the ‘core’/most important features.

v1.1.0

  • Colourised chat messages
  • Added a clickable message to toggle PvP
  • Added a configurable cooldown to toggling your PvP status

Finished everything else I wanted to implement. Code is a little messy, but it should work just fine without any issues. If you do find any issues or have any requests feel free to reply and I’ll see get back to you quickly.

v1.2.0

  • Players with the pvptoggle.bypass can bypass PvP protections of players
  • Players with the pvptoggle.nocooldown can bypass the cooldown when toggling their PvP status
  • Added /pvp on and /pvp off commands (saves you risking turning PvP on if you’re not sure and going on cooldown)
2 Likes

Great new update!! btw can there be something to stop players on god mode? Like make their pvp auto disable when they’re in god mode.

1 Like

Thank you!

For what reason? If you want to stop them PvPing in God mode, this would probably be better implemented by the plugin that provides this command. Otherwise, they would just be able to toggle PvP back on again.

Does this plugin work on API 5 btw?

Could you add a feature that the plugin will kill the players who try to escape by closing the client?

Does this plugin support API7 and API8?