• 每个人都可以搬运插件,请严格遵守搬运插件的规则,帖子一定要写上原帖地址! 近期Rustbbs会有大量更新!服务器版块请严格按照规定排版写入! 搬运插件请不要大量机翻!QQ交流群:612904352
资源图标

搬运 Dynamic PVP动态PVP 4.2.12

没有下载权限
原网址
https://umod.org/plugins/dynamic-pvp
原作者
Arainrr
原名称
Dynamic PVP
给你的PVE服务器带来一点PVP的动作!有关事件的详细信息,请参见配置文件。

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

因为有人用TruePVE或者NextGenPVE。因此,为了更好地与它们兼容,您需要做到以下几点


对于那些使用NextGenPVE的用户,您需要在。cs文件->//需要: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>-查看帮助
配置
可以在中配置设置和选项DynamicPVP文件放在config目录。建议使用编辑器和验证器来避免格式问题和语法错误。
圆顶只能用于球体区域,盒子区域没有圆顶

如果你不知道“僵尸档案名称”是什么。可以在聊天中输入“/僵尸添加布拉德利”。然后你可以在僵尸网络数据文件“default-Customprofiles.json”中看到它。“布拉德利”是僵尸的档案名称。

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,
"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
}
},
}
钩住

Copy
private object OnCreateDynamicPVP(string eventName, BaseEntity entity)
private object OnDeleteDynamicPVP(string zoneId,string eventName)
private BaseEvent OnGetBaseEvent(string eventName)
应用程序接口
private void string[] AllDynamicPVPZones()
private bool IsDynamicPVPZone(string zoneID)
private bool IsPlayerInPVPDelay(ulong playerID)
...
作者
keai
下载
12
查看
1,708
首次发布
上次更新
评分
0.00 星 0个评价

分享此资源