Back to mods
PvP Flag project artwork

Modrinth · Minecraft mod

PvP Flag

More immersive PvP toggle, allowing players to show they are peaceful, not other way around (Project Zomboid-esque style)

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

Quick answer

Which PvP Flag release should I use?

Updated 2 months ago
Latest stable file 2.0.2+1.21.1
Game version 1.21.1
Loader NeoForge

PvP Flag 2.0.2+1.21.1 targets 1.21.1 with NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. All 2 required mods have matching files.

Where it goes

Is PvP Flag required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

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

The source marks this as usable on both the client and server.

What else does PvP Flag 2.0.2+1.21.1 need?

2.0.2+1.21.1. Change the file and its required mods may change too.

All 2 required mods have matching files

Install Kotlin for Forge, bad packets first. We found matching files for this game-version and loader setup.

Kotlin for Forge Needed by PvP Flag 2.0.2+1.21.1
required
Matching file found Matched file: 5.12.0
bad packets Needed by PvP Flag 2.0.2+1.21.1
required
Matching file found Matched file: neo-0.8.2

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

Before you install it

Add PvP Flag without breaking your instance.

Built for PvP Flag 2.0.2+1.21.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.0.2+1.21.1. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Kotlin for Forge, bad packets first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.0.2+1.21.1. It opens that exact file at the source.

About this project

What does PvP Flag add?

PvP Flag mod

Allows players to enter "PvP" mode.

Skull marks PvP flag enabled. People with PvP flag disabled (no skull) can not damage you as long as you don't have it enabled as well. In all other cases PvP works.

Default keybind: K

Version 2 came out (sorry for the wait lol)

Now we have:

  • Adjustable pending timeout, cancled when doing damage or receiving damage
  • Server config, no more gamerule setup
  • Fabric NeoForge support, at least 1.20.1

If you don't get how PvP works with this mod refer to table below:

Enemy's skull Your skull Can attack happen?
ENABLED ENABLED YES
ENABLED DISABLED YES
DISABLED ENABLED YES
DISABLED DISABLED NO

Like in Project Zomboid.

Alternative logic

Need more classic enable disable logic? You can change it in server config.

On server check world/serverconfig/pvpflag-server.toml

Yes, this file can be customized per-world

If you are hosting local save, check save directory

People with PvP disabled will not take damage at all. Refer to the table below:

Enemy's skull Your skull Can attack happen?
ENABLED ENABLED YES
ENABLED DISABLED NO
DISABLED ENABLED NO
DISABLED DISABLED NO

Credits

Skull texture:

CC BY 4.0

by SkaldingDelight

Project description from Modrinth.

Pick your setup

PvP Flag by Minecraft version and loader

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

13 available setups

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

Recent files

PvP Flag versions and loaders

18 of 18 releases match

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