TogglePvp 3.3

Allow players to toggle their own PVP!

  1. Tau
    Tested Minecraft Versions:
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    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 affect 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 dsabled, 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)

    Pvp Enabled Commands: []
    # Commands that will be ran from console when someone turns on pvp
    # %player% will be replaced with the players name

    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.

    Change Tab Name Colors of Players: false
    # Should the plugin change players tab list name colors to the below to reflect their pvp state

    Tab Name Color when PVP is Off: '&a'
    # Only true if "Change Tab Name Colors of Players" is true
    # Can be '' to not change the color at all

    Tab Name Color when PVP is On: '&c'
    # Only true if "Change Tab Name Colors of Players" is true
    # Can be '' to not change the color at all

    #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 or UwUCubed)

    # No Touchy
    Config Version: 6
    # No Touchy

    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.​

    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.
    amiroslo, anemul, Sr.Sawa and 4 others like this.

Recent Reviews

  1. Minestick
    Version: 3.2
    Efficient yet feature-rich plugin to handle PvP for your smp server! Everything was extremely configurable!
  2. Zaligan
    Version: 3.2
    Great. Better than other pvp toggle plugins. (i've tested multiple) ^^
  3. Cantibra
    Version: 3.1
    Does what it should... Theres nothing else to say... Excellent work...
    I love it!
  4. predavanje
    Version: 2.8
    Great plugin. Always works perfectly, author is also super friendly. Asked for something and he added it in few days :)
  5. hemadada
    Version: 2.7
    Great work. I hope more Steve can use it. Can I reprint it to the mcbbs community in China?
    1. Tau
      Author's Response
      yes you may
  6. Sr.Sawa
    Version: 2.4
    Este plugin é muito bom. Eu tenho um servidor de sobrevivência em 1.14 e este plugin foi muito bem aceito pelos jogadores.
    Contudo sentem falta do pvp noturno, em que o pvp era forçar durante a noite, e de dia o pvp era liberado apenas para quem quisesse.
  7. Fisherman_wcz
    Version: 2.4
    very gooooooooooooooood plugin
    author quick solve my problem
    thank you
  8. Bobcycle
    Version: 2.2
    This is really good, must have for any survival server which want to give players the ability to enable and disable damage.
  9. anemul
    Version: 2.2
    It's awesome , after I stopped getting it confused with the other plugin that is named in reverse . Great addition to my server .
  10. 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?