SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedAdmin & protection

PvPToggle

by Majekdor · for Minecraft

Allow players to change their PvP Status to reflect whether or not they want to fight other players.

4.3KDownloads
5 yr agoLast updated
Spigot · PaperLoaders
1.18Latest game version

About PvPToggle

From SpigotMC

Allow players to change their PvP Status to reflect whether or not they want to fight other players.

What is PvPToggle?
​
PvPToggle is a plugin that allows players to use a simple command (/pvp) to change their "PvP status." When a player has PvP toggled off they won't be able to take damage from other players or deal any damage to other players. Damage from mobs, explosions, lava, etc. will not be affected by your PvP status.

Features:​
  • Small, efficient plugin
  • Blocks all forms of damage
  • Customizable messages
  • WorldGuard support
  • Citizens support
  • GriefPrevention support
  • Lands support
  • Admin commands
  • Works in most MC versions
  • Data saves on restart
Commands:
  • /pvp <on|off> - Change your pvp status.
  • /allpvp <on|off> - Change the pvp status of everyone, requires permission pvptoggle.allpvp
  • /blockpvp <true|false> - Change whether or not players are blocked from toggling their pvp status, requires permission pvptoggle.blockpvp
How to use:

Place the downloaded jar in your plugins folder and restart your server. The config.yml will now be generated so you can configure the plugin to your liking.​
<button type="button" class="button bbCodeSpoilerButton ToggleTrigger Tooltip JsOnly" title="Click to reveal or hide spoiler" data-target="> .SpoilerTarget">Spoiler: Default config.yml</button>
Code (YAML):
[/SIZE ]
# PvPToggle by Majekdor | Need help? Join https://discord.majek.dev

# Set whether pvp is on by default (default: false)
default-pvp : false

# Set whether pvp is automatically set to false on join
off-on-join : false

# If true, only players with permission pvptoggle.use can use /pvp (default: false)
use-permissions : false

# Set a cooldown for the time between players using /pvp
# Default: -1 (no cooldown) put number in seconds if you change this
pvp-cooldown : -1

# Set the worlds where PvP Toggle is disabled
# Below is an example. Uncomment the line and add the world name to disable
disabled-worlds :
&nbsp;- "world name goes here"

# If set to true then PvP will be forced on for users in a WorldGuard region where PvP is set to allow
# Otherwise PvPToggle will let them do what they want
force-pvp-in-region-allow : false

# Whether players should be notified of a region's pvp status (whether they can pvp there) when they enter
region-notify : true

# Set whether changes in PvP status are logged to console (default: false)
console-log : false

# Don't set to true unless you want players to see random messages or other undesirable behavior
debug : false

# These are used for PAPI boolean values
boolean-true : 'true'
boolean-false : 'false'

# Database settings for MySQL support
# Only enable this if you know what you're doing and have an existing database
# If database is disabled the plugin will use SQLite for data storage
database-enabled : false
host : ''
port : ''
database : ''
username : ''
password : ''
use-ssl : false

# =========================
# | MESSAGE CONFIGURATION |
# =========================
# Feel free to use any mc color code
# %player% is replaced with the relevant player name
# If %player% isn't in a message, don't put it there. It won't work

pvp-enabled : '&amp;6PvP is now : &amp;aEnabled'
pvp-disabled : '&amp;6PvP is now : &amp;cDisabled'
no-pvp : '&amp;6PvP is disabled. Use &amp;7/pvp &amp;6to turn it on.'
other-pvp : '&amp;b %player% &amp;6has PvP disabled!'
unknown-player : '&amp;cUnable to locate player %player%.'
no-permission : '&amp;cYou do not have permission to do that!'
on-cooldown : '&amp;cYou may use this command again in %cooldown%.'
plugin-reloaded : '&amp;6PvPToggle reloaded.'

# The below messages use the strings at the bottom of this file

# %toggle% will be replaced with either on or off
# %player% will be replaced with the player who's pvp has been toggled
pvp-toggle-other : '&amp;6PvP is now %toggle% for &amp;b%player%&amp;6.'
pvp-toggle-all : '&amp;6PvP is now %toggle% for everyone.'
pvp-block-set : '&amp;6Global PvP blocking is now set to %toggle%.'
pvp-blocked : '&amp;6Toggling PvP is blocked.'

# %noun% will be replaced with either you-are or player-is
disabled-world : '&amp;c %noun% in a world where this command is disabled.'

# %toggle% is either on or off
region-deny : '&amp;c %noun% in a region with PvP forced %toggle%.'

Read the full description on SpigotMC →

Highlights

From source data

Game versions

Supports 6 Minecraft versions, the newest being 1.18.

Loaders

Runs on Spigot and Paper.

Footprint

Rated a light load on a server.

PvPToggle on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers, for Paper servers. We download it from SpigotMC, place it, and restart the server.
Server side
Required on the server
Server type needed
Spigot, Paper
Server load
light
Smallest plan we suggest
Minecraft — 1.5 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
3.0.3, released 2022-01-07

Game versions by loader

LoaderGame versionsNewest
Paper1.13 to 1.18 (6 versions)1.18
Spigot1.13 to 1.18 (6 versions)1.18

From 10 recorded builds of PvPToggle.

Recent builds

BuildReleasedGame versionsLoaders
3.0.32022-01-071.13 to 1.18 (6 versions)Spigot, Paper
3.0.22021-10-24n/aSpigot, Paper
3.0.12021-10-23n/aSpigot, Paper
3.0.02021-10-21n/aSpigot, Paper
2.1.12021-08-08n/aSpigot, Paper
2.1.02021-06-18n/aSpigot, Paper

Run PvPToggle on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on SpigotMC as “Admin”

Admin & protection

Permissions, moderation, anti-cheat and land protection for the people running the server.

Runs on your server

From source side support

SpigotMC lists PvPToggle as required on the server. Check its SpigotMC page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
SpigotPaper
Runs on
Serverrequired on the server
Game versions
1.18 and 5 earlier
Requires
One-click install needs a Paper server.

Verified at the source

  • ✓SpigotMCOfficial listing, checked 2026-10-16Open ↗
  • ✓AuthorMajekdor, as published on SpigotMC
  • ✓LicenseNot published by the sourceFree

PvPToggle, answered

Generated from the mod’s own source data.

Do my players need to install PvPToggle?

SpigotMC lists PvPToggle as required on the server. Check its SpigotMC page to see whether players need it too.

Which loaders does it support?

Spigot and Paper.

Is it free?

Yes. PvPToggle is free to download from SpigotMC.

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 PvPToggle on a Minecraft server.

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