• 免费帮忙安装服务器。需要上传插件可以联系客服/QQ:823667852
  • Rust插件网抽奖活动 点击红色字体进去
废弃基地

收费 废弃基地 2.2.2

About Abandoned Bases 关于废弃基地​


Allows bases to become raidable when all players in a base become inactive.当基地内所有玩家都处于非活跃状态时,允许基地被攻击。

Compatible with TruePVE and NextGenPVE servers. This plugin is not compatible with servers that have server.pve set true. It is possible to implement this, but I see no reason to do so as TruePVE provides the same protection and more.与TruePVE和NextGenPVE服务器兼容。此插件与将server.pve设置为true的服务器不兼容。实现这一点是有可能的,但我认为没有理由这样做,因为TruePVE提供了相同的保护,甚至更多。
Abandoned Bases checks each building on the server in order to determine which bases are inactive. Bases become inactive when all players authorized on the tool cupboard have been offline for the configured amount of days. When a base becomes inactive there are one of two outcomes.废弃基地功能会检查服务器上的每一栋建筑,以确定哪些基地处于非活跃状态。当工具柜授权的所有玩家都已离线达到设定天数时,基地即变为非活跃状态。当一个基地变为非活跃状态时,会出现以下两种结果之一。
1.) It will be immediately destroyed if it does not meet the configured minimum requirements.1.) 如果不符合配置的最低要求,它将被立即摧毁。
2) It will become raidable for a configurable period of time, and when the time expires the base will be destroyed.2)在一段可配置的时间内,它将变为可攻击状态,时间到期后,基地将被摧毁。
Each zone has a map marker, allows PVP and is surrounded by a dome that protects it from being attacked from the outside. Players who zone hop will be flagged with a PVP delay where they can still be attacked for a configurable amount of time.每个区域都有一个地图标记,允许玩家对战(PVP),并且被一个穹顶包围,以防受到来自外部的攻击。跨区域的玩家将被标记为有玩家对战延迟,在可配置的一段时间内他们仍可能受到攻击。
Command /sar - requires abandonedbases.convert permission and converts a base into an abandoned base - this can be used on any base that you are authorized to and will cause the base to be destroyed when the timer expires命令 /sar - 需要abandonedbases.convert权限,可将一个基地转换为废弃基地 - 你可以在任何有权限的基地上使用此命令,且当倒计时结束时,该基地将被摧毁。
Command /sab - starts a manual check for each building on the server in order to determine which bases are inactive (requires abandonedbases.admin permission)命令 /sab - 对服务器上的每栋建筑进行手动检查,以确定哪些基地处于非活动状态(需要abandonedbases.admin权限)
Command /sar radius - requires abandonedbases.convert permission and converts a base into an abandoned base and uses the specified radius for the dome / zone radius. Min and max radius are configurable.命令 /sar radius - 需要abandonedbases.convert权限,可将一个基地转换为废弃基地,并为穹顶/区域半径使用指定的半径。最小和最大半径均可配置。
Command /sar cancel - requires abandonedbases.convert and abandonedbases.convert.cancel permissions - completely cancels an event (destroys map marker and dome, disables PVP and prevents base from being despawned) effectively allowing the base to be taken over命令 /sar cancel - 需要abandonedbases.convert和abandonedbases.convert.cancel权限 - 完全取消一个事件(销毁地图标记和穹顶,禁用PVP并防止基地消失),从而有效地允许基地被接管
Command /sar claim - requires abandonedbases.convert and abandonedbases.convert.claim permissions and converts a finished abandoned base into a claimed base that can be taken over by players命令 /sar claim - 需要abandonedbases.convert和abandonedbases.convert.claim权限,可将已完成的废弃基地转换为可被玩家接管的已认领基地。
Command /sar purge - converts all bases on the server into abandoned bases for purge day (requires abandonedbases.convert, abandonedbases.admin and abandonedbases.purgeday permissions)命令 /sar purge - 在净化日将服务器上的所有基地转换为废弃基地(需要abandonedbases.convert、abandonedbases.admin和abandonedbases.purgeday权限)
  • This is a two part command that requires you type /sab afterwards to begin.这是一个分为两部分的命令,需要你在之后输入 /sab 才能开始。
  • Requires abandonedbases.purgeday, abandonedbases.convert, and abandonedbases.admin permissions.需要abandonedbases.purgeday、abandonedbases.convert和abandonedbases.admin权限。
  • Announcements are muted during purge to prevent spam.净化期间公告将被静音,以防止垃圾信息。
  • Time To Wait Between Spawns (15) will delay how quickly every base is converted每次生成之间的等待时间(15)将延迟每个基地的转换速度
Permissions (ADMINS REQUIRE PERMISSIONS TOO)权限(管理员也需要权限)
abandonedbases.convert - required to use /sar commandabandonedbases.convert - 使用 /sar 命令所需权限
abandonedbases.convert.free - converting is free for users that have this permissionabandonedbases.convert.free - 拥有此权限的用户可免费进行转换
abandonedbases.convert.claim - required to use /sar claim commandabandonedbases.convert.claim - 使用 /sar claim 命令所需权限
abandonedbases.purgeday - required to use /sar purge commandabandonedbases.purgeday - 使用/sar purge命令所需权限
abandonedbases.admin - required to use /sab and purge commandsabandonedbases.admin - 使用/sab和清除命令所需权限
abandonedbases.notices - users with this command can see event-opened notices from the pluginabandonedbases.notices - 拥有此命令的用户可以查看该插件中因事件触发而开启的通知
abandonedbases.attack - lets players hunt bases and convert them by attacking if they're abandonedabandonedbases.attack - 允许玩家搜寻基地,如果基地被弃置,玩家可通过攻击将其占领 abandonedbases.attack.time - 向玩家展示当他们攻击一个基地时,该基地在被弃置前还剩余多少时间 abandonedbases.attack.lastseen - 攻击基地时,查看玩家上次在线时间的必要条件 如果尚未存在,则自动将abandonedbases.immune添加到配置中(生存期设置为“无”)
abandonedbases.attack.time - shows players how much time is left before a base becomes abandoned when they attack it废弃基地.攻击.时间 - 向玩家展示当他们攻击一个基地时,距离该基地被废弃还剩多少时间
abandonedbases.attack.lastseen - required to see the last time the player was online when attacking a baseabandonedbases.attack.lastseen - 用于查看玩家攻击基地时最后一次在线的时间,该信息为必填项。
Auto-add abandonedbases.immune to configuration if one does not exist already (lifetime set to "none")自动添加废弃基地。如果尚未存在,则不受配置影响(生命周期设置为“无”)
- abandonedbases.immune will not be automatically added if the configuration contains a different immunity permission already- 如果配置中已包含不同的免疫权限,则不会自动添加abandonedbases.immune。
- abandonedbases.immune will give the user immunity to any base they've built at or are authed at from becoming abandoned- “abandonedbases.immune”将使用户对他们在已建造或已授权的任何基地免疫,避免其被废弃。
- abandonedbases.exclude does not provide immunity and is explicitly intended for the plugin to ignore the player only- abandonedbases.exclude不提供豁免权,其明确目的仅为让插件忽略该玩家。
- abandonedbases.exclude is intended for admins, mods, staff or helpers to be able to freely make repairs or auth at bases without interfering with the abandoned timer- abandonedbases.exclude(废弃基地排除)旨在让管理员、版主、工作人员或助手能够在不影响废弃倒计时的情况下,自由地对基地进行修复或授权。
abandonedbases.exclude: 废弃的基地。排除:
  • excludes the user from being checked as an authorized user to a TC将用户排除在作为建筑核心(TC)的授权用户检查之外
  • this permission should not be used to exempt users - exempt users with immunity by assigning them a permission from a role that has the lifetime set to "none"此权限不应被用于豁免用户 - 通过为用户分配一个有效期设置为“无”的角色中的权限,来豁免具有豁免权的用户
example roles that includes permission abandonedbases.immune and lifetime set to "none" to properly exempt a user or group by granting abandonedbases.immune to a user or group:示例角色,其中包括权限abandonedbases.immune,并且将有效期设置为“无”,以便通过向用户或组授予abandonedbases.immune权限来正确豁免某个用户或组:
"Purge Settings": [
{
"Permission": "abandonedbases.immune",
"Lifetime (Days)": "none"
},
{
"Permission": "abandonedbases.vip",
"Lifetime (Days)": "7"
},
{
"Permission": "abandonedbases.veteran",
"Lifetime (Days)": "5"
},
{
"Permission": "abandonedbases.basic",
"Lifetime (Days)": "3"
}
], “清除设置”:[{"权限": "abandonedbases.immune","生存期限(天)": "无"},{"权限": "abandonedbases.vip","生存期限(天)": "7"},{"权限": "abandonedbases.veteran","生存期限(天)": "5"},{"权限": "abandonedbases.basic","生存期限(天)": "3"}]
Purge Settings 清除设置
  • Permission - The permission to use with this setting权限 - 此设置所使用的权限
  • Lifetime (Days) - The amount of time in days before a base is considered abandoned. Set to none to not consider players with this permission as inactive.生命周期(天数) - 一个基地被视为废弃之前的天数。设置为无,则拥有此权限的玩家不会被视为非活跃状态。
  • Conversions Before Destroying Base (1) - The amount of times a base can become abandoned before it is finally destroyed when the Despawn Timer expires.基地摧毁前的转换次数(1) - 当消失倒计时结束时,一个基地在最终被摧毁前可以被废弃的次数。
  • Comes with 3 configured permissions and lifetime days by default默认情况下,配置有3种权限和存在天数。
Abandoned Settings 废弃设置
  • Blacklisted Commands (command1, command2, command3) - Commands players are not allowed using at a raid or marked with PVP delay黑名单命令(command1、command2、command3) - 玩家在突袭中或标记有PVP延迟时不允许使用的命令
  • Marker Name (Minutes) (Abandoned Player Base [{time}m]) - Text shown on map marker for minutes标记名称(分钟)(废弃玩家基地[{time}分钟]) - 地图标记上显示的分钟数文本
  • Marker Name (Seconds) (Abandoned Player Base [{time}s]) - Text shown on map marker for seconds标记名称(秒)(废弃玩家基地[{time}秒]) - 地图标记上显示的以秒为单位的文本
  • Foundations Required (4) - Minimum amount of foundations required to become raidable所需地基数量(4) - 可被攻击所需的最少地基数量
  • Walls Required (3) - Minimum amount of walls required to become raidable所需围墙数量(3) - 可被攻击所需的最少围墙数量
  • Sphere Amount (10) - Increase to darken the dome, or decrease to brighten it球体数量(10) - 增加可使穹顶变暗,减少则使其变亮
  • Sphere Radius (50) - How big the dome is in meters球体半径(50) - 穹顶的大小(单位:米)
  • Use Dynamic Sphere Radius (false) - Allow the dome to detect the best dome size使用动态球体半径(否) - 允许穹顶检测最佳穹顶大小
  • Max Dynamic Radius (75.0) - How maximum size of the dynamic radius最大动态半径(75.0) - 动态半径的最大尺寸是多少
  • Min Custom Sphere Radius - The minimum radius allowed when using /sar <radius>最小自定义球体半径 - 使用 /sar <半径> 时允许的最小半径
  • Max Custom Sphere Radius - The maximum radius allowed when using /sar <radius>最大自定义球体半径 - 使用 /sar <半径> 时允许的最大半径
  • PVP Delay (15.0) - The amount of time in seconds that players can take damage after leaving the domePVP延迟(15.0) - 玩家离开穹顶后可承受伤害的时间,单位为秒
  • Despawn Timer (1800.0) - The amount of time in seconds that players have to finish the raid消失倒计时(1800.0) - 玩家完成袭击所需的时间(以秒为单位)
  • Reset Despawn Timer When Base Is Attacked (true) - When enabled this will reset the above despawn timer back to 1800 seconds by default基地被攻击时重置消失倒计时(开启) - 启用此选项后,默认会将上述消失倒计时重置回1800秒。
  • Do Not Destroy Base When Despawn Timer Expires (false) - Use this to override and prevent a base from being destroyed when Despawn Timer expires当消失倒计时结束时不销毁基地(否) - 使用此选项可覆盖默认设置,并在消失倒计时结束时防止基地被销毁。
  • Backpacks Can Be Opened (true) - When enabled players will be allowed to open their backpacks while inside of the dome背包可开启(真) - 启用此功能后,玩家在穹顶内将可以打开背包。
  • Backpacks Can Be Looted By Anyone (false) - Bypass PreventLooting plugin and allow backpacks to be lootable if enabled任何人都可掠夺背包(否) - 绕过“防止掠夺”插件,若启用则允许背包可被掠夺
  • Corpses Can Be Looted By Anyone (true) - Bypass PreventLooting plugin and allow backpacks to be lootable if enabled任何人都可搜刮尸体(开) - 绕过“禁止搜刮”插件,若启用则允许背包可被搜刮。
  • Allow PVP (true) - Allows PVP while inside of the dome, and when flagged with a PVP delay允许玩家对战(是) - 在穹顶内且处于玩家对战延迟标记状态时,允许玩家对战
  • Seconds Until Despawn After Looting (600)掠夺后消失前的剩余秒数(600)
  • Seconds Until Despawn After Looting Resets When Damaged (true)被破坏时,搜刮重置后至消失的秒数(开)
  • Cancel Automated Events If Abandoned Owner Comes Online (false)若弃置基地的所有者上线则取消自动事件(否)
  • Message Raiders When Event Ends During Automated Cancellation (true)自动取消期间事件结束时向袭击者发送消息(是)
  • Change Marker Color On First Entity Destroyed (true)首个实体被摧毁时更改标记颜色(开启)
  • Cooldown Between Conversions (3600) - Time required between each manual conversion of a base using /sar转换间隔冷却时间(3600)- 使用 /sar 手动转换基地之间所需的时间
  • Cooldown Between Events (3600) - Time between each event - prevents looting, damage and using /sar claim事件冷却时间(3600) - 每次事件之间的时间 - 防止掠夺、造成伤害以及使用 /sar claim 指令
  • Cooldown Between Cancel (3600) - Time the player must wait to use /sar cancel取消操作之间的冷却时间(3600) - 玩家必须等待才能使用 /sar cancel 命令的时间
  • Cooldown Between Conversions Ignored During Purge (true)清除期间忽略转换之间的冷却时间(真)
  • Cooldown Between Cancel Ignored During Purge (true)清除期间忽略取消操作之间的冷却时间(真)
  • Cooldown Between Events Ignored During Purge (true)清除期间忽略事件之间的冷却时间(是)
  • Prevent Hogging Ignored During Purge (false)清除期间忽略防止独占(否)
  • Run Once On Server Startup (false) - Check for abandoned bases immediately after server startup is complete服务器启动时运行一次(否) - 服务器启动完成后立即检查废弃基地
  • Run Every X Seconds (0.0) - The time in seconds to check for each building on the server in order to determine which bases are inactive每X秒运行一次(0.0) - 为确定哪些基地处于非活动状态,在服务器上检查每栋建筑的时间间隔,单位为秒。
  • Kill Inactive Sleepers (false) - When enabled players with a permission from purge settings will be executed when they are offline for the configured amount of lifetime days杀死非活跃沉睡者(否) - 启用后,拥有清除设置权限的玩家在离线达到配置的终生天数时将被处决。
  • Let Players Kill Abandoned Sleepers (false) - Allows players to kill anyone sleeping inside of an abandoned base rather than the server killing them automatically允许玩家击杀废弃基地中的沉睡者(否) - 允许玩家击杀位于废弃基地内睡觉的任何人,而非由服务器自动将其击杀。
  • Economics/ServerRewards Cost To Manually Convert (0 = disabled) - Used with /sar command to convert any base into an abandoned base经济/手动转换的服务器奖励成本(0 = 禁用)- 与 /sar 命令一起使用,将任何基地转换为废弃基地
  • Use Map Marker (true) 使用地图标记(是)
  • Require Event Be Finished Before It Can Be Canceled (true)事件必须完成后才能取消(是)
  • Various auto turret settings 各种自动炮塔设置

Hooks (implemented in 2.1.4 钩子(在2.1.4版本中实现)

participants 参与者
- anyone that has actively participated (excludes admin if configured, and those in noclip or vanish) - this should not contain null elements- 任何积极参与的人(若已配置,则不包括管理员,以及处于穿墙或隐身状态的人)—— 这里不应包含空元素
participantIds - contains the userid of all participants - this list is better as anyone offline and dead will be included in this but not in the participants list because they would be null!participantIds - 包含所有参与者的用户ID - 这个列表更好,因为任何离线和已故的用户都会包含在这个列表中,但不会包含在 participants 列表中,因为他们在后者中会是null!
intruders - anyone currently inside of the event (does not exclude anyone) - this should not contain null elements闯入者 - 目前处于该事件中的任何人(不排除任何人) - 此内容不应包含空元素
intruderIds - contains the userid of everyone inside of the event (does not exclude anyone) - this list is better as anyone offline and dead will be included in the list but not in the intruders list because they would be null!intruderIds - 包含事件内每个人的用户ID(不排除任何人) - 这个列表更好,因为任何离线和死亡的人都会包含在这个列表中,但不会包含在 intruders 列表中,因为他们在后者中会是 null!
  • void OnPlayerPvpDelayStart(BasePlayer player, ulong userid, Vector3 eventPos, float radius, List<BasePlayer> intruders, List<ulong> intruderIds, List<BaseEntity> entities)当玩家PVP延迟开始时调用(BasePlayer player, ulong userid, Vector3 eventPos, float radius, List<BasePlayer> intruders, List<ulong> intruderIds, List<BaseEntity> entities)
  • void OnPlayerPvpDelayExpiredII(BasePlayer player, ulong userid, Vector3 eventPos, float radius, List<BasePlayer> intruders, List<ulong> intruderIds, List<BaseEntity> entities)
  • void OnAbandonedBaseStarted(Vector3 eventPos, float radius, bool allowPVP, List<BasePlayer> participants, List<ulong> participantIds, List<BaseEntity> entities)
  • void OnAbandonedBaseEnded(Vector3 eventPos, float radius, bool allowPVP, List<BasePlayer> participants, List<ulong> participantIds, List<BaseEntity> entities)
  • void OnPlayerEnteredAbandonedBase(BasePlayer player, Vector3 eventPos, float radius, bool allowPVP, List<BasePlayer> intruders, List<ulong> intruderIds, List<BaseEntity> entities)
  • void OnPlayerExitedAbandonedBase(BasePlayer player, Vector3 eventPos, float radius, bool allowPVP, List<BasePlayer> intruders, List<ulong> intruderIds, List<BaseEntity> entities)当玩家离开废弃基地时调用此方法,参数包括玩家对象、事件发生位置、半径、是否允许玩家对战、入侵者列表、入侵者ID列表以及实体列表。 (注意:这里只是对函数及参数含义按常规理解的一种解释性翻译,原内容为C# 代码片段,实际含义需结合具体代码逻辑。) void OnPlayerExitedAbandonedBase(BasePlayer player, Vector3 eventPos, float radius, bool allowPVP, List<BasePlayer> intruders, List<ulong> intruderIds, List<BaseEntity> entities)
  • void OnAbandonedBaseDespawned(Vector3 eventPos, float radius, bool allowPVP, List<BasePlayer> intruders, List<ulong> intruderIds, List<BaseEntity> entities)当废弃基地消失时调用此方法,参数包括事件发生位置(Vector3 eventPos)、半径(float radius)、是否允许玩家对战(bool allowPVP)、入侵者列表(List<BasePlayer> intruders)、入侵者ID列表(List<ulong> intruderIds)以及实体列表(List<BaseEntity> entities)

Convert Bases and/or Claim Bases 转换基地和/或认领基地
Quote Quote 定额

/sar convert - starts raid /sar convert - 启动突袭 - 可使用abandonedbases.convert.free绕过经济/服务器奖励成本 - 可使用abandonedbases.convert.nocooldown绕过冷却时间 展开 /sar 领取 致谢: misticos 允许使用他的部分代码 MON@H、锈蚀管理员、miniMe_rust 及 其他17人 举报
- can bypass economics/serverrewards cost using abandonedbases.convert.free- 可使用abandonedbases.convert.free绕过经济系统/服务器奖励成本
作者
rust插件网
下载
0
类型
数字产品
许可证期限
无限
价格
80.00 CNY
查看
101
首次发布
最后更新
评分
0.00 星 0 星

来自rust插件网的更多资源

后退
顶部