SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
✓ VerifiedGame modes & minigames

PvP Toggle

by Vilantious · for Minecraft

Combat flagging and persistent PvP preferences to pet protection and more!

41KDownloads
11d agoLast updated
LicenseRef-All-Rights-ReservedLicense
FabricLoaders

About PvP Toggle

From Modrinth

Combat flagging and persistent PvP preferences to pet protection and more!

Title

fabric modrinth curseforge

A mod that lets players toggle PvP individually, while offering some neat extra features that I reckon you may find useful. I am also aware that quite a few mods do something similar, but I felt like I could make something beyond a simple toggle.

Features this mod offers

  • PvP preferences: Players choose whether to disable or enable PvP for themselves
  • Colored name tags: Uses vanilla's teams to show off players' PvP states
  • Combat flagging: While flagged, toggling is disabled, and disconnecting for any reason while it's active will result in being immediately killed
  • Global PvP: Force PvP on or off for all players server-wide; this takes priority over everything else
  • Pet protect: Protect all tamed mobs from players whose PvP is off (the pet owner’s PvP state is not factored in)
  • Forced PvP in other dimensions: You can force PvP in specific dimensions
  • LuckPerms support: Allows you to customize accessibility to things
  • Configurability: Some stuff can be configured; for info on what is configurable, go down to the configuration section

Disclaimer

> This mod ignores the pvp setting in server.properties. Stick to the newest versions of the mod, as older versions may have bugs or lack features as my work is not perfect. Make sure to look at the dependencies section as well.

Dependencies

Commands & Permissions

Spoiler

| Command | Description | Permission Node | |-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------| | /pvp | Toggles your PvP on or off. | pvptoggle.player.toggle | | /pvp <player> | Change a player's PvP preference. | pvptoggle.op.other.toggle | | /pvp <player> timeout <duration> | Prevent a player from toggling for a specified duration (in seconds). | pvptoggle.op.other.timeout | | /pvp status | Displays your current PvP status. | pvptoggle.player.status | | /pvp status <player> | View a detailed info list about a player's PvP state. | pvptoggle.op.other.status | | /pvp status flag | Toggle displaying your PvP flag timer on or off. | pvptoggle.player.status | | /pvp global <state> <shouldBroadcast> | Set the global PvP state to on, off, or neutral. The <shouldBroadcast> argument (true or false) is for whether to announce it or not. | pvptoggle.op.global | | /pvp reload | Reloads the configuration file. | pvptoggle.op.reload |

There's also the pvptoggle.op.exempt permission node that marks you as immune against penalties such as being flagged, being put on cooldown, etc.

Once again, as was said in the dependencies section, you can completely ignore permission nodes if you do not care for customizing them via another mod like LuckPerms. All nodes labeled as "player" are available to everyone by default, while ones labeled as "op" are available to anyone with an operator permission level of 2 or higher.

Configuration

Spoiler

Configuration file path: config/pvptoggle/pvp-toggle.json (Generated on launch).

{
  // WARNING: DO NOT COPY THIS EXAMPLE JSON
  
  // Cooldown for toggling
  "toggle_cooldown": 120.0,

  // How long one is flagged for after engaging in combat
  "combat_flag_duration": 60.0,

  // Default PvP preference for new players
  "default_pvp_preference": true,

  // Console feedback
  "broadcast_to_other_ops": false,

Read the full description on Modrinth →

Highlights

From source data

Game versions

Supports 17 Minecraft versions, the newest being 26.3.

Loaders

Runs on Fabric.

Footprint

Rated a light load on a server.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Game modes & minigames

Game modes, minigames and competitive formats for your server.

Runs on your server

From source side support

Modrinth lists PvP Toggle as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
Fabric
Runs on
Serverrequired on the server
Game versions
26.3 and 16 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
  • ✓AuthorVilantious, as published on Modrinth
  • ✓LicenseLicenseRef-All-Rights-ReservedFree

PvP Toggle, answered

Generated from the mod’s own source data.

Do my players need to install PvP Toggle?

Modrinth lists PvP Toggle as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Fabric.

Is it free?

Yes. PvP Toggle is free to download from Modrinth. Its license is LicenseRef-All-Rights-Reserved.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run PvP Toggle on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add PvP Toggle in one click.