TogglePvp 2.2

Allow players to toggle their own PVP!

  1. Tau
    Tested Minecraft Versions:
    • 1.12
    • 1.13
    Languages Supported:
    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/Skyblcok 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 "Offencive" potion, Eg. Weakness, Poison, 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, as it will still splash and effect PVP users.

    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 their Owner has PVP Disabled, Or is offline)

    Toggling PVP:​
    Code (Text):

    Base Command(s) : /Pvp "TogglePvp, PvpToggle, pvpt, tpvp"
          - "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.
    Code (Text):

    Command(s) :
          - "/togglepvpReload" Reloads Config file.
                Arguments {}
          - /togglepvpGetWorld" Gets the name of the world that you are in.
                Arguments {}

    Note: Permissions are Configurable
    Code (Text):

    Permissions(s) :
          - "tau.togglepvp.use" Grants ability to use the /Pvp command.
          - "tau.togglepvp.reload" Grants ability to use the Reload & getWorld command.

    Code (Text):

    # Config for TogglePvp By TAU

    Toggle Permission: 'tau.togglepvp.use'
    # The permission to give to players to allow the this plugin

    Reload Permission: 'tau.togglepvp.reload'
    # The permission to give to Users that you wish to be able to /togglepvpreload
    # To reload settings FROM the Config without restating.
    # (keep in mind this clears Data like Pvp enabled players)

    Delay: 10
    # The time delay (In seconds) From where after a Player PVP's another
    # player they will be able to use /pvp again.

    Force PVP Enabled Worlds:
    - 'Pvp'
    - 'Testing_World'
    - 'Another_one'
    - 'And_so_on'
    # The above World(s) list is a list of worlds that PVP is FORCE enabled.
    # And Cannot be disabled by the user.
    # The list IS Case sensitive.
    # To get the name of the world you are in, Use /togglepvpGetWorld (You must have the Reload Permission)

    Banned Potion Effects:
    - 'POISON'
    - 'WITHER'
    - 'HUNGER'
    - 'SLOW'
    - 'UNLUCK'
    - 'WEAKNESS'
    # The list here is where you can control what potion effect(s) are to be handled
    #   as offensive by this plugin.
    # Note: Don't include potion effects such as HURT (Instant Damage)
    #       As that is treated as Damage vs. A Long-Term effect such as POISON
    # A full list of supported effects can be found Here:

    Protect Tameable Animals: true
    # Should this plugin protect Tamed Animals when their Owner has PVP disabled (Or Offline).

    # If you want Tameables to be invulnerable at all times and not be able to attack players / other pets
    # Ill consider making a plugin, Or Just ask around, I bet there is one out there.

    Protect From Explosions: true
    # Should this plugin protect players with PVP disabled from explosions all together?

    # Enable Damager-Knockback when pvp is disabled and yet pvp is attempted (Only effects players).
    Enable Knockback: true
    # Set Knockback force multiplier (Float)
    Knockback Force: 0.5F

    ## Messages ##

    Animal Owner Offline: ' &7* &3You Cannot &cAttack&3 that &bPet&3 Because it''s Owner is offline. &7*'
    # The Message to send to a Player that Attacks a Player-Tamed-Wolf when the Owner of that Wolf is Offline
    # And cannot have pvp enabled because they are Offline.

    MSG In PVP Enabled World ON Pvp CMD: ' &7NOTE: &cPVP &6is force &eEnabled&6 in this World. Changing your &cPVP&6 State will have no effect here.'
    # String, ColorCodes.
    # This MSG will be sent to the player that Attempts to toggle their PVP in the Force Enabled Worlds.
    # NOTE: This does NOT block people from toggling. Simply Disregards their settings in THAT world.

    MSG Usage:
    - '&7Usage: /pvp On, Enable, Start/Off, Disable, Stop'
    - '&7Toggle Usage: /pvp'
    # The color-code message to display to a user that does not enter the command correctly.
    # Defaults:
    #- '&7Usage: /pvp On, Enable, Start/Off, Disable, Stop'
    #- '&7Toggle Usage: /pvp'

    MSG CombatTaged:
    - '&3 Unable to &cTogglePVP&3 You have been in &6Combat&c!'
    - '&3 You Must wait &7(&b%remainingtime%&7)&3 seconds'
    - '&3 Before toggling your &3Combat&c On&7/&aOff'
    # Stringlist, ColorCodes, (%remainingtime%)=Time_before_they_can_use_the_command Placeholder(s).
    # You may use the placeholders %remainingtime% -(In seconds)
    # You may use ColorCodes (&)

    MSG Pvp is Already DISABLED: ' &4Error: &3Your &cPVP&3 is Already &2Disabled&3.'
    MSG Pvp is Already ENABLED: ' &4Error: &3Your &cPVP&3 is Already &eEnabled&3.'
    # String, ColorCodes.
    # These strings handle the messages that will be sent to the player if they Try to set PVP to the same setting it is already on.

    MSG Pvp DISABLED: ' &3Your &cPVP &3has been &2Disabled&3.'
    MSG Pvp ENABLED: ' &3Your &cPVP &3has been &eEnabled&3.'
    # String, ColorCodes.
    # These strings are simple messages to tell a player if their PVP has been enabled or disabled.

    Send PVP Disabled Messages On Non-Melee: true
    # Should Attack Blocked messages be sent when non-melee attacks are used? (Bows/Potions)

    MSG Attack Blocked BASE: '&7* &3You Cannot &cPVP &7(&b%player%&7) &3Because'
    # String, ColorCodes, (%player%)=Victim PlaceHolder(s)
    # The Message that will be sent to the Attacker when they attempt to attack a Player when ether
    # the Attacker or the Victim have PVP disabled
    MSG Attack Blocked Both Players Disabled: ' &3Both &a&lYou &3and &7(&b%player%&7) &3have &cPVP &2Disabled&3. &7*'
    # String, ColorCodes, (%player%)=Victim PlaceHolder(s)
    # Message that will follow up the Base message if Both players have PVP disabled.
    MSG Attack Blocked You Disabled: ' &a&lYou &3have &cPVP &2Disabled&3. &7*'
    # String, ColorCodes
    # Message that will follow up the Base message if the Attacker has pvp disabled.
    MSG Attack Blocked Other Player Disabled: ' &a&7(&b%player%&7) &3has &cPVP&2 Disabled&3. &7*'
    # String, ColorCodes, (%player%)=Victim PlaceHolder(s)
    # Message that will follow up the Base message if the Victim has pvp disabled.

    #Misc Advanced Messages

      No Permission: ' &cNo Permission'
      ConsoleIsNotPlayer: ' Console does not have a Player, Thus you must use this command only as a player.'
      Reload: ' TogglePvp reloading'
      Reloading: ' TogglePvp reloaded'
      ConsoleCannotPvp: ' Last i checked, Console couldn''t PVP'
    # Misc ColorCode(Not recommended for console) messages.
    # Defaults:
    # ' &cNo Permission'
    # ' Console does not have a Player, Thus you must use this command only as a player.'
    # ' TogglePvp reloading'
    # ' TogglePvp reloaded'
    # ' Last i checked, Console couldn't PVP'
    # If deleted the plugin will default to pre-set 'MSG Misc' messages.

    # END #

    # Plugin by Tau (IGN: TauCubed)

    # No Touchy
    Config Version: 5
    # No Touchy

    Allows Player to toggle their PVP on and off.
    Blocks Changing to Non-Pvp mode while in Pvp after (Configurable delay)
    Supports multiverse servers, Allowing for Force PVP enabled worlds.
    You can configure almost everything to your liking.
    Simple and easy to use.​

    if you have an issue, Please don't use the Reviews for it, Just send me a message or write it in discussion. Remember, this plugin is free, I have a Job, Keep that in mind.

Recent Updates

  1. Fix for tridents
  2. Hotfix for tridents
  3. 1.13 Update, Bugfixes

Recent Reviews

  1. Ender_Griefeur99
    Version: 1.7
    good plugin but can you add a command for hide the msg of you can not pvp please ^^
    1. Tau
      Author's Response
      Thanks for the review, Can you please tell me exactly what you want in the discussion page? Do you mean a per-player command for turning the messages on and off?
  2. ItzCodex
    Version: 1.7
    Nice plugin and easy to use!

    Lorem Ipsum 80 chars "But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth,
  3. HexedHero
    Version: 1.6
    Just amazing, honestly its just a drag and drop install, don't even need to change anything other than give players perms to do /pvp!
    1. Tau
      Author's Response
      Glad You find it useful!
  4. GDubstep
    Version: 1.5
    I was looking for this kind of plugin for more than 2 years, finally I found one, very good and useful plugin, I suggest it to the most rpg and survival server owners!!!!!
    1. Tau
      Author's Response
      ;) Thanks, i'm glad you find it useful.
  5. Poohhhhh123
    Version: 1.3
    Work perfectly and very cool message.Pls add support for other language character.
    1. Tau
      Author's Response
      Hey. I'd like to help you, However i do not understand what you mean by "other language character" PM me please ;)
  6. rustyshakelford
    Version: 1.3
    Fantastic and simple plugin. It has the exact featureset I wanted for our vanilla server, no more and no less.
    1. Tau
      Author's Response
      Glad you found it usable.
  7. HomaDzz
    Version: 1.3
    Simple good plagin, but, first what i can tell - the reaaly usefull function will be autowrite about force PVP in world, when player teleported there.
    1. Tau
      Author's Response
      I'm not sure what you meant by that. I think you mean an automatic message on teleport to a pvp disabled world? Alright, ill add that in future. i sent you a build on your profile, tell me if that fixes your issue.
  8. Xeyame
    Version: 1.2
    Simple plugin, Does what it says it does. And in an wonderfull way.

    Also the developer is kind, and giving fast responses :D
    1. Tau
      Author's Response
      Thanks. Glad you find it useful.