拆卸工具
免费
分类:免费插件
作者:Tryhard
版本:4.3.48
收藏
特征
玩家和管理员移除工具
退款选项
支付选项
使用工具柜和/或建筑业主和/或实体构建器(见下文)
移除结构
移除可部署项
选择可以移除的实体
支持大多数Clans插件
支持NoEscape
图形用户界面
权限
此插件使用权限系统。要分配权限,请使用 `<command>` 命令oxide.grant <user or group> <name or steam id> <permission>。要移除权限,请使用 `<command>` 命令oxide.revoke <user or group> <name or steam id> <permission>。
所有类型、结构和外部类型均无限制。请勿授予玩家此类权限。
removertool.normal- 需要使用普通移除方式
removertool.admin- 必须使用管理员删除模式。在此模式下,任何实体都可以被删除。
removertool.all- 必须使用所有移除功能。
removertool.structure- 需要使用结构移除功能。
removertool.external- 需要使用外部删除工具。
removertool.target- 需要使用“remove.target”命令
removertool.override- 需要使用“remove.allow”命令
聊天命令
/remove [time (seconds)]-- 启用/禁用 RemoverTool
/remove <admin | a> [time (seconds)]-- 启用管理员移除工具。在此模式下,可以移除任何实体。
/remove all [time (seconds)]-- 从你注视的位置开始,移除所有相互接触的物体(如果多个建筑物靠得太近,则会移除多个)(对于大型建筑物,速度可能会较慢)
/remove <structure | s> [time (seconds)]-- 移除整栋建筑物(不会移除彼此靠近的建筑物或可部署物体)(即使是大型建筑物,速度也非常快)
/remove <external | e> [time (seconds)]拆除相邻的高外墙
/remove <help | h>-- 查看帮助
控制台命令
remove.toggle-- 与 /remove 命令相同,仅限在 F1 游戏主机上使用。
remove.target <disable | d> <player (name or id)>-- 禁用玩家的移除工具
remove.target <normal | n> <player (name or id)> [time (seconds)] [max removable objects (integer)]-- 为玩家启用移除工具(普通)
remove.target <admin | a> <player (name or id)> [time (seconds)]-- 为玩家启用移除工具(管理员)
remove.target <all> <player (name or id)> [time (seconds)]-- 为所有玩家启用移除工具
remove.target <structure | s> <player (name or id)> [time (seconds)]-- 为玩家(结构)启用移除工具
remove.target <external | e> <player (name or id)> [time (seconds)]-- 为玩家启用移除工具(外部)
remove.playerentity <all | a> <player id>移除玩家的所有实体
remove.playerentity <building | b> <player id>——移除玩家的所有建筑物
remove.playerentity <cupboard | c> <player id>——移除玩家拥有的橱柜建筑
remove.allow <false/true>-- 为玩家禁用移除工具。如果设置为 false,则只有拥有“removertool.override”权限的玩家才能使用移除工具。此设置不会在服务器或插件重启后保存!!!此功能用于“定时执行”插件,如果您希望服务器仅在特定时间段内拥有移除工具,则需要使用此功能。
remove.building <price / refund> <percentage>-- 设置所有建筑物的价格或退款金额。
remove.building <priceP / refundP> <percentage>-- 设置所有建筑物的价格或退款金额。
配置
设置和选项可以在目录RemoverTool下的文件中进行配置config。建议使用编辑器和验证器来避免格式问题和语法错误。
用户界面图像
如果要使用 Image 功能,则必须安装 ImageLibrary 插件。
无需添加可部署实体和项目的图像;图像库中已有这些图像。
如果需要添加其他实体的图片,请使用以下格式:
"Image Urls (Used to UI image)": {
"Entity short prefab name": "Image url",
},
移除访问权限
使用工具柜(强烈不推荐):
这将允许获得工具柜授权的玩家移除工具柜范围内的实体。换句话说,玩家只有在建筑被阻挡时才能移除实体。强烈不推荐意味着不建议单独使用此功能。
使用建筑锁具:
这是工具柜检查中的一项附加检查。因此,您需要启用工具柜检查 -> “使用工具柜”。当您未被建筑物阻挡时,系统会检查您是否已授权建筑物内的所有锁具。
使用实体所有者功能
,这将允许实体所有者删除实体。
使用建筑所有者功能(您需要 BuildingOwners 插件)。
这将允许拥有建筑物的玩家(即在基地建造第一个地基的玩家)移除建筑物。
使用好友、使用团队、使用氏族,
取决于您之前选择的选项(实体所有者或建筑所有者),系统将允许这些人的好友/队友/氏族成员移除。
例如:如果以下两项都已启用,玩家需要是实体的所有者,并且拥有TC授权才能移除该实体。
"Use Entity Owners": true,
"Use Tool Cupboards (Strongly unrecommended)": true,
价格/退款
经济学与服务器奖励
按初始成本的百分比退款
它仅对建筑物有效,对可部署物品无效。(例如木材、树枝、金属、石头和顶级物品)
"Twigs": {
"Price": 50, //Pay 50% of the initial cost
"Refund": 60 //Refund 60% of the initial cost
},
移除按钮
实体生成时间限制:由于插件不会保存实体生成的时间,因此此功能仅适用于插件加载后生成的实体。
钩子
private object canRemove(BasePlayer player, BaseEntity entity)
private void OnNormalRemovedEntity(BasePlayer player, BaseEntity entity) // Called when deleting an entity in normal remove mode
private object OnDropContainerEntity(BaseEntity entity) // Called when the container is about to drop
private void OnRemoverToolActivated(Baseplayer player) // Called only in normal remove mode
private void OnRemoverToolDeactivated(Baseplayer player) // Called only in normal remove mode
自定义实体移除设置
通过外部插件自定义实体移除设置,换句话说,您可以通过其他插件修改实体的价格或退款物品的价格。
下载安装
4.3.48 · 211.4 KB · 下载 2次
下载文件