Mineuniverse
Mods
pvpToggle

pvpToggle

MOD
Let players opt-in or opt-out of PVP on your server
by K4Unl
Download Claim this project
105,694 downloads
0 likes
Updated Oct 14, 2026
0 hypes
Server Utility
Advertisement Remove ads with Premium →

Ever had players who wanted to kill eachother for the fun of it, but also have players who'd rather not have pvp enabled?

With this mod you can have players decide for themselves! Let players opt-out of PVP by typing /pvp off. Or, if they rather have their heads smashed in, have them type /pvp on

Config:

  • keepInventoryOnPVPDeath (default=false) Whether or not the players keep their inventory when they die because of a player
  • keepExperienceOnPVPDeath (default=false) Whether or not the players keep their experience when they die because of a player
  • showMessageOnLogin (default=true) Whether or not to show the player a message that pvpToggle is enabled on your server, and what his/her state of pvp is (disabled or enabled)
  • coolDownInSeconds (default=30) How long a player has to wait before toggling his state of PvP. Thus counteracting the hit-and-run phenomenon. (set to 0 to disable)
  • announceDimensionSetting (default=true) Whether or not to display a message when a player enters a dimension with forced PvP settings.

The mod is mostly server only, however, since version 1.0.x the mod can also be installed client side. This'll display two swords on your gui when PvP is enabled and a shield when PvP is disabled.

 

Commands:

pvp on/off

    Toggles PVP

 

pvpui [location x y]/[own enable/disable]/[other enable/disable]

    location - Sets the location of the icon.

    own - Whether or not to display the icon.

    other - Whether or not to display the icon over a players head.

    open - Opens a new GUI component to manage areas and dimensions

 

pvptoggle [version]/[save]/[load]/[area]/[dimension]

    version - Displays the version of pvptoggle

    save - Saves the users, dimension settings and areas to the world dir

    load - Loads the users, dimension settings and areas from the world dir

    area new/delete/option

        new <name> <x1> <y1> <z1> <x2> <y2> <z2> - Creates a new area with "name" in the given coordinates.

        delete <name> - Deletes area "name"

        option get/set announce/forced - Gets or sets the options. Announce is if the mod will notify a user if they enter or leave the area. forced on/off, whether or not PvP is on or off.

    dimension [get] <dimensionID> -1/0/1 - Gets or sets the settings in the dimension. -1 means not forced. 0 means forced off, 1 means forced on.

 

Issues:

You can report issues to the github issue tracker. Or you can join me in #K4Unl on irc.esper.net

 

Required mods:

For PvPToggle (and all my other mods) K4Lib is required!

 

Modpacks:
You're allowed to use this mod in any pack you want, as long as it's not behind a paywall.

 

Permissions/Bukkit:

If you want to use this mod with, for example cauldron servers and want to run a permission plugin, these are the permissions needed:

For the /pvp command:

k4unl.minecraft.pvptoggle.commands.commandpvp

For the /pvptoggle command:

k4unl.minecraft.pvptoggle.commands.commandpvptoggle

 

 

pvpToggle-1.12.1-2.0.38-universal.jar
MC 1.12.1, 1.12.2
Release 2018-01-02 Get
pvpToggle-1.11.2-2.0.37-universal.jar
MC 1.11.2
Release 2017-04-22 Get
pvpToggle-1.10-1.0.36-universal.jar
MC 1.10.2, 1.10
Release 2016-06-23 Get
pvpToggle-1.9.4-1.0.2-universal.jar
MC 1.9.4
Release 2016-05-23 Get
pvpToggle-1.9-1.0.1-universal.jar
MC 1.9
Release 2016-04-01 Get
pvpToggle-1.8.9-1.0.11-universal.jar
MC 1.8.9
Release 2016-02-01 Get
pvpToggle-1.8.9-1.0.9-universal.jar
MC 1.8.9
Release 2016-01-28 Get
pvpToggle-1.8.8-1.0.2-universal.jar
MC 1.8.8
Release 2015-12-28 Get
pvpToggle-1.8-1.0.3-universal.jar
MC 1.8
Release 2015-06-30 Get
pvpToggle-1.7.10-1.0.33-universal.jar
MC 1.7.10
Release 2015-06-27 Get
pvpToggle-1.7.10-1.0.31-universal.jar
MC 1.7.10
Release 2015-05-10 Get
pvpToggle-1.7.10-0.1.20-universal.jar
MC 1.7.10
Beta 2015-05-07 Get
pvpToggle-1.7.10-0.1.14-universal.jar
MC 1.7.10
Release 2015-01-16 Get
pvpToggle-1.7.10-0.1.0-8.jar
MC 1.7.10
Release 2014-08-29 Get
pvpToggle-1.7.10-0.1.0-4.jar
MC 1.7.10
Release 2014-08-16 Get
pvpToggle-1.7.10-0.1.0-1.jar
MC 1.7.10
Release 2014-08-14 Get
pvpToggle-1.7.10-0.1.0-2.jar
MC 1.7.10
Release 2014-08-14 Get

More from K4Unl

Advertisement Remove ads with Premium →

You Might Also Like