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

搬运 Remover Tool / 拆除工具 v4.3.23

没有下载权限
原网址
https://umod.org/plugins/remover-tool
原作者
Arainrr
原名称
Remover Tool

1595002618866.png


特征
代码:
播放器和管理员删除工具
退款选项
付款方式
使用工具柜或/和建筑物所有者或/和实体构建器(请参阅下文)
删除结构/全部
删除可部署项目
选择可以删除的实体
支持大多数氏族插件
支持建筑业主
图形用户界面
周围玩家或建筑物的突袭阻挡
权限
该插件使用Oxide的权限系统。要分配权限,请使用oxide.grant <user or group> <name or steam id> <permission>。要删除权限,请使用oxide.revoke <user or group> <name or steam id> <permission>。
代码:
removertool.normal -需要使用正常删除
removertool.all -必须使用全部删除
removertool.admin-需要使用管理员删除。在这种模式下,任何实体都可以删除。
removertool.structure -需要使用结构移除
removertool.external -需要使用外部删除
removertool.target -需要使用“ remove.target”命令
removertool.override -需要使用'remove.allow'命令
聊天命令
代码:
/remove [time (seconds)] -启用/禁用卸妆工具
/remove <admin | a> [time (seconds)]-启用管理员RemoverTool。在这种模式下,任何实体都可以删除。
/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.allow <false/true>-为玩家覆盖卸妆工具,如果将其设置为false,则只有具有“ removertool.override”权限的玩家才能使用卸妆工具。服务器重新启动或插件重新启动后,不会保存该信息!!!如果希望服务器仅在特定时间段内具有卸妆工具,则可与“ 定时执行”一起使用。
remove.building <price / refund> <percentage> -为所有建筑物设定价格或退款,以这种方式显示
UI图片
如果要使用Image,则必须安装ImageLibrary插件

无需添加可部署实体和项目的图像;ImageLibrary已经有它们。

如果需要添加其他实体的图像,请使用以下格式:

代码:
"Image Urls (Used to UI image)": {
"Entity short prefab nmae": "Image url",
},


删除访问
代码:
使用工具柜(强烈建议),
这将允许TC授权玩家移除TC范围内的实体。换句话说,仅当阻止构建时,播放器才能删除实体
使用建筑物锁
这是tc检查中的附加检查。因此,您必须启用tc检查->“使用工具柜”。当您不被建筑物阻挡时,它会检查您是否已对建筑物中的所有锁进行了身份验证。
使用实体所有者
这将允许实体所有者删除实体
使用建筑物所有者(您将需要建筑物所有者插件),
这将允许拥有建筑物的玩家(在基地中建立第一个基金会的玩家)删除
使用朋友
根据先前选择的选项(实体所有者或建筑物所有者),它将允许这些人的朋友删除
使用部落
根据您先前选择的选项(实体所有者或建筑物所有者),它将允许这些人的氏族成员被删除
例如:如果两个都启用。玩家必须是实体拥有者,并且拥有TC授权才能删除该实体
"Use Entity Owners": true,
"Use Tool Cupboards (Strongly unrecommended)": true,


价格/退款 经济与服务器奖励
使用它作为价格或退款。例如
代码:
"Price": {
"Economics": 30,
"ServerRewards": 50
},
"Refund": {
"Economics": 20,
"ServerRewards": 40
}
按初始费用的百分比退款
它将仅在建筑物上工作,而不在可部署项目上工作。(因此,木材,树枝,金属,石头和TopTier)
代码:
"Twigs": {
"Price": 50, //Pay 50% of the initial cost
"Refund": 60 //Refund 60% of the initial cost
},


组态
可以RemoverTool.json在oxide/config目录下的文件中配置此插件的设置和选项。建议使用JSON编辑器或验证站点(例如jsonlint.com),以避免格式问题和语法错误。


代码:
{
"Settings": {
"Use Clans": true,
"Use Friends": true,
"Use Entity Owners": true,
"Use Tool Cupboards (Strongly unrecommended)": false,
"Use Building Owners (You will need BuildingOwners plugin)": false,
"Remove Button": "FIRE_PRIMARY",
"Remove Interval (Min = 0.2)": 0.5,
"RemoveType - All/Structure - Remove per frame": 20,////Reducing it can reduce server lag, but take longer to remove
"RemoveType - All/Structure - No item container dropped": true,//If false, it will drop
"RemoveType - Normal - Max Removable Objects - Exclude admins": true,
"RemoveType - Normal - Cooldown - Exclude admins": true,
"RemoveType - Normal - Check stash under the foundation": false,
"RemoveType - Normal - Entity Spawned Time Limit - Enabled": false,//////If true, the spawned entity before installing the plugin cannot be removed
"RemoveType - Normal - Entity Spawned Time Limit - Cannot be removed when entity spawned time more than it": 300.0
},
"Container Settings": {
"Storage Container - Enable remove of not empty storages": true,
"Storage Container - Drop items from container": false,
"Storage Container - Drop a item container from container": true,
"IOEntity Container - Enable remove of not empty storages": true,
"IOEntity Container - Drop items from container": false,
"IOEntity Container - Drop a item container from container": true
},
"Remove Damaged Entities": {
"Enabled": false,
"Exclude Building Blocks": true,
"Percentage (Can be removed when (health / max health * 100) is not less than it)": 90.0
},
"Chat Settings": {
"Chat Command": "remove",
"Chat Prefix": "[RemoverTool]: ",
"Chat Prefix Color": "#00FFFF",
"Chat SteamID Icon": 0
},
"Permission Settings (Just for normal type)": {
"removertool.normal": {
"Priority": 0,
"Distance": 3.0,
"Cooldown": 60.0,
"Max Time": 300,
"Remove Interval (Min = 0.2)": 1.0,
"Max Removable Objects (0 = Unlimit)": 50,////Maximum removable object each time the remover tool is enabled
"Pay": true,
"Refund": true,
"Reset the time after removing a entity": false
},
"removertool.vip": {
"Priority": 1,
"Distance": 5.0,
"Cooldown": 30.0,
"Max Time": 300,
"Remove Interval (Min = 0.2)": 0.5,
"Max Removable Objects (0 = Unlimit)": 100,
"Pay": false,
"Refund": true,
"Reset the time after removing a entity": true
}
},
"Remove Type Settings": {
"Normal": {
"Display Name": "Normal",
"Distance": 3.0,
"Default Time": 60,
"Max Time": 300,
"Gibs": true,
"Reset the time after removing a entity": false
},
"Structure": {
"Display Name": "Structure",
"Distance": 100.0,
"Default Time": 300,
"Max Time": 600,
"Gibs": false,
"Reset the time after removing a entity": true
},
"All": {
"Display Name": "All",
"Distance": 100.0,
"Default Time": 300,
"Max Time": 600,
"Gibs": false,
"Reset the time after removing a entity": true
},
"Admin": {
"Display Name": "Admin",
"Distance": 20.0,
"Default Time": 300,
"Max Time": 600,
"Gibs": true,
"Reset the time after removing a entity": true
},
"External": {
"Display Name": "External",
"Distance": 20.0,
"Default Time": 300,
"Max Time": 600,
"Gibs": true,
"Reset the time after removing a entity": true
}
},
"Remove Mode Settings (Only one model works)": {
"No Held Item Mode": false, ////Prohibit players from holding any items
"No Held Item Mode - Disable remover tool when you have any item in hand": true,////remover tool disabled if player holds item
"Hammer Hit Mode": false,////You need a hammer to hit the object
"Specific Tool Mode": false,////Can only be removed when holding the item
"Specific Tool Mode - Item shortname": "hammer",
"Specific Tool Mode - Item skin (-1 = All skins)": -1
},
"Raid Blocker Settings": {//If you use the NoEscape plugin, disable it to avoid plugin conflicts
"Enabled": false,
"Block Time": 300.0,
"By Buildings": true,
"By Surrounding Players": true,
"By Surrounding Players - Radius": 120.0
},
"Image Urls (Used to UI image)": {
"Economics": "[MEDIA=imgur]znPwdcv[/MEDIA]",
"ServerRewards": "[MEDIA=imgur]04rJsV3[/MEDIA]"
},
"Display Names Of Other Things": {},
"GUI": {
"Main Box - Min Anchor (in Rust Window)": "0.1 0.55",
"Main Box - Max Anchor (in Rust Window)": "0.4 0.95",
"Main Box - Background Color": "0 0 0 0",
"Remove Title - Box - Min Anchor (in Main Box)": "0 0.85",
"Remove Title - Box - Max Anchor (in Main Box)": "1 1",
"Remove Title - Box - Background Color": "0 1 1 0.9",
"Remove Title - Text - Min Anchor (in Main Box)": "0.05 0.85",
"Remove Title - Text - Max Anchor (in Main Box)": "0.6 1",
"Remove Title - Text - Text Color": "1 0 0 0.9",
"Remove Title - Text - Text Size": 18,
"Timeleft - Box - Min Anchor (in Main Box)": "0.6 0.85",
"Timeleft - Box - Max Anchor (in Main Box)": "1 1",
"Timeleft - Box - Background Color": "0 0 0 0",
"Timeleft - Text - Min Anchor (in Timeleft Box)": "0 0",
"Timeleft - Text - Max Anchor (in Timeleft Box)": "0.9 1",
"Timeleft - Text - Text Color": "0 0 0 0.9",
"Timeleft - Text - Text Size": 15,
"Entity - Box - Min Anchor (in Main Box)": "0 0.71",
"Entity - Box - Max Anchor (in Main Box)": "1 0.85",
"Entity - Box - Background Color": "0 0 0 0.9",
"Entity - Text - Min Anchor (in Entity Box)": "0.05 0",
"Entity - Text - Max Anchor (in Entity Box)": "1 1",
"Entity - Text - Text Color": "1 1 1 1",
"Entity - Text - Text Size": 16,
"Entity - Image - Enabled": true,
"Entity - Image - Min Anchor (in Entity Box)": "0.8 0",
"Entity - Image - Max Anchor (in Entity Box)": "0.92 1",
"Authorization Check Enabled": true,
"Authorization Check - Box - Min Anchor (in Main Box)": "0 0.65",
"Authorization Check - Box - Max Anchor (in Main Box)": "1 0.71",
"Authorization Check - Box - Allowed Background": "0 1 0 0.8",
"Authorization Check - Box - Refused Background": "1 0 0 0.8",
"Authorization Check - Text - Min Anchor (in Authorization Check Box)": "0.05 0",
"Authorization Check - Text - Max Anchor (in Authorization Check Box)": "1 1",
"Authorization Check - Text - Text Color": "1 1 1 0.9",
"Authorization Check Box - Text - Text Size": 14,
"Price & Refund - Image Enabled": true,
"Price & Refund - Image Scale": 0.18,
"Price & Refund - Distance of image from right border": 0.1,
"Price Enabled": true,
"Price - Box - Min Anchor (in Main Box)": "0 0.4",
"Price - Box - Max Anchor (in Main Box)": "1 0.65",
"Price - Box - Background Color": "0 0 0 0.9",
"Price - Text - Min Anchor (in Price Box)": "0.05 0",
"Price - Text - Max Anchor (in Price Box)": "0.3 1",
"Price - Text - Text Color": "1 1 1 0.9",
"Price - Text - Text Size": 18,
"Price - Text2 - Min Anchor (in Price Box)": "0.35 0",
"Price - Text2 - Max Anchor (in Price Box)": "1 1",
"Price - Text2 - Text Color": "1 1 1 0.9",
"Price - Text2 - Text Size": 16,
"Refund Enabled": true,
"Refund - Box - Min Anchor (in Main Box)": "0 0.15",
"Refund - Box - Max Anchor (in Main Box)": "1 0.4",
"Refund - Box - Background Color": "0 0 0 0.9",
"Refund - Text - Min Anchor (in Refund Box)": "0.05 0",
"Refund - Text - Max Anchor (in Refund Box)": "0.3 1",
"Refund - Text - Text Color": "1 1 1 0.9",
"Refund - Text - Text Size": 18,
"Refund - Text2 - Min Anchor (in Refund Box)": "0.35 0",
"Refund - Text2 - Max Anchor (in Refund Box)": "1 1",
"Refund - Text2 - Text Color": "1 1 1 0.9",
"Refund - Text2 - Text Size": 16
},
"Remove Info (Refund & Price)": {
"Price Enabled": true,
"Refund Enabled": true,
"Refund Items In Entity Slot": true,
"Allowed Building Grade": {
"Twigs": true, //Allow removal of Twigs
"Wood": true,
"Stone": true,
"Metal": true,
"TopTier": true
},
"Building Blocks Settings": {
"Foundation": {
"Display Name": "Foundation", //The name displayed on the RemoverToolUI
"Building Grade": {
"Twigs": {
"Price": {
"wood": 30
},
"Refund": {
"wood": 20
}
},
"Wood": {
"Price": {
"wood": 120
},
"Refund": {
"wood": 80
}
},
"Stone": {
"Price": {
"stones": 180
},
"Refund": {
"stones": 120
}
},
"Metal": {
"Price": {
"metal.fragments": 120
},
"Refund": {
"metal.fragments": 80
}
},
"TopTier": {
"Price": {
"metal.refined": 15
},
"Refund": {
"metal.refined": 10
}
}
}
}
},
"Other Entity Settings": {//If you want to add other entities, you can do so here
"fogmachine": { //entity short prefab name
"Remove Allowed": true, //Allows the entity to be remove
"Display Name": "Fogger-3000", //The name displayed on the RemoverToolUI
"Price": {},
"Refund": {
"fogmachine": 1
}
}
}
}
}
钩子
private object canRemove(BasePlayer player, BaseEntity entity)
作者
MLKK
下载
378
查看
6,159
首次发布
上次更新
评分
0.00 星 0个评价

MLKK的更多资源

分享此资源

最近更新

  1. 请更新至最新版

    更新内容: 添加一个新的钩子OnDropContainerEntity。在删除容器实体的清单之前调用 将Hammer...