pvpToggle

Quick rating

pvpToggle

No reviews yet

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

No Theme
No Genre
PvP
Server Utility
UI & Menu Tool
Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
pvpToggle-1.12.1-2.0.38-universal.jar
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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

Screenshots

Gallery

  • Modes
    Modes This displays how the different icons render over a players head.
  • PVPToggle logo
    PVPToggle logo

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~100,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works