Project Zomboid

Project Zomboid

138 ratings
Multiplayer Three Zones: PVE, PVPE, PVP
4
3
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
146.871 KB
26 Feb, 2023 @ 11:47am
15 Mar, 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
18 Jul, 2023 @ 8:22am
PINNED: Incompatible mods
iBrRus
0
3 Apr, 2023 @ 11:11am
Translations
Bryan
48 Comments
26joni 2 May @ 7:50am 
Does anyone know why the PvE zones don’t spawn any zombies but the PvP zone it allows it?
AlexFromKarelia 19 Apr @ 3:26am 
Всем привет! Скажите, что я делаю не так? Поставил мод, задал ПВП зону. На сервере по умолчанию включено ПВП. В итоге, вне ПВП зоны любой игрок, который активировал "Череп" может убивать любого, даже не активированного игрока.
Keltor 4 Feb @ 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 24 Nov, 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 18 Aug, 2024 @ 5:20am 
My Non-PVP function crash a client.exe in admin mode, but PVP zone work
Shaun 20 Jul, 2024 @ 10:05am 
this still working?
#LeaneyLeyyuba 15 Apr, 2024 @ 1:21am 
no working sorry. no pvp buttons
MiX74P3 12 Apr, 2024 @ 6:50pm 
where do I find where PVE zone is defined via file system?
PoPoWanObi 14 Feb, 2024 @ 10:24am 
Hello friend. Could you please add buttons to create PVPVE and PVE zones, similar to your PVP zones? I think this would be a great addition. Thanks!
Sneaky Stone 13 Feb, 2024 @ 9:58pm 
YOOOO so i got this mod for my server.. i was running into the same problem where i couldn't get pvp off once i left the zone.. i was able to fix it by surrounding the zone with a Non-Pvp Zone 2 blocks wide. (i AM running No Zombies Mod as well, not sure if it'l make a difference or not) hope this helps, goodluck everyone =]