Project Zomboid

Project Zomboid

153 ratings
Multiplayer Three Zones: PVE, PVPE, PVP
4
3
2
2
2
2
21
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
146.871 KB
Feb 26, 2023 @ 11:47am
Mar 15, 2023 @ 12:13pm
3 Change Notes ( view )

Subscribe to download
Multiplayer Three Zones: PVE, PVPE, PVP

In 1 collection by iBrRus
Tsar's Mods
35 items
Description
[patreon.com]

Description

There will now be 3 zones in multiplayer:
  • PVE - players cannot attack each other.
  • PVPE - players can attack each other only if both players have PVP mode enabled.
  • PVP - PVP mode is automatically enabled for all players.

Features

PVPE mode is enabled by default on the entire map.

A new item is available in the admin panel to create a PVP zone: "PVP Zone".

When adding a new PVP zone, a file yourservername_pvpzone.lua is created in the folder Zomboid\Lua on the server, it is needed to restore all zones after the server is wiped. Copy this file to your server configuration folder and immediately after wipe all zones will be restored.

Also, through the file yourservername_pvpzone.lua (located near the server configuration file) you can set zones using a text editor. An example of its syntax:
ServerPvpZoneList = { {title = "Zone #111", x = 11774, y = 6833, x2 = 11777, y2 = 6837}, {title = "Zone #222", x = 12724, y = 6733, x2 = 12777, y2 = 5837}, {title = "Zone #333", x = 14774, y = 3633, x2 = 7777, y2 = 4837} }
NOTE!!! The zones from yourervername_pvpzone.lua file will only be read and added to the server if no PVP zone is manually created (via admin panel). If you want to force update list of zones from this file, you need to remove all zones from list and restart server.

If you don't see the "PVP Zone" button in the admin panel, then you have another mod installed that isn't done correctly. You can call the PVP zone control panel at any time via debug commands:
local pvpzone = PVPE_ISPvpZonePanel:new(50,50,600,600, getPlayer()); pvpzone:initialise(); pvpzone:addToUIManager();



[boosty.to][pz.ibrrus.ru]
[discord.gg]



Version: 1.02
Workshop ID: 2939521600
Mod ID: PVE_PVPE_PVP
Popular Discussions View All (2)
1
Jul 18, 2023 @ 8:22am
PINNED: Incompatible mods
iBrRus
0
Apr 3, 2023 @ 11:11am
Translations
Bryan
50 Comments
TancredTerror Nov 3, 2025 @ 12:57am 
Hey @iBrRus
On my server, everything works well but sometime some players are seeing "skull head" on other player whereas all players are outside the PVP zone. I checked in game and nobody can damage each other, and player with the "skull head" do not see a skull head on his character by his side, so it's a kind of display desync :-/ Do you know what is going on ?
FartboxAU Oct 3, 2025 @ 9:37pm 
I created a PVP Zone (Shows in the PvP Zone list).
But it does not work.

Both players could not attack each other.

I created a new PVP Zone.
Same issue.

Mod doesn't work or the Mods Description needs updating with more info.
26joni May 2, 2025 @ 7:50am 
Does anyone know why the PvE zones don’t spawn any zombies but the PvP zone it allows it?
AlexFromKarelia Apr 19, 2025 @ 3:26am 
Всем привет! Скажите, что я делаю не так? Поставил мод, задал ПВП зону. На сервере по умолчанию включено ПВП. В итоге, вне ПВП зоны любой игрок, который активировал "Череп" может убивать любого, даже не активированного игрока.
Keltor Feb 4, 2025 @ 8:31pm 
If I add this mod and don’t create a PvP zone and have pvp on for the settings then will the entire map be pvpe
Morgan Nov 24, 2024 @ 2:07pm 
Does PvP need to be enabled in the server to use this? It says in your mod that PVPE - players can attack each other only if both players have PVP mode enabled, is automatically enabled by default on the entire map.
Troggian Aug 18, 2024 @ 5:20am 
My Non-PVP function crash a client.exe in admin mode, but PVP zone work
Shaun Jul 20, 2024 @ 10:05am 
this still working?
#LeaneyLeyyuba Apr 15, 2024 @ 1:21am 
no working sorry. no pvp buttons
MiX74P3 Apr 12, 2024 @ 6:50pm 
where do I find where PVE zone is defined via file system?