PVP
Description
Forces first-person camera inside configured PvP areas. It can also impose first person outside PVE protection and notify players when they enter or leave.
Configuration
Default configuration
PVP.json
json
{
"m_Enable": 0,
"m_OutsidePVE": 0,
"m_Positions": [
{
"m_N": "Pavlovo Military",
"m_X": 2165.0,
"m_Y": 3358.0,
"m_R": 380.0
}
],
"m_Messages": {
"m_Enter": "You just entered a PVP zone.",
"m_Exit": "You just left a PVP zone."
},
"m_NotificationTime": 10,
"m_NotificationInChat": 0
}Options
| Option | Type | Description |
|---|---|---|
m_Enable | bool | Enables the module with 1 and disables it with 0. |
m_OutsidePVE | bool | With 1, also treats positions outside active PVE protection as PvP. With 0, keeps this behavior disabled. |
m_Positions | array<object> | Circular areas where the first-person requirement applies. |
m_Messages | object | Texts shown when entering or leaving the area. |
m_NotificationTime | int | Notification duration in seconds. |
m_NotificationInChat | bool | With 1, sends messages to chat. With 0, uses notifications. |
m_Positions[]
| Option | Type | Description |
|---|---|---|
m_N | string | Name identifying the area in the configuration. |
m_X | float | World X coordinate in meters. |
m_Y | float | Second horizontal map coordinate, corresponding to world Z, in meters. |
m_R | float | Area radius in meters. |
m_Messages
| Option | Type | Description |
|---|---|---|
m_Enter | string | Entry text. Leave empty to skip it. |
m_Exit | string | Exit text. Leave empty to skip it. |
Enable and configure PVE protection before using m_OutsidePVE=1 for a mix of protected and PvP areas.
