SimpleTogglePvp

SimpleTogglePvp

196 Downloads

This is a Simple to use and lightweight plugin for servers that want to allow PVP but also allow friendly players to play the game. perfect for Survival/Skyblock servers.

How does it work?
In order for players to be able to PVP one another, they need to both have their PVP enabled via the /Pvp on/off/toggle command.
(The plugin also has support for Force Pvp Enabled Worlds)

What about bows/potions?
In the instance of an Arrow hitting a user when one of them has PVP disabled, It will simply get deleted and the damage (Including fire) canceled.
In the instance of potions splashing it is somewhat more complex. Rather than just deleting all potions, it will cancel the Effect of a "Offensive" potion Eg. Weakness, Poison or Damage.
It only removes the effect from players with PVP disabled.
This is better than just deleting the potion as that would exclude a lot of possibilities between allies that just happen to have PVP disabled.
or PvPers that accidentally hit a friendly, and get their hard-worked for potion deleted.

What About Tamed Animals?
Yep. It supports that too!
It also has the option to protect tamed creatures against damage from other players and tamed wolves (when the owner has PvP disabled or is offline)

And Explosions?
You guessed it, It sure does.
Commands
Toggling PVP:​
Base Command(s) : /Pvp "TogglePvp, PvpToggle, pvpt, tpvp"
Arguments:
- "on" Activates your PVP if not already.
- "start" Activates your PVP if not already.
- "off" Deactivates your PVP if not already.
- "stop" Deactivates your PVP if not already.
- "toggle" Toggles your PVP.
- "" Toggles your PVP.
Admin:​
Command(s) :
- "/togglePvpReload" Reloads Config file.
Arguments {}
- "/togglePvpGetWorld" Gets the name of the world that you're in.
Arguments {}
Permissions

Permissions:
Note: Permissions are Configurable
Permissions(s) :
- "tau.togglepvp.use" Grants ability to use the /pvp command.
- "tau.togglepvp.reload" Grants ability to use the reload & getWorld command.
Placeholders:
%togglepvp_state%
Players PvP state.
%togglepvp_remainingtime%
Remaining time before player can change PvP states after combat.​
Features
Allows Player to toggle their PVP on and off.
Blocks changing to Non-Pvp mode while in Pvp after a configurable delay
Supports multiverse servers, Allowing for Force PVP enabled worlds.
You can configure almost everything to your liking.
Simple and easy to use.
PlaceholderAPI support​