All Mods Resource Packs Data Packs Shaders Modpacks Plugins
PvP Flag

PvP Flag

by rkkm • Downloads: 52 • Followers: 0
Description
Gallery
Changelog
Versions

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

How to Install PvP Flag (Mod)

PvP Flag by rkkm is verified for Fabric, Forge, Neoforge across Minecraft versions 1.19.2, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.1 (latest release: 2.0.2+1.21.1, file size: 56 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.19.2, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21.1) and platform (Fabric, Forge, Neoforge).
  2. Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
  3. Move the downloaded PvP Flag file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.1
Neoforge
2mo ago 29
1.21.1
Fabric
2mo ago 14
1.19.2
Forge
2mo ago 10
1.19.2
Fabric
2mo ago 7
1.19.4
Forge
2mo ago 6
1.19.4
Fabric
2mo ago 5
1.20.1
Forge Neoforge
2mo ago 4
1.20.1
Fabric
2mo ago 4
1.20.1
Forge Neoforge
2mo ago 3
1.20.1
Fabric
2mo ago 3
1.20.4
Fabric
2mo ago 3
1.20.3
Fabric
2mo ago 2
1.20.2
Fabric
2mo ago 2
1.20.1
Fabric
2mo ago 2
1.20
Fabric
2mo ago 2
1.20.4
Fabric
2mo ago 2
1.20.1
Fabric
2mo ago 2
1.20.1
Fabric
2mo ago 2
# PvP Flag — Changelog

## 2.0.2

Update to config offset default because new rendering required different approach with different values. Format is still the same



## 2.0.0

  • Complete rewrite as a multiplatform Kotlin mod (Fabric + Forge).**

  • Added Forge support alongside Fabric using the Kotlin MultiLoader Template
  • Replaced GameRule config with proper config files (Forge Config API Port)
  • flagLogic: MUTUAL or PERMISSIVE PvP mode
  • disableTimeoutSeconds: configurable disable delay
  • Client config for skull icon position, size, and render distance
  • Added timeout-based flag disabling with pulsing skull indicator
  • Flag doesn't disable instantly — starts a countdown (default 5s)
  • PvP damage during countdown cancels it
  • Only the player themselves sees the countdown; others still see the flag as enabled
  • Switched networking to badpackets (cross-platform)
  • Switched state storage to SavedData (server-authoritative)

# PvP Flag — Changelog

## 2.0.2

Update to config offset default because new rendering required different approach with different values. Format is still the same



## 2.0.0

  • Complete rewrite as a multiplatform Kotlin mod (Fabric + Forge).**

  • Added Forge support alongside Fabric using the Kotlin MultiLoader Template
  • Replaced GameRule config with proper config files (Forge Config API Port)
  • flagLogic: MUTUAL or PERMISSIVE PvP mode
  • disableTimeoutSeconds: configurable disable delay
  • Client config for skull icon position, size, and render distance
  • Added timeout-based flag disabling with pulsing skull indicator
  • Flag doesn't disable instantly — starts a countdown (default 5s)
  • PvP damage during countdown cancels it
  • Only the player themselves sees the countdown; others still see the flag as enabled
  • Switched networking to badpackets (cross-platform)
  • Switched state storage to SavedData (server-authoritative)

# PvP Flag — Changelog

## 2.0.1

Respect F1 press for skulls above player heads and in HUD

## 2.0.0

  • Complete rewrite as a multiplatform Kotlin mod (Fabric + Forge).**

  • Added Forge support alongside Fabric using the Kotlin MultiLoader Template
  • Replaced GameRule config with proper config files (Forge Config API Port)
  • flagLogic: MUTUAL or PERMISSIVE PvP mode
  • disableTimeoutSeconds: configurable disable delay
  • Client config for skull icon position, size, and render distance
  • Added timeout-based flag disabling with pulsing skull indicator
  • Flag doesn't disable instantly — starts a countdown (default 5s)
  • PvP damage during countdown cancels it
  • Only the player themselves sees the countdown; others still see the flag as enabled
  • Switched networking to badpackets (cross-platform)
  • Switched state storage to SavedData (server-authoritative)

# PvP Flag — Changelog

## 2.0.1

Respect F1 press for skulls above player heads and in HUD

## 2.0.0

  • Complete rewrite as a multiplatform Kotlin mod (Fabric + Forge).**

  • Added Forge support alongside Fabric using the Kotlin MultiLoader Template
  • Replaced GameRule config with proper config files (Forge Config API Port)
  • flagLogic: MUTUAL or PERMISSIVE PvP mode
  • disableTimeoutSeconds: configurable disable delay
  • Client config for skull icon position, size, and render distance
  • Added timeout-based flag disabling with pulsing skull indicator
  • Flag doesn't disable instantly — starts a countdown (default 5s)
  • PvP damage during countdown cancels it
  • Only the player themselves sees the countdown; others still see the flag as enabled
  • Switched networking to badpackets (cross-platform)
  • Switched state storage to SavedData (server-authoritative)

# PvP Flag — Changelog

## 2.0.1

Respect F1 press for skulls above player heads and in HUD

## 2.0.0

  • Complete rewrite as a multiplatform Kotlin mod (Fabric + Forge).**

  • Added Forge support alongside Fabric using the Kotlin MultiLoader Template
  • Replaced GameRule config with proper config files (Forge Config API Port)
  • flagLogic: MUTUAL or PERMISSIVE PvP mode
  • disableTimeoutSeconds: configurable disable delay
  • Client config for skull icon position, size, and render distance
  • Added timeout-based flag disabling with pulsing skull indicator
  • Flag doesn't disable instantly — starts a countdown (default 5s)
  • PvP damage during countdown cancels it
  • Only the player themselves sees the countdown; others still see the flag as enabled
  • Switched networking to badpackets (cross-platform)
  • Switched state storage to SavedData (server-authoritative)

# PvP Flag — Changelog

## 2.0.1

Respect F1 press for skulls above player heads and in HUD

## 2.0.0

  • Complete rewrite as a multiplatform Kotlin mod (Fabric + Forge).**

  • Added Forge support alongside Fabric using the Kotlin MultiLoader Template
  • Replaced GameRule config with proper config files (Forge Config API Port)
  • flagLogic: MUTUAL or PERMISSIVE PvP mode
  • disableTimeoutSeconds: configurable disable delay
  • Client config for skull icon position, size, and render distance
  • Added timeout-based flag disabling with pulsing skull indicator
  • Flag doesn't disable instantly — starts a countdown (default 5s)
  • PvP damage during countdown cancels it
  • Only the player themselves sees the countdown; others still see the flag as enabled
  • Switched networking to badpackets (cross-platform)
  • Switched state storage to SavedData (server-authoritative)

# PvP Flag — Changelog

## 2.0.1

Respect F1 press for skulls above player heads and in HUD

## 2.0.0

  • Complete rewrite as a multiplatform Kotlin mod (Fabric + Forge).**

  • Added Forge support alongside Fabric using the Kotlin MultiLoader Template
  • Replaced GameRule config with proper config files (Forge Config API Port)
  • flagLogic: MUTUAL or PERMISSIVE PvP mode
  • disableTimeoutSeconds: configurable disable delay
  • Client config for skull icon position, size, and render distance
  • Added timeout-based flag disabling with pulsing skull indicator
  • Flag doesn't disable instantly — starts a countdown (default 5s)
  • PvP damage during countdown cancels it
  • Only the player themselves sees the countdown; others still see the flag as enabled
  • Switched networking to badpackets (cross-platform)
  • Switched state storage to SavedData (server-authoritative)

# PvP Flag — Changelog

## 2.0.1

Respect F1 press for skulls above player heads and in HUD

## 2.0.0

  • Complete rewrite as a multiplatform Kotlin mod (Fabric + Forge).**

  • Added Forge support alongside Fabric using the Kotlin MultiLoader Template
  • Replaced GameRule config with proper config files (Forge Config API Port)
  • flagLogic: MUTUAL or PERMISSIVE PvP mode
  • disableTimeoutSeconds: configurable disable delay
  • Client config for skull icon position, size, and render distance
  • Added timeout-based flag disabling with pulsing skull indicator
  • Flag doesn't disable instantly — starts a countdown (default 5s)
  • PvP damage during countdown cancels it
  • Only the player themselves sees the countdown; others still see the flag as enabled
  • Switched networking to badpackets (cross-platform)
  • Switched state storage to SavedData (server-authoritative)

# PvP Flag — Changelog

## 2.0.0

  • Complete rewrite as a multiplatform Kotlin mod (Fabric + Forge).**

  • Added Forge support alongside Fabric using the Kotlin MultiLoader Template
  • Replaced GameRule config with proper config files (Forge Config API Port)
  • flagLogic: MUTUAL or PERMISSIVE PvP mode
  • disableTimeoutSeconds: configurable disable delay
  • Client config for skull icon position, size, and render distance
  • Added timeout-based flag disabling with pulsing skull indicator
  • Flag doesn't disable instantly — starts a countdown (default 5s)
  • PvP damage during countdown cancels it
  • Only the player themselves sees the countdown; others still see the flag as enabled
  • Switched networking to badpackets (cross-platform)
  • Switched state storage to SavedData (server-authoritative)

# PvP Flag — Changelog

## 2.0.0

  • Complete rewrite as a multiplatform Kotlin mod (Fabric + Forge).**

  • Added Forge support alongside Fabric using the Kotlin MultiLoader Template
  • Replaced GameRule config with proper config files (Forge Config API Port)
  • flagLogic: MUTUAL or PERMISSIVE PvP mode
  • disableTimeoutSeconds: configurable disable delay
  • Client config for skull icon position, size, and render distance
  • Added timeout-based flag disabling with pulsing skull indicator
  • Flag doesn't disable instantly — starts a countdown (default 5s)
  • PvP damage during countdown cancels it
  • Only the player themselves sees the countdown; others still see the flag as enabled
  • Switched networking to badpackets (cross-platform)
  • Switched state storage to SavedData (server-authoritative)


Issue reports are very welcome!
[1.2.0] PvP Flag 1.2.0 by rkkm on Oct 21, 2026
Download
Mod now relies on Cardinal Components API so PvP is propagated more reliably thus following changelog:
  • Fixed flags not propagating on first join
  • Flags are now saved between server restarts
  • Skull rendering
  • PvP mode propogation
PvP Flag Icon
Download PvP Flag
Select game version
Select platform