Dynamic PVP – 动态对阵

2023-03-18 Rust免费插件 0 329
郑重承诺丨提供安全交易、信息保真!
增值服务:
¥ 0软妹币 开通VIP尊享优惠特权
立即下载 升级会员
详情介绍

为您的 PVE 服务器带来一点 PVP 动作!有关事件详细信息,请参阅配置文件。

注意

该插件会自动将最新的纪念碑添加到配置文件中

因为有人使用TruePVE或NextGenPVE。因此,为了与它们更兼容,您需要执行以下操作

对于使用 NextGenPVE 的用户,您需要在.cs文件的顶部添加一个新行 –> //Requires: NextGenPVE

对于使用 TruePVE 的用户,您需要在.cs文件的顶部添加一个新行 –> //要求:TruePVE

喜欢:

//Requires: TruePVE
//Requires: ZoneManager
using System;

事件类型

需要在数据文件中更改自定义事件。卸载插件后请编辑数据文件

纪念碑事件是静态的PVP事件…

Bradley,//Timed event
Helicopter,//Timed event
SupplyDrop,//Timed event
SupplySignal,//Timed event
HackableCrate,//Timed event, Enable events when HackableCrate drops or unlock
ExcavatorIgnition,//Timed event, Start event after ignition of the excavator, stop event after the flameout
CargoShip.//Timed event. Start event when spawn, stop event when killed

权限

该插件使用权限系统。要分配权限,请使用 。要删除权限,请使用 。oxide.grant <user or group> <name or steam id> <permission>oxide.revoke <user or group> <name or steam id> <permission>
  • dynamicpvp.admin— 允许玩家使用命令dynpvp

命令

此插件使用相同的语法提供聊天和控制台命令。在聊天中使用命令时,请为其添加正斜杠前缀:“/”。

自定义事件分为自动事件和定时事件。它们在数据文件中…

  • dynpvp list— 显示所有自定义事件
  • dynpvp add <eventName> [timed]— 添加事件数据。如果添加“定时”,它将是一个定时事件
  • dynpvp remove <eventName>— 删除事件数据
  • dynpvp start <eventName>— 启动事件
  • dynpvp stop <eventName>— 停止事件
  • dynpvp edit <eventName> <true/false>— 更改自动事件的自动启动状态
  • dynpvp edit <eventName> <move>— 将自动事件移动到当前位置
  • dynpvp edit <eventName> <time(seconds)>— 更改定时事件的持续时间
  • dynpvp <help | h>— 查看帮助

配置

可以在目录下的文件中配置设置和选项。建议使用编辑器和验证器,以避免格式问题和语法错误。DynamicPVPconfig

圆顶只能在球体区域使用,箱形区域没有圆顶

如果您不知道“BotSpawn 配置文件名称”是什么。您可以在聊天中输入“/botspawn add Bradley”。然后你可以在BotSpawn数据文件“default-Customprofiles.json”中看到它。“Bradley”是BotSpawn的个人资料名称。

What is PVPDelay:PVP延迟使玩家能够在离开PVP区域指定时间后受到伤害。PVP 延迟特定于每个区域。离开PVP区域的玩家仍然可以受到区域内任何人的伤害。但是,它们也可以对仍在区域内的任何人或进入该区域的任何人造成伤害。使用PVP延迟的玩家也可以对区域外的PVP延迟对其他人造成伤害。

PVP Delay Flags:

  1. ZonePlayersCanDamageDelayedPlayers:PVP区的玩家可能会对PVP延迟的玩家造成伤害
  2. DelayedPlayersCanDamageDelayedPlayers:处于PVP延迟状态的玩家可能会对PVP区域中的玩家造成伤害
  3. DelayedPlayersCanDamageZonePlayers:PVP延迟的玩家可能会对PVP延迟的玩家造成伤害

Fixed Rotation:对于纪念碑事件,如果为真,当纪念碑的方向发生变化时,区域的方向不会改变。

{
  "Global Settings": {
    "Enable Debug Mode": true,
    "Log Debug To File": false,
    "Compare Radius (Used to determine if it is a SupplySignal)": 50.0,//It's used to distinguish the supply drop from SupplySignal or TimedSupply
    "If the entity has an owner, don't create a PVP zone": true, // This entity is the entity that triggered the event, such as apc, heli
    "PVP Delay Flags": "ZonePlayersCanDamageDelayedPlayers, DelayedPlayersCanDamageZonePlayers, DelayedPlayersCanDamageDelayedPlayers"
  },
  "Chat Settings": {
    "Command": "dynpvp",
    "Chat Prefix": "[DynamicPVP]: ",
    "Chat Prefix Color": "#00FFFF",
    "Chat SteamID Icon": 0
  },
  "General Event Settings": {
    "Bradley event settings": {
      "Event Duration": 600.0,
      "Enable Bots (Need BotSpawn Plugin)": false,
      "BotSpawn Profile Name": "Bradley",
      "Enable Event": true,
      "Enable PVP Delay": true,//When a player leaves the area for a period of time, he can still be hurt by other players
      "PVP Delay Time": 10.0,
      "Enable Domes": true,//It is not valid for cube zones
      "Domes Darkness": 8,
      "Delay In Starting Event": 0.0,
      "Delay In Stopping Event": 0.0,
      "TruePVE Mapping": "exclude",//You can create new mapping in TruePVE/NextGenPVE to prevent players from damaging buildings
      "Transform Position": {//Transform the position of the zone
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "Use Blacklist Commands (If false, a whitelist is used)": true,
      "Command List (If there is a '/' at the front, it is a chat command)": [
        "kill",
        "/god"
      ],
      "Dynamic pvp zone settings": {
        "Zone Radius": 100.0,//If this not greater than 0, it will become the cube zone.
        "Zone Size": {//Cube zone size
          "x": 0.0,
          "y": 0.0,
          "z": 0.0
        },
        "Zone Rotation": 0.0,//Cube zone rotation
        "Fixed Rotation": false,//Used to cube zone
        "Zone Comfort": 0.0,
        "Zone Radiation": 0.0,
        "Zone Temperature": 0.0,
        "Zone Radius": "100",
        "Enter Message": "Entering a PVP area!",
        "Leave Message": "Leaving a PVP area.",
        "Eject Spawns": "",
        "Permission Required To Enter Zone": "",
        "Extra Zone Flags": [
          "notp",
          "undestr"
        ]
      }
    },
  "Monument Event Settings": {
    "Large Fishing Village": {
      "Enable Event": true,
      "Enable PVP Delay": true,
      "PVP Delay Time": 10.0,
      "Enable Domes": true,
      "Domes Darkness": 8,
      "Delay In Starting Event": 0.0,
      "TruePVE Mapping": "exclude",
      "Use Blacklist Commands (If false, a whitelist is used)": true,
      "Command List (If there is a '/' at the front, it is a chat command)": [],
      "Dynamic PVP Zone Settings": {
        "Zone Radius": 100.0,
        "Zone Size": {
          "x": 0.0,
          "y": 0.0,
          "z": 0.0
        },
        "Zone Rotation": 0.0,
        "Fixed Rotation": false,//if it is true, when the direction of the monument changes, the direction of the zone does not change.
        "Zone Comfort": 0.0,
        "Zone Radiation": 0.0,
        "Zone Temperature": 0.0,
        "Enter Message": "Entering a PVP area!",
        "Leave Message": "Leaving a PVP area.",
        "Eject Spawns": "",
        "Permission Required To Enter Zone": "",
        "Extra Zone Flags": []
      },
      "Zone ID": "", //Fixed zone ID
      "Transform Position": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      }
    },
  }
资源下载此资源仅限注册用户下载,请先
客服QQ : 1850058805
收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

玛缇尼源码网|Rust插件|手游源码|端游源码|工具集合 Rust免费插件 Dynamic PVP – 动态对阵 https://www.rustjl.xyz/709.html

常见问题

相关文章

官方客服团队

每天10点-22点 - 在线专业服务