PvP Flag

PvP Flag

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

100 754 downloads 34 followers

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

Version Minecraft Loader Download

2.0.2+1.21.1

1.21.1
neoforge
Download

2.0.2+1.21.1

1.21.1
fabric
Download

2.0.1+1.19.2

1.19.2
forge
Download

2.0.1+1.19.2

1.19.2
fabric
Download

2.0.1+1.19.4

1.19.4
forge
Download

2.0.1+1.19.4

1.19.4
fabric
Download

2.0.1+1.20.1

1.20.1
forge, neoforge
Download

2.0.1+1.20.1

1.20.1
fabric
Download

2.0.0+1.20.1

1.20.1
forge, neoforge
Download

2.0.0+1.20.1

1.20.1
fabric
Download

PvP Flag 1.3.0+1.20.4

1.3.0+1.20.4

1.20.4
fabric
Download

PvP Flag 1.3.0+1.20.3

1.3.0+1.20.3

1.20.3
fabric
Download

PvP Flag 1.3.0+1.20.2

1.3.0+1.20.2

1.20.2
fabric
Download

PvP Flag 1.3.0+1.20.1

1.3.0+1.20.1

1.20.1
fabric
Download

PvP Flag 1.3.0+1.20

1.3.0+1.20

1.20
fabric
Download

PvP Flag 1.3.0-RC.1

1.3.0-RC.1

1.20.4
fabric
Download

PvP Flag 1.2.0

1.2.0

1.20.1
fabric
Download

PvP Flag 1.0-SNAPSHOT

1.0-SNAPSHOT

1.20.1
fabric
Download