rust腐蚀一键修复基地插件Base Repair

允许玩家修复他们的整个基地,允许玩家通过用锤子敲击建筑物的一部分来修复他们的整个基地。

权限

该插件使用权限系统。要分配权限,请使用

oxide.grant <user or group> <name or steam id> <permission>. 要删除权限,请使用

oxide.revoke <user or group> <name or steam id> <permission>.

  • baserepair.use– 允许玩家使用基础修复
  • baserepair.nocost– 允许玩家无需支付维修费用
  • baserepair.noauth– 允许获得许可的玩家无需在 TC 上进行身份验证即可修复
  • noescape.raid.repairblock– 在袭击被阻止时阻止修复(需要 NoEscape 插件,这个插件可以让被攻击的人无法传送和修复)
  • noescape.combat.repairblock– 在战斗被阻止时阻止修复(需要 NoEscape 插件)

聊天命令

  • /br– 打开和关闭基础修复

配置

可以在目录

BaseRepair下的文件中配置设置和选项

config。建议使用编辑器和验证器来避免格式​​问题和语法错误。

{
  "Number of entities to repair per server frame": 10,
  "Default Enabled": false,
  "Repair Cost Multiplier": 1.0,
  "How long after an entity is damaged before it can be repaired (Seconds)": 30.0,
  "Chat Commands": [
    "br"
  ]
}

本土化

默认消息位于目录

BaseRepair下的文件中

lang/en。要添加对另一种语言的支持,请创建一个新的语言文件夹(例如

de德语)(如果尚未创建),将默认语言文件复制到新文件夹,然后自定义消息。

{
  "Chat": "<color=#bebebe>[<color=#de8732>Base Repair</color>] {0}</color>",
  "NoPermission": "You do not have permission to use this command",
  "RepairInProcess": "You have a current repair in progress. Please wait for that to finish before repairing again",
  "RecentlyDamaged": "We failed to repair {0} because they were recently damaged",
  "AmountRepaired": "We have repair {0} damaged items in this base. ",
  "CantAfford": "We failed to repair {0} because you were missing items to pay for it.",
  "MissingItems": "The items you were missing are:",
  "MissingItem": "{0}: {1}x",
  "Enabled": "You enabled enabled building repair. Hit the building you wish to repair with the hammer and we will do the rest for you.",
  "Disabled": "You have disabled building repair."
}
© 版权声明
THE END
苦逼小编求支持
点赞417赞赏 分享
相关推荐
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容