免费插件

Dynamic PVP

动态PVP

在某些行动/事件/纪念碑上创建 PvP 区域

zonePVPPVE区域

原作者:HunterZ · 查看 uMod 官方页面 ↗

插件介绍

在某些行动/事件/纪念碑上创建 PvP 区域

Dynamic PVP automatically manages creation and deletion of Zone Manager zones and corresponding PVE plugin ruleset mappings, for various events on your server. This allows you to turn a PVE server into a hybrid PVE/PVP server.

The most common setup is to use a PVE plugin to make your entire server PVE by default, and then have Dynamic PVP create "exclusion" zones where the PVE plugin knows to not enforce its rules.

This means that Dynamic PVP requires Zone Manager, and in most cases a compatible PVE plugin such as True PVE.

For increased compatibility with your chosen PVE plugin, it is recommended to add it as a hard dependency in DynamicPVP.cs.

主要用途

主要用于zone、PVP、PVE、区域等服务端功能。 本插件由 HunterZ 发布,当前目录记录版本为 v5.0.2,uMod 累计下载 35,690 次。

适用场景

  • PVE、活动服或任务玩法服务器
  • PVP、战斗或攻防玩法服务器

功能分类

zonePVPPVE区域
查看 uMod 官方英文简介

Creates PvP zones upon certain actions/events/monuments

权限节点

dynamicpvp.admin

Allows player to use dynpvp commands

授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke

指令说明

dynpvp help or dynpvp h

View help

dynpvp add <eventName> [timed] -- Create custom event record. If timed is specified, it will be a timed event

dynpvp remove <eventName>

Remove custom event record

dynpvp start <eventName>

Start custom event

dynpvp stop <eventName>

Stop custom event

dynpvp edit <eventName> true or dynpvp edit <eventName> false

Enable or disable (respectively) auto-start state of auto event

dynpvp edit <eventName> move

Move custom event to your current location

dynpvp edit <eventName> <time>

Changes the duration (in seconds) of a timed event

dynpvp list

Display all custom events

dynpvp show

Temporarily show geometries in-game for all active zones

Note: Geometries are shown for the commanding admin only. Duration can be changed in the config file.

相关依赖

  • Zone Manager
  • Backpacks
  • Loot Defender
  • Restore Upon Death
  • True PVE
  • No Durability
  • PVP Indicator
  • Prevent Looting
  • Public Quarry Lock
  • Zone PVx Info

配置说明

For each enabled event, you must define a Zone Radius or Zone Size that is greater than zero. If you do not do this, zone creation will fail with an error log as of 4.3.0. Radius takes precedence over size, so set radius to zero if you want to create a rectangular box zone.

Player-visible domes and colored rings can only be created for "sphere" zones defined by a radius. "Box" zones defined by a size have no dome/ring support. This is a game limitation. Admins can visualize both kinds of zones via the /dynpvp show command.

PVP Delay flags:ZonePlayersCanDamageDelayedPlayers -- Players in PVP zone can damage players in PVP delayDelayedPlayersCanDamageDelayedPlayers -- Players in PVP delay can damage players in PVP zoneDelayedPlayersCanDamageZonePlayers -- Players in PVP delay can damage players in PVP delay

Fixed Rotation:This is generally only useful for monument events with box-shaped zones. If true, the zone will be rotated relative to the world; if false, it will be rotated relative to the monument. Generally you will want to set this to false since it's usually most important that the box cover the monument regardless of its world orientation.

ZonePlayersCanDamageDelayedPlayers

Players in PVP zone can damage players in PVP delay

DelayedPlayersCanDamageDelayedPlayers

Players in PVP delay can damage players in PVP zone

DelayedPlayersCanDamageZonePlayers

Players in PVP delay can damage players in PVP delay

This is generally only useful for monument events with box-shaped zones. If true, the zone will be rotated relative to the world; if false, it will be rotated relative to the monument. Generally you will want to set this to false since it's usually most important that the box cover the monument regardless of its world orientation.

{ "Global Settings": { "Enable Debug Mode": true, "Log Debug To File": false, "Compare Radius (Used to determine if it is a SupplySignal)": 50.0, // Used to distinguish whether supply drops originate from a Supply Signal or a timed drop "If the entity has an owner, don't create a PVP zone": true, // "Entity" refers to the one that triggered the event, such as Bradley or Heli "Use TruePVE PVP Delay API (more efficient and cross-plugin, but supersedes PVP Delay Flags)": false, "PVP Delay Flags": "ZonePlayersCanDamageDelayedPlayers, DelayedPlayersCanDamageZonePlayers, DelayedPlayersCanDamageDelayedPlayers" }, "Chat Settings": { "Command": "dynpvp", "Chat Prefix": "[DynamicPVP]: ", "Chat Prefix Color": "#00FFFF", "Chat SteamID Icon": 0, "Zone Show Distance": 1000.0, "Zone Show Duration (in seconds)": 15.0 }, "General Event Settings": { "Bradley event settings": { "Enable Event": true, "Delay In Starting Event": 0.0, "Delay In Stopping Event": 0.0, "Holster Time On Enter (In seconds, or 0 to disable)": 0.0, "Enable PVP Delay": true, // When a player leaves the area for a period of time, they can still be hurt by other players "PVP Delay Time": 10.0, "TruePVE Mapping": "exclude", // Tells PVE plugin to exclude this from PVE rules, making it a PVP zone "Use Blacklist Commands (If false, a whitelist is used)": true, "Command works for PVP delayed players": false, "Command List (If there is a '/' at the front, it is a chat command)": [ "kill", "/god" ], "Drop plugin Backpacks on death (null disables override)": null, // true to force drop on player deaths in this event's zones, false to force keep, null to take no special action "Bypass Loot Defender locks": false, // whether to force allow looting of containers in this event's zones "Block Restore Upon Death": false, // whether to prevent restoring on player deaths in this event's zones "Dome Settings": { // This will be ignored for cube zones "Dome Darkness (0 to disable)": 8, "Enable Red Ring": false, "Enable Green Ring": false, "Enable Blue Ring": false, "Enable Purple Ring": false }, "Enable Bots (Need BotSpawn Plugin)": false, "BotSpawn Profile Name": "", "Event Duration": 600.0, "Dynamic PVP Zone Settings": { "Zone Comfort": 0.0, "Zone Radiation": 0.0, "Zone Temperature": 0.0, "Enable Safe Zone": false, "Eject Spawns": "", "Zone Parent ID": "", "Enter Message": "Entering a PVP area!", "Leave Message": "Leaving a PVP area.", "Permission Required To Enter Zone": "", "Extra Zone Flags": [ "notp", "undestr" ], "Zone Radius": 100.0, // Defines a spherical zone "Zone Size": { // Defines a box zone if Zone Radius is zero, otherwise ignored "x": 0.0, "y": 0.0, "z": 0.0 }, "Zone Rotation": 0.0, // Box zone rotation "Fixed Rotation": false } } }, "Monument Event Settings": { "Abandoned Cabins": { "Enable Event": false, "Delay In Starting Event": 0.0, "Delay In Stopping Event": 0.0, "Holster Time On Enter (In seconds, or 0 to disable)": 0.0, "Enable PVP Delay": false, "PVP Delay Time": 10.0, "TruePVE Mapping": "exclude", "Use Blacklist Commands (If false, a whitelist is used)": true, "Command works for PVP delayed players": false, "Command List (If there is a '/' at the front, it is a chat command)": [], "Drop plugin Backpacks on death (null disables override)": null, "Bypass Loot Defender locks": false, "Block Restore Upon Death": false, "Enable Domes": true, "Dome Settings": { "Dome Darkness (0 to disable)": 0, "Enable Red Ring": true, "Enable Green Ring": false, "Enable Blue Ring": false, "Enable Purple Ring": false }, "Dynamic PVP Zone Settings": { "Zone Comfort": 0.0, "Zone Radiation": 0.0, "Zone Temperature": 0.0, "Enable Safe Zone": false, "Eject Spawns": "", "Zone Parent ID": "", "Enter Message": "Entering a PVP area!", "Leave Message": "Leaving a PVP area.", "Permission Required To Enter Zone": "", "Extra Zone Flags": [], "Zone Radius": 0.0, "Zone Size": { "x": 0.0, "y": 0.0, "z": 0.0 }, "Zone Rotation": 0.0, "Fixed Rotation": false, "Auto-calculate zone geometry (overwrites existing values)": false // determines whether Zone Radius, Zone Size, Zone Rotation, Fixed Rotation, and Transform Position should be calculated automatically and overwritten }, "Zone ID": "", "Transform Position": { // Move the position of the zone; use `dynpvp show` to see x/y/z for non-fixed rotation zones "x": 0.0, "y": 0.0, "z": 0.0 } } } }

官方配置示例

//Requires: TruePVE
//Requires: ZoneManager
using System;
{
  "Global Settings": {
    "Enable Debug Mode": true,
    "Log Debug To File": false,
    "Compare Radius (Used to determine if it is a SupplySignal)": 50.0, // Used to distinguish whether supply drops originate from a Supply Signal or a timed drop
    "If the entity has an owner, don't create a PVP zone": true, // "Entity" refers to the one that triggered the event, such as Bradley or Heli
    "Use TruePVE PVP Delay API (more efficient and cross-plugin, but supersedes PVP Delay Flags)": false,
    "PVP Delay Flags": "ZonePlayersCanDamageDelayedPlayers, DelayedPlayersCanDamageZonePlayers, DelayedPlayersCanDamageDelayedPlayers"
  },
  "Chat Settings": {
    "Command": "dynpvp",
    "Chat Prefix": "[DynamicPVP]: ",
    "Chat Prefix Color": "#00FFFF",
    "Chat SteamID Icon": 0,
    "Zone Show Distance": 1000.0,
    "Zone Show Duration (in seconds)": 15.0
  },
  "General Event Settings": {
    "Bradley event settings": {
      "Enable Event": true,
      "Delay In Starting Event": 0.0,
      "Delay In Stopping Event": 0.0,
      "Holster Time On Enter (In seconds, or 0 to disable)": 0.0,
      "Enable PVP Delay": true, // When a player leaves the area for a period of time, they can still be hurt by other players
      "PVP Delay Time": 10.0,
      "TruePVE Mapping": "exclude", // Tells PVE plugin to exclude this from PVE rules, making it a PVP zone
      "Use Blacklist Commands (If false, a whitelist is used)": true,
      "Command works for PVP delayed players": false,
      "Command List (If there is a '/' at the front, it is a chat command)": [
        "kill",
        "/god"
      ],
      "Drop plugin Backpacks on death (null disables override)": null, // true to force drop on player deaths in this event's zones, false to force keep, null to take no special action
      "Bypass Loot Defender locks": false, // whether to force allow looting of containers in this event's zones
      "Block Restore Upon Death": false, // whether to prevent restoring on player deaths in this event's zones
      "Dome Settings": { // This will be ignored for cube zones
        "Dome Darkness (0 to disable)": 8,
        "Enable Red Ring": false,
        "Enable Green Ring": false,
        "Enable Blue Ring": false,
        "Enable Purple Ring": false
      },
      "Enable Bots (Need BotSpawn Plugin)": false,
      "BotSpawn Profile Name": "",
      "Event Duration": 600.0,
      "Dynamic PVP Zone Settings": {
        "Zone Comfort": 0.0,
        "Zone Radiation": 0.0,
        "Zone Temperature": 0.0,
        "Enable Safe Zone": false,
        "Eject Spawns": "",
        "Zone Parent ID": "",
        "Enter Message": "Entering a PVP area!",
        "Leave Message": "Leaving a PVP area.",
        "Permission Required To Enter Zone": "",
        "Extra Zone Flags": [
          "notp",
          "undestr"
        ],
        "Zone Radius": 100.0, // Defines a spherical zone
        "Zone Size": { // Defines a box zone if Zone Radius is zero, otherwise ignored
          "x": 0.0,
          "y": 0.0,
          "z": 0.0
        },
        "Zone Rotation": 0.0, // Box zone rotation
        "Fixed Rotation": false
      }
    }
  },
  "Monument Event Settings": {
    "Abandoned Cabins": {
      "Enable Event": false,
      "Delay In Starting Event": 0.0,
      "Delay In Stopping Event": 0.0,
      "Holster Time On Enter (In seconds, or 0 to disable)": 0.0,
      "Enable PVP Delay": false,
      "PVP Delay Time": 10.0,
      "TruePVE Mapping": "exclude",
      "Use Blacklist Commands (If false, a whitelist is used)": true,
      "Command works for PVP delayed players": false,
      "Command List (If there is a '/' at the front, it is a chat command)": [],
      "Drop plugin Backpacks on death (null disables override)": null,
      "Bypass Loot Defender locks": false,
      "Block Restore Upon Death": false,
      "Enable Domes": true,
      "Dome Settings": {
        "Dome Darkness (0 to disable)": 0,
        "Enable Red Ring": true,
        "Enable Green Ring": false,
        "Enable Blue Ring": false,
        "Enable Purple Ring": false
      },
      "Dynamic PVP Zone Settings": {
        "Zone Comfort": 0.0,
        "Zone Radiation": 0.0,
        "Zone Temperature": 0.0,
        "Enable Safe Zone": false,
        "Eject Spawns": "",
        "Zone Parent ID": "",
        "Enter Message": "Entering a PVP area!",
        "Leave Message": "Leaving a PVP area.",
        "Permission Required To Enter Zone": "",
        "Extra Zone Flags": [],
        "Zone Radius": 0.0,
        "Zone Size": {
          "x": 0.0,
          "y": 0.0,
          "z": 0.0
        },
        "Zone Rotation": 0.0,
        "Fixed Rotation": false,
        "Auto-calculate zone geometry (overwrites existing values)": false // determines whether Zone Radius, Zone Size, Zone Rotation, Fixed Rotation, and Transform Position should be calculated automatically and overwritten
      },
      "Zone ID": "",
      "Transform Position": { // Move the position of the zone; use `dynpvp show` to see x/y/z for non-fixed rotation zones
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      }
    }
  }
}

更新日志

最新版本: v5.0.2
最后版本发布: 2026-03-04
最后更新(条目): 2026-07-19

本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面

安装方法

  1. 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
  2. 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
  3. 将 .cs 文件放入服务器的 oxide/plugins 目录。
  4. 观察服务端控制台,确认插件编译并成功加载。
  5. 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。

使用前注意

  • Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
  • 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
  • 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
  • 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
来源说明

中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。