DayZ
PVEZ
Nics 27 Nov, 2020 @ 3:10pm
Mod don´t takes configuration.
Hi, any know for what reason the mod cant readme this config.
I need add 2 areas pve.
PVEZ_CONFIG:
{
"GENERAL": {
"Mode": "PVE_ZONES",
"Update_Frequency": 5.0,
"Show_Notifications": 1,
"Use_UI_Notifications": 1,
"Add_Zone_Name_To_Message": 1,
"Exit_Zone_Countdown": 10.0,
"Week_Starts_On_Sunday": 0,
"Custom_Enter_Zone_Message": "Ingreso Zona PVE",
"Custom_Exit_Zone_Message": "Salida Zona PVE",
"Custom_Exit_Zone_Countdown_Message": ""
},
"DAMAGE": {
"Restore_Target_Health": 0,
"Protect_Clothing_And_Cargo": 1,
"Allow_Damage_Between_PVP_and_PVE": 0,
"Damage_Types_Sent_Back_To_The_Attacker": {
"Weapon_Damage": 0,
"Explosive_Damage": 0,
"Vehicle_Damage": 0,
"Fist_Fight_Damage": 0
}
},
"LAWBREAKERS_SYSTEM": {
"Declare_a_Lawbreaker_When_Killed_a_Player_in_PVE_Area": {
"On_Weaponary_Kill": 1,
"On_Explosive_Kill": 1,
"On_Vehicle_Kill": 1,
"On_Fist_Fight_Kill": 1
},
"Server_Wide_Message_About_Lawbreaker": 1,
"Custom_Crime_Notification_Message_Format": "",
"Custom_Message_for_the_Lawbreaker": "",
"Auto_Clear_Lawbreakers_Data": 0,
"Autoclear_Period_Amount": 14,
"Autoclear_Period_Mode": 2,
"Allow_Lawbreakers_To_Attack_Anywhere": 0,
"Pardon_On_Death_From_Any_Source": 0
},
"MAP": {
"Show_Player_Marker": 1,
"Custom_Player_Marker_Text": "Rouge",
"Zones_Border_Color": {
"A": 200,
"R": 255,
"G": 0,
"B": 0
},
"Lawbreakers_Markers": {
"Show_Markers_On_Map": 1,
"Update_Frequency": 800.0,
"Custom_Lawbreaker_Label": "",
"Show_Name": 1,
"Lawbreakers_Can_See_Their_Own_Markers": 0,
"Approximate_Location": 1,
"Approximate_Location_Max_Offset": 200
}
},
"AIRDROP_ZONES": {
"Radius": 0,
"Zone_Name": "Airdrop",
"Show_On_Map": 0,
"Show_Name_On_Map": 0
},
"version": 0
}

PVEZ_ZONES
{
"Name": "PVE 1",
"X": 648.268,
"Z": 11115.2,
"Radius": 1500,
"ShowBorderOnMap": 1,
"ShowNameOnMap": 1,
"Activity_Schedule": {
"Days": "1 2 3 4 5 6 7",
"StartHour": 0,
"EndHour": 24
}
},
{
"Name": "PVE 2",
"X": 1223.8,
"Z": 6280.35,
"Radius": 800,
"ShowBorderOnMap": 1,
"ShowNameOnMap": 1,
"Activity_Schedule": {
"Days": "1 2 3 4 5 6 7",
"StartHour": 0,
"EndHour": 24
}
},

}

When server start this line change
"Mode": "PVE_ZONES", to "Mode": 0,

and the PVEZ_ZONES.json delete all content leaving only: [ ]

Any can helpme? Thnks
< >
Showing 1-15 of 17 comments
Ermiq  [developer] 27 Nov, 2020 @ 4:04pm 
Use admin UI menu, please.
Add your 44 digits GUID to the Admins.txt file (in the PVEZ_Config folder), log in on server, set the key for the menu in the in-game settings and manage zones in-game.
Ermiq  [developer] 27 Nov, 2020 @ 5:05pm 
Are you sure the ID has exactly 44 letters/digits/signs?
And you put in on a new line, below the string that is written in the file?
Ermiq  [developer] 27 Nov, 2020 @ 5:14pm 
So, this is what you have in the file? Or in the file you have 4 other numbers?
Ermiq  [developer] 27 Nov, 2020 @ 5:17pm 
The one you have posted here has 41 sign. If you have removed 4 signs here (probably to not post your real ID here), than it means you actually have 45 (these 41 + 4 that you didn't put here), and it's not correct then.
Might be the space between xdx and HF?
Ermiq  [developer] 27 Nov, 2020 @ 5:48pm 
Hm... Looks like a correct one.
Strange.
Ermiq  [developer] 27 Nov, 2020 @ 5:56pm 
Well...
For the mode "PVE zones" the Mode value should be 1. I changed it to integer constants instead of strings in the recent update. Set it to
"Mode": 1,
Then, try to start the server.
Ermiq  [developer] 27 Nov, 2020 @ 6:05pm 
And the zones must be scoped in the [ ]. And every last element shouldn't end with comma, but the comma must be between every element within an array.
So, if you only need 2 zones, than the file should be like this:

[
{
"Name": "PVE 1",
"X": 648.268,
"Z": 11115.2,
"Radius": 1500,
"ShowBorderOnMap": 1,
"ShowNameOnMap": 1,
"Activity_Schedule": {
"Days": "1 2 3 4 5 6 7",
"StartHour": 0,
"EndHour": 24
}
},
{
"Name": "PVE 2",
"X": 1223.8,
"Z": 6280.35,
"Radius": 800,
"ShowBorderOnMap": 1,
"ShowNameOnMap": 1,
"Activity_Schedule": {
"Days": "1 2 3 4 5 6 7",
"StartHour": 0,
"EndHour": 24
}
} <-no comma here, because it's the last element.
}
]
Ermiq  [developer] 27 Nov, 2020 @ 6:13pm 
If it doesn't create the files, then it means that the server uses something else as a profile directory.
By default DayZ uses this setup:
-profiles=C:\Users\%USER%\Documents\DayZServer
Ermiq  [developer] 27 Nov, 2020 @ 6:21pm 
That one with version=7 is the config from old version of the mod.
Ermiq  [developer] 27 Nov, 2020 @ 6:26pm 
And what the ServerProfile means? Do you know where it prints log files and other stuff? PVEZ should create its config and use Admins.txt that is located within that folder as well.
Ermiq  [developer] 27 Nov, 2020 @ 6:33pm 
It's fine. At least I now believe that it's something wrong with your server setup and not with the mod, so I can go to bed with no worries. Haha.))
Let me know how it goes.
Nics 28 Nov, 2020 @ 11:55am 
Hello, as I promised, I was going to warn you, reinstalled my local server and now everything works. The admin works perfect and as you said, everything is managed from the menu, a marvel.
The solution was your first comment.
Load the admin, configure the hotkeys and that's it.
Now I ask. The areas I mark work well, but I can't see the red circle and no marks on the map. (I use mod: VanillaPlusPlusMap)
Is there anything I can do to show the circles on the map?

PS: Delete previous messages to avoid spam
Ermiq  [developer] 28 Nov, 2020 @ 1:49pm 
Nice to hear that you got it working.
To see the markers and borders on the VPP's map you need the plugin PVEZMarkersOnVPPMap. Without the plugin you can see them on the in-game default map (the paper map item), other maps such as VPP and Expansion's map use their own map widgets and without appropriate plugin PVEZ doesn't know about other maps.
Nics 28 Nov, 2020 @ 2:51pm 
Perfect, I'm going to do this. Thank you very much, I hope this discussion is helpful to other people.
Originally posted by Ermiq:
Use admin UI menu, please.
Add your 44 digits GUID to the Admins.txt file (in the PVEZ_Config folder), log in on server, set the key for the menu in the in-game settings and manage zones in-game.
The Menu is not working
< >
Showing 1-15 of 17 comments
Per page: 1530 50