Back to mods
pvpToggle project artwork

CurseForge · Minecraft mod

pvpToggle

Let players opt-in or opt-out of PVP on your server

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which pvpToggle release should I use?

Updated 8 years ago
Latest stable file pvpToggle-1.12.1-2.0.38-universal.jar
Game version 1.12.1, 1.12.2
Loader Not required

pvpToggle-1.12.1-2.0.38-universal.jar targets 1.12.1, 1.12.2. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is pvpToggle required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release No loader listed
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does pvpToggle-1.12.1-2.0.38-universal.jar need?

pvpToggle-1.12.1-2.0.38-universal.jar. Change the file and its required mods may change too.

All 1 required mods have matching files

Install K4Lib first. We found matching files for this game-version and loader setup.

K4Lib Needed by pvpToggle-1.12.1-2.0.38-universal.jar
required
Matching file found Matched file: k4lib-1.12.1-2.1.81-universal.jar

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add pvpToggle without breaking your instance.

Built for pvpToggle-1.12.1-2.0.38-universal.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use pvpToggle-1.12.1-2.0.38-universal.jar. It targets 1.12.1, 1.12.2; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install K4Lib first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside pvpToggle-1.12.1-2.0.38-universal.jar. It opens that exact file at the source.

About this project

What does pvpToggle add?

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) K4Libis 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

Project description from CurseForge.

Pick your setup

pvpToggle by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

11 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

pvpToggle versions and loaders

17 of 17 releases match

Looking for an older file? The official CurseForge project page is in Resources.