Mainconfig - Ninjin89/ninjinspvppvewiki GitHub Wiki

Main Config (MainConfig.json)

CAN BE OUTDATED SOMETIMES

DisableAiZoneScanning

Type: Boolean (0 or 1)
Disables AI Zone scanning. (This is a beta setting and currently does nothing except setting PvP/PvE/Raid/SZ state to AI)


DisableRaidingDialogActionOnFlagPole

Type: Boolean (0 or 1)
Enables or disables the action menu on flagpoles for adding players as raiding members.


AllowAnyPlayerInRaidZone

Type: Boolean (0 or 1)
Allows access to Raid Zones for all players without any penalty.


DisableFallDamage

Type: Boolean (0 or 1)
Enables or disables fall damage globally.


DisableActionBlockForAdmins

Type: Boolean (0 or 1)

  • 1: Admins are exempt from action blocking rules (e.g. PvP/PvE/SafeZone restrictions).
  • 0: Admins follow the same action blocking as players.

AllowSameZoneTypeEnterNotifications

Type: Boolean (0 or 1)
Allows or denies notifications when entering a zone of the same type as the one already occupied.


EnableTKKOTHZoneCreation

Type: Boolean (0 or 1)
Enables or disables Three Kings King of the Hill dynamic zone creation.


EnableAFKKick

Type: Boolean (0 or 1)
Enables or disables the AFK kick system.


AFKKickTimeout

Type: Integer
Duration in seconds before a fully AFK player is automatically kicked.


LockpickingZoneRadius

Type: Float
Defines the radius (in meters) of the lockpicking zone when triggered.


LB_ATMRobberyEnableZoneCreation

Type: Boolean (0 or 1)
Enables or disables automatic zone creation during LB Masters ATM robbery.


LB_ATMRobberyOnlyInPvP

Type: Boolean (0 or 1)
Restricts LB Master ATM robbery to PvP zones only.


StrikeLineTransparency

Type: Float (0.0 - 1.0)
Controls the transparency level of strike zone lines.


AlwaysAllowEnviroDmg

Type: Boolean (0 or 1)
Always allows environmental vehicle damage, regardless of PvE/PvP/Raid/SZ settings.

Requires: Ninjins Vehicle Mod


ExpansionReputationPenealtyPveEsPvE

Type: Integer
Amount of reputation penalty when a PvE player damages another PvE player.


EnableExpansionReputationPenaltyPvEvsPvE

Type: Boolean (0 or 1)
Enables or disables the PvE vs PvE reputation penalty system.


DisableActionBlockForAdminsValue

Type: Boolean (0 or 1)

  • 1: Admins bypass action blocks (e.g., in SZ, PvP, PvE, Raid).
  • 0: Admins are affected like regular players.

EVRStormSZNoShock

Type: Boolean (0 or 1)
Disables shock damage from EVR Storms for players in SafeZone state.

Namalsk only


EnableCfToolsLogs

Type: Boolean (0 or 1)
Logs zone enter/exit events to CfTools logs.


LB_AdminMapZones

Type: Boolean (0 or 1)
Draws zone shapes on the LB Masters Admin Tool Map.


PvEExitCountdown

Type: Float
The duration (in seconds) a player keeps their PvE status after leaving a PvE zone.

Helps prevent zone edge PvE camping exploits.

StartingDayOfTheWeek

Type: Integer

  • 0 = Monday
  • 1 = Sunday

Used to determine the start of a week for internal time calculations.


EnableReflectDamage

Type: Boolean (0 or 1)

When enabled, players who try to damage others in protected zones will reflect the damage back to themselves.

This is player STATUS driven and NOT zone driven.

Only counts for PvE to PvE player states. Means if Player A has PvE state and Player B also = reflect damage.

PvP to PvE state, there is no reflect damage for the PvP stated player because this could be exploited by zone-edge trolling.

PvE to PvP > will cause reflect damage.


DrawNamesOnZones

Type: Boolean (0 or 1)

If enabled, the name of each zone will be shown on the player map.


DrawZonesOnVPPAdmin, DrawZonesOnCOT

Type: Boolean (0 or 1)

Enable/disable drawing of zones on the VPP or CoT Admin map.


DrawVPPAdminZoneLabels, DrawCOTAdminZoneLabels

Type: Boolean (0 or 1)

Enable/disable zone labels on VPP or CoT Admin maps.


LB_DrawMiniMapZones, LB_MiniMapDrawNames

Type: Boolean (0 or 1)

Enable/disable zone shapes or labels on the LB Master MiniMap.


FallDamage

Type: Boolean (0 or 1)

Enables or disables fall damage globally.


DisableArmExplosivePvE

Type: Boolean (0 or 1)

Disables actions related to arming/disarming explosives in PvE.


PvPtoPvEBlockedNotification

Type: Boolean (0 or 1)

Show a 10-second warning when a PvP player attacks a PvE player. Can repeat every 30 seconds.


SafeZoneExitCountdown, PvPExitCountdown, RaidExitCountdown

Type: Float

Set time (in seconds) required to exit each zone type.


KillZombiesInSafeZone

Type: Boolean (0 or 1)

Automatically kills zombies inside SafeZones.


ZombieSZKillScanInterval

Type: Float

Interval (in seconds) for scanning zombies in SafeZones.


ThirdPersonOnlyDriver

Type: Boolean (0 or 1)

When set to 1, drivers are allowed to use third-person view.


EnablePvPEverywhere / EnablePvEEverywhere

Type: Boolean (0 or 1)

Globally enables PvP or PvE. Zones override this setting.


GlobalPvEZoneDays: Activate Global PvE only on specific Days.

        "GlobalPvEZoneDays": [
        {
            "dayName": "Monday",
            "startHour": 0,
            "endHour": 24
        },
        {
            "dayName": "Tuesday",
            "startHour": 12,
            "endHour": 24
        },
        {
            "dayName": "Wednesday",
            "startHour": 12,
            "endHour": 24
        },
        {
            "dayName": "Thursday",
            "startHour": 0,
            "endHour": 24
        },
        {
            "dayName": "Friday",
            "startHour": 0,
            "endHour": 24
        },
        {
            "dayName": "Saturday",
            "startHour": 0,
            "endHour": 24
        },
        {
            "dayName": "Sunday",
            "startHour": 0,
            "endHour": 24
        }
    ],

Make sure you have EnablePvEEverywhere set to 1 if you wanna use it!

GlobalPvPZoneDays: Activate Global PvP only on specific Days.

       "GlobalPvPZoneDays": [
        {
            "dayName": "Monday",
            "startHour": 0,
            "endHour": 24
        },
                {
            "dayName": "Tuesday",
            "startHour": 12,
            "endHour": 24
        },
        {
            "dayName": "Wednesday",
            "startHour": 12,
            "endHour": 24
        }
    ],

Make sure you have EnablePvPEverywhere set to 1 if you wanna use it!

EnableMi8ZoneCreation, EnableUH1YZoneCreation, EnableAirdropZoneCreation

Type: Boolean (0 or 1)

Enables or disables dynamic zone creation for their respective events.


EnableAIMissionZoneCreation, EnableItemSpawnZoneCreation, EnableKOTHZoneCreation

Type: Boolean (0 or 1)

Toggle support for various dynamic mission mods to generate zones.


ForceFirstPersonGlobalPvP, ForceFirstPersonGlobalPvE

Type: Boolean (0 or 1)

Forces first-person view in PvP or PvE zones globally (zone-level setting has priority).


BlockChemGasGrenadeOutsidePvP

Type: Boolean (0 or 1)

Blocks Chemgas Grenade usage outside of PvP zones.


DisableToxicExposureInPvE

Type: Boolean (0 or 1)

Prevents contaminated area damage in PvE zones.


DisableGiveBloodTargetPvE, DisableForceFeedPvE, DisableForceDrinkPvE

Type: Boolean (0 or 1)

Disables medical and interaction actions in PvE.


AllowRestrainTargetinPvE, AllowRestrainTargetinPvP, AllowRestrainTargetinRaid

Type: Boolean (0 or 1)

Toggles whether players can restrain others in those zones.


NoVehicleZoneKillOrDetroyDelay

Type: Float

Time (in seconds) given to leave a "no vehicle zone" before consequences.


NoVehicleKillPlayerOrDestroyVehicle

Type: Integer

  • 0: Kill player
  • 1: Destroy Vehicle Parts/Zones/Cargo
  • 2: Delete entire Vehicle

DestroyVehicleParts, RemoveVehicleAttachments, DestroyVehicleCargo

Type: Array<String>

Used to list vehicle parts, attachments, and cargo to be destroyed or removed.


NoVehicleWarningText

Type: String

Message shown when halfway through no-vehicle timer. EXAMPLE:

"NoVehicleWarningText": "Warning: Half time over, exit the Zone with Vehicle in {countdown} seconds!",
  • {countdown} will display left time as soon as the Waring is shown.

NoVehicleWarningEffect

Type: String

Visual effect when warning starts. Options: shock, blur, blood, redscreen, blackscreen


NoVehicleWarningEffectIntensity

Type: Float

Sets the strength of the screen effect.


PvEImagePath, PvPImagePath, RaidImagePath, SafeZoneImagePath

Type: String

Paths to icons used for each zone type. If you leave them empty "" icons wont be used.

IconPositionX, IconPositionY, IconWidth, IconHeight

Type: Float

Settings for zone icon UI position and size. Players can change that by themselfs in Player Settings menu under Options > Keybinds > NinjinsPvEPvP > Player Settings but if they dont they use settign set by server.

EXAMPLES:

Example Coordinates:

Top Right:
    "IconPositionX": -0.465,
    "IconPositionY": 0.83,
Top Left:
    "IconPositionX": 0.465,
    "IconPositionY": 0.83,
Bottom Right:
    "IconPositionX": -0.465,
    "IconPositionY": -0.045,
Bottom Left:
    "IconPositionX": 0.465,
    "IconPositionY": -0.045,
Center Center(at pointer):
    "IconPositionX": 0.001,
    "IconPositionY": 0.36,
Center Top:
    "IconPositionX": 0.0,
    "IconPositionY": 0.83,
Center Bottom:
    "IconPositionX": 0.0,
    "IconPositionY": -0.10,

ExitZoneNotification

Type: Boolean (0 or 1)

Enables notifications when leaving PvP or Raid zones.


ExitNotificationText

Type: String

Text shown when leaving a zone. Supports {seconds} and {zonetype} variables.


ExitNotificationPanelPositionX, ExitNotificationPanelPositionY, NotificationPanelWidth, NotificationPanelHeight

Type: Float

Adjusts the UI position and size of the exit zone notification panel.


LoggingLevel

Type: Integer

Controls how much data is logged to server files.


AllowedRaidingPlayers

Type: Array<String>

List of GUIDs allowed to enter Raid Zones without penalty.


OnlyAllowLockPickInPvP

Type: Boolean (0 or 1)

Restricts vehicle lockpicking to PvP zones.


EnableLockpickingZoneCreation

Type: Boolean (0 or 1)

Creates a PvP zone when a vehicle is being lockpicked.


LockPickZoneDeletionTime

Type: Float

How long a lockpicking zone stays active after interaction ends.


EnableLockpickingNotification

Type: Boolean (0 or 1)

If enabled, sends a server-wide notification when someone is lockpicking.


LockpickNotificationBroadcastRadius

Type: Float

Area radius for lockpicking notifications.


LockpickNotificationIconPath

Type: String

Path to the icon shown for lockpicking notifications.


LockpickNotificationTitle, LockpickNotificationMessage

Type: String

Customize title and message for lockpicking events.


LockpickNotificationColor

Type: Integer

Color for lockpicking alert in ARGB format.


IgnoreDamageProtectionForAIOwnedItems

Type: Boolean (0 or 1)

If enabled, AI-owned items can be damaged regardless of PvP/PvE protection.


ExpansionGroupsFriendlyFireDisabled

Type: Boolean (0 or 1)

Disable friendly fire for Expansion mod group members.


AiToPlayerDamageEverywhere, PlayerToAiDamageEverywhere

Type: Boolean (0 or 1)

Control if AI or players can damage each other anywhere on the map.


OnlyAllowAIToDoDamageIfPlayerIsPvP, OnlyAllowAIToDoDamageIfPlayerIsPvE

Type: Boolean (0 or 1)

AI only damages player based on the player zone status.


OnlyAllowDamageToAIOnlyIfPlayerHasPvPStatus, OnlyAllowDamageToAIIfPlayerHasPvEStatus

Type: Boolean (0 or 1)

Players can only damage AI if they are in PvP or PvE.


OnlyAllowAIToDamageInRaidMode, OnlyAllowPlayersToDamageAIInRaidMode

Type: Boolean (0 or 1)

Restricts AI combat to Raid Zones.


EnableTerritoryFlagZones

Type: Boolean (0 or 1)

Activates flagpole-based zone generation.


TerritoryFlagZoneEnableCustomMessages

Type: Boolean (0 or 1)
Enables or disables custom notification messages for territory flag zones.


TerritoryFlagEnterMessage

Type: String
Custom message shown when entering a flag-based territory zone.


TerritoryFlagExitMessage

Type: String
Custom message shown when exiting a flag-based territory zone.


TerritoryFlagZoneCreateMode

Type: Integer

  • 0: When flag is lowered
  • 1: When raised
  • 2: Always

TerritoryFlagPvPZoneCheckInterval

Type: Float

Scan interval for flagpole status (in seconds).


TerritoryFlagZoneRadius

Type: Float

Size of the flag-generated zone.


TerritoryFlagZoneType

Type: Integer

  • 1: PvP
  • 2: PvE
  • 3: Visual
  • 4: Raid

TerritoryFlagZonePriority

Type: Integer

Sets the zone override level.


TerritoryFlagZoneForceFirstPerson

Type: Boolean (0 or 1)

Enforce first-person mode in this zone.


TFrNmFBpzPfDvDX8m4i7KdjsoNxzK2E62ages

Type: Boolean (0 or 1)

Toggle for entry/exit messages in flag zones.


TerritoryFlagNotificationTitle, EnterMessage, ExitMessage

Type: String

Text strings for notifications.


TerritoryFlagNotificationColor

Type: Integer

Notification color for flag zone alerts.


TerritoryFlagZoneIcon

Type: String

Icon path for flag zone messages.


TerritoryFlagZoneDays

Type: String

Days this zone is active (e.g. Monday Tuesday).


TerritoryFlagZoneStartHour, TerritoryFlagZoneEndHour

Type: Integer

Time range the zone is active.


TerritoryFlagZoneDrawCircle

Type: Boolean (0 or 1)

Enables drawing the circle on the map.


TerritoryFlagZoneAlpha, TerritoryFlagZoneRed, TerritoryFlagZoneGreen, TerritoryFlagZoneBlue

Type: Integer

ARGB color config for visual representation.


CircleDrawingWidth

Type: Integer

Width of drawn circle outlines.


VehicleZoneCheckInterval

Type: Float

Sets how often the vehicle's zone is re-evaluated (engine must be running).


AllowVehicleDamagePvE, AllowVehicleDamagePvP, AllowVehicleDamageRaid

Type: Boolean (0 or 1)

Allow or deny damage to vehicles depending on player's zone state.


VehicleDamageLogging

Type: Boolean (0 or 1)

If enabled, logs vehicle damage events.


EnableContaminatedZoneCreation

Type: Boolean (0 or 1)

Lets you enable or disable Zone creation for Vanilla DayZ Contaminated Dynamic Areas.


NoVehicleZoneExitBlockDelayMS

Type: Int

Default is 1000ms (1second) if inside NoVehicle Zone, it will block the ability to get out of the Vehicle to reset timer by re-entering Vehicle for example.


StrikeLineSpacingMeters

Type: Float

Can set meters between lines for strike Zones. Best value is between 10.0 - 30.0 i did use 15.0 or 20.0, otherwise it will be messy.


Main Config (MainConfig.json)

drawStrikeLinesForNB

Type: Boolean (0 or 1) Draw strike lines for NoBuild Zones.


noBuildZoneColor

Type: Integer Color of the no build zone (ARGB format, e.g. -16711936).


DrawNoBuildRadius

Type: Boolean (0 or 1) If enabled, the radius of the NoBuild zone is drawn on the map.


ZombieandAnimalSZKillScanInterval

Type: Float Scan interval (in seconds) for both zombies and animals inside SafeZones.


KillAnimalsInSafeZone

Type: Boolean (0 or 1) Enable or disable automatic kill and corpse removal for animals in SafeZones.

DayZ dogs, cats, and horses are whitelisted by default.


DeleteItemsInSafeZone

Type: Boolean (0 or 1) Enable or disable item scanning and deletion in SafeZones.


SZItemCleanUpInterval

Type: Float Interval in seconds to check and clean up items inside SafeZones.


BlockItemDamageStateorZones

Type: Integer Controls if damage to listed items (via ItemRules) is blocked by player state or the zone (PvP/PvE). Only applies to CantBeDamagedInPvE and CantBeDamagedInPvP items.


PvPIconColor, PvEIconColor, RaidIconColor, SafeZoneIconColor

Type: Integer Set custom icon color for PvP, PvE, Raid, and SafeZone icons. Only works on icons with a white color base. Use: https://argb-int-calculator.netlify.app/

If you want them white base again use -1 as value.

And if you use -0 only, this means transparent and your Text/Editboxes will also be transparent and wont show in the menu anymore until you type next value into it.

"PvPIconColor": -1,
"PvEIconColor": -1,
"RaidIconColor": -1,
"SafeZoneIconColor": -1,

grafik


AllowNoRelogOnServerCrash

Type: Boolean (0 or 1)

  • 1: Players are teleported out of zones after a server crash.
  • 0: Players stay where they are after a server crash.

RemoveDynamicZoneOnlyifNoPlayerInside

Type: Boolean (0 or 1) Removes a dynamic zone only if no players are inside it.


DynamicZoneRemovalRetrySeconds

Type: Integer Retry time (in seconds) to remove dynamic zone if players are still inside.


MessageCannotDeployInSafeZone

Type: String Message displayed when item deployment is blocked in SafeZone.


MessageBlockedItemDeployInPvE, MessageBlockedItemDeployInPvP, MessageBlockedItemDeployInRaid

Type: String Custom messages for deployment blocks in each zone type.

Supports {item} as a placeholder for the item class name.


MessageItemRulesNotInitialized

Type: String Message shown when item rules system is not initialized.


mapLegend

Type: Array<Object> Define color-coded legends for zone types, visible in the player settings menu.

Needs to be adjust manually inside Mainconfig.json Example:

"mapLegend": [
    {
        "name": "PVE Zones Color",
        "ColorAlpha": 255,
        "ColorRed": 0,
        "ColorGreen": 255,
        "ColorBlue": 0
    },
    {
        "name": "PvP Zones",
        "ColorAlpha": 255,
        "ColorRed": 255,
        "ColorGreen": 0,
        "ColorBlue": 0
    },
    {
        "name": "Visual Zones",
        "ColorAlpha": 255,
        "ColorRed": 255,
        "ColorGreen": 255,
        "ColorBlue": 0
    }
]

mapLegendTitle

Type: String Title shown for the map legend section in the player settings menu.

Needs to be adjust manually inside Mainconfig.json


⚠️ **GitHub.com Fallback** ⚠️