TogglePvp icon

TogglePvp -----

Allow players to toggle their own PVP!




Added a placeholder for force pvp enabled WorldGuard regions.
Fixed hazards tripping for players in spectator or creative mode and invulnerable entities.
Optimized explosion tracker code.
----------, Mar 11, 2023

This update fixes an NPE introduced in 8.0
----------, Oct 12, 2022

Added Respawn Anchor & Bed Bomb protection
Added WorldGuard support (flag: togglepvp-force-pvp)
Added support for 1.8.8
Fixed vanished players preventing hazards from being placed
Fixed harmful potions "flickering"
Fixed event logic issues
Fixed hazard logic failing in 1.12.2
Migrated project to gradle
----------, Oct 12, 2022

This update fixes combat tag messages not appearing when they did in previous versions.
----------, Jun 6, 2022

This update contains two major changes:
  • Added ability to make players glow depending on their pvp state
  • Reworked old tab name color system to now function as a name formatter; such as "&cPVP &r%name%"
  • Better flight checks
  • New developer api change adding PlayerPvpChangedEvent, PlayerLoadedEvent and DamageHandleEvent

Known Caveats:
  1. Requires config regeneration
  2. Glow Effects also change color of Tab name (this can be counteracted by the tab name formatter)
----------, May 24, 2022

Improved flight handling of plugin

Flight is now only disabled when the combat timer hasn't expired.
----------, Mar 22, 2022

The plugin will now parse hex codes in the config.

For example parsing the color 555555 can be done by first adding "&x" and then "&<color>" for each hex digit; This gives you "&x&5&5&5&5&5&5"
----------, Mar 20, 2022

This update fixes an NPE when an AI targets null.
This can apparently happen.
----------, Mar 16, 2022

This update adds protection against players lavabombing/firebombing players when pvp is disabled between them.

When Pvp is disabled between two players It will prevent Lava from being placed within 4 blocks in the Overworld and 8 blocks in the Nether, prevents fire from being set within 3 blocks.

Also contains some bugfixes and improvements from a slight re-code.
----------, Mar 15, 2022

This update allows you to disable flight of users that don't have tau.togglepvp.flightbypass permission as well as allowing you to set a list of disabled commands while they are in combat with another user.

To access these features you'll need to regenerate your config.
----------, Jan 13, 2022

Fixed persistent pvp states not working
Added protection from lightning strikes for tridents (fire is also removed)
----------, Jan 6, 2022

This update requires a config regeneration.

This update adds protection from PrimedTNT and EnderCrystal explosions for players and tameable entities.

Keep in mind if an explosion is triggered by Redstone the plugin has no way of knowing who caused it.

Changes:
  • Better explosion protection for players and tameable entities
  • Better handling of potions for tameable entities
----------, Dec 10, 2021

That's it.
(sorry for double update, forgot to include source in the jar)
----------, Oct 6, 2021


This update adds PlaceholderAPI support to togglepvp
No need to download expansions as they are all contained in the plugin itself.

current placeholders are %togglepvp_state% and %togglepvp_remainingtime%

this update also changes the configs default messages
----------, Jun 25, 2021

- Added attack message Cooldown that will ignore subsequent messages from combat sources as to mitigate spam.

- Fixed issue with reloading config.
----------, May 5, 2021

Fixed non finite vector issue
no other changes
----------, Jan 24, 2021


If you wish to use this feature it will only work on 1.14+
----------, Dec 19, 2020

fixed null error when an animal is tamed bu has no tamer .-.
----------, Dec 3, 2020


Fixed bug where the pvp on command would add the player to the pvp enabled players list.... and kinda remove it right afterwards cause i screwed up lol.
----------, Nov 10, 2019

If you don't use tab prefixes, no need to update.
----------, Sep 27, 2019

To use this new feature you will need to regen the config
----------, Aug 19, 2019

Improved efficiency, Updated and tested for 1.14

Bugs fixed:
Lingering Potion detection breaking in 1.14
Tameables not being protected in 1.14
----------, May 25, 2019

Seems to be a-ok
----------, Apr 25, 2019

This update fixes tridents from being deleted like arrows are when they hit a non-pvp entity.
----------, Aug 1, 2018

Hotfix for tridents being removed when hitting non-pvp players as reported by: @PantMan

Caveats:
Arrows bounce off of players and hit the ground, But they do not appear to for clients.
----------, Aug 1, 2018

Updated plugin to function with 1.13's new API changes.

Fixes:
Knockback being applied to players when attacking tameables of a player: Remove.

Non Melee Messages being ignored in some cases: Resolve.
----------, Jul 28, 2018

Added Knockback setting to apply to (Player) damagers.
Added Protection against Explosive Damage.
Added feature to disable messages for non-melee damage.
----------, Jul 16, 2018

I'd recommend you update unless you like spam in chat.
----------, Jan 4, 2018

  • This update now covers all tameable animals! (Not Just Wolves)
  • Fixed Error when Pet owner is offline.

This WILL require your config to be re-generated.
----------, Dec 30, 2017

Fixed Typo in code causing file error with config
----------, Nov 19, 2017

This Fixes a small bug where wolves can still attack wolves after a player disables his or her combat.
----------, Nov 16, 2017

This required a re-code of alot of the plugin's functionality, Tell me if there are any bugs (Even small ones)
Added Features are:
Adds Support from Protecting Players against Attacks from Tamed Wolfs.
(Optional) Adds Support to Protect Tamed wolfs from players
Note: This does not protect Tamed wolfs from natural Damage ex. Lava
Adds Support for Lingering potion's (MC1.9 +)
Adds Banned Potions (When in Non-Pvp) to the config section.
Bugfixes include 3 NPE(s), Large Optimization to Potion Logic, And other misc fixes.

This WILL require your Configuration to be regenerated before you can use it again.
----------, Nov 16, 2017

If you don't have problems with your current build, There should be no need to update.
----------, Nov 14, 2017


This Fixes an issue where apparently some people have issues with the method that i used for sending messages to the console. There is NO need to update if you are not having this issue.
----------, Aug 20, 2017

Added support for stopping (offencive) positions.
{PotionEffectType.POISON, PotionEffectType.WITHER, PotionEffectType.BLINDNESS, PotionEffectType.CONFUSION, PotionEffectType.HUNGER, PotionEffectType.SLOW, PotionEffectType.SLOW_DIGGING, PotionEffectType.UNLUCK, PotionEffectType.WEAKNESS} will be blocked when a player is not in PVP.
----------, Aug 18, 2017

Fixed issue where the reload command does not reload...
----------, Aug 5, 2017

Nothing really needed
----------, Aug 4, 2017

Resource Information
Author:
----------
Total Downloads: 18,980
First Release: Aug 1, 2017
Last Update: Mar 11, 2023
Category: ---------------
All-Time Rating:
37 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings