必需的依赖项
https://chaoscode.io/resources/chaos.321/
可选依赖项
http://www.chaoscode.io/resources/clans-reborn.14/ https://umod.org/plugins/clans
https://umod.org/plugins/friends

此插件需要 Chaos 扩展 -> https://chaoscode.io/resources/chaos.321/

内容

动态橱柜共享允许在部落成员、团队成员或朋友之间动态共享工具橱柜和自动炮塔授权,以及许多实体类型的代码锁定,而无需这些用户自行授权或在代码锁定中输入代码。
它还允许您选择允许玩家在通常无法锁定的多种类型的实体上放置锁。

特征

  • 选择服务器上允许的共享类型
  • 选择您的服务器上允许的每种团队类型的共享类型
  • 在不同团队类型之间共享的可选权限
  • 用于与 TC 共享共享哪些基于工具柜的陷阱的选项(guntrap、flame turret、samsite)
  • 冰山、冰盖和冰湖的可选建筑限制
  • 各种工具柜安全选项
  • 易于使用的用户界面,用于切换您的共享,该共享会根据配置中的共享设置动态更改
  • 用户界面的可定制配色方案
  • 与 Clans 插件、Friends 插件和 Rusts 团队系统配合使用
  • 可切换的管理员模式允许管理员轻松获得对玩家基地的完全访问权限
  • 允许在炉子、烧烤炉、炼油厂、堆肥机、种植箱、投递箱、自动售货机、混合桌和挂钩和槽上放置锁的选项,并在团队类型之间共享
  • 启用/禁用密钥锁定共享的选项

权限

DynamicCupShare 使用 Oxides 权限系统
要分配用户权限,请在控制台中使用 oxide.grant user “username|steam id” “permission”。
要分配组权限,请在控制台中使用 oxide.grant group “groupname” “permission”。
您可以在此处阅读有关如何使用权限系统的更多信息:uMod – 权限

所有权限都可以在配置中更改。以下权限是默认值
dynamiccupshare.canclanshare – 如果启用,则只有具有此权限的玩家才能在部落伙伴
之间共享 dynamiccupshare.canfriendshare – 如果启用,则只有具有此权限的玩家才能在朋友
之间共享 dynamiccupshare.canteamshare – 如果启用,则只有具有此权限的玩家才能在团队成员
之间共享 dynamiccupshare.adminmode– 需要使用 /dcsadmin 聊天命令

聊天命令
/share – 打开运行命令
/shareplayer <steamID> 的玩家的共享菜单 – 这将打开目标玩家的共享菜单,并允许管理员切换该玩家的共享类型。只有身份验证级别为 2 的管理员才能使用此命令
/dcsadmin – 切换管理员模式。需要在配置

中设置管理员权限 工具柜共享
工具柜共享功能为进入部落成员/团队成员/朋友的橱柜范围的每个人提供即时构建权限,前提是工具柜的所有者启用了共享功能,并且所有者本身在工具柜上获得了授权。它还提供在基地内的氏族成员/团队成员/朋友橱柜区域的无缝旅行。

禁用工具柜共享将立即从橱柜授权列表中

删除所有临时共享的成员 炮塔共享
炮塔共享的工作方式与橱柜

锁共享
相同不同类型的锁共享只允许打开所述对象。它不会将战队成员 / 团队成员 / 朋友添加到代码锁定白名单中。有了这个,每个玩家部署的代码锁都将保持安全,并且所有者本人以外的任何其他人都无法更改或删除。

在实体类型上禁用锁共享或删除战队成员/团队成员/朋友将立即阻止这些成员访问锁

管理员模式
:通过使用聊天命令 /dcsadmin,您可以切换管理员模式。这将使你能够访问所有的门、盒子和储物柜,并暂时在地图上任何基地

的工具箱和炮塔上注册短视频演示(3.x.x 之前版本,除了功能外,不反映插件的当前状态)

配置

配置文件可以在您的服务器目录中找到,网址为 …/oxide/config/DynamicCupShare.json
建议使用编辑器和验证器以避免格式问题
JSON格式:
{
  "Sharing Options": {
    "Allowed share types": {
      "Allow cupboard sharing": true,
      "Allow door sharing": true,
      "Allow box sharing": true,
      "Allow locker sharing": true,
      "Allow turret sharing": true,
      "Allow composter sharing (also enables locks to be placed on composters)": false,
      "Allow dropbox sharing (also enables locks to be placed on dropboxes)": false,
      "Allow vending machine sharing (also enables locks to be placed on vending machines)": false,
      "Allow furnace sharing (also enables locks to be placed on furnaces)": false,
      "Allow bbq sharing (also enables locks to be placed on bbqs)": false,
      "Allow refinery sharing (also enables locks to be placed on refinery)": false,
      "Allow planter sharing (also enables locks to be placed on planters)": false,
      "Allow hitch and trough sharing (also enables locks to be placed on hitch and troughs)": false,
      "Allow mixing table sharing (also enables locks to be placed on mixing table)": false
    },
    "Clan": {
      "Clan sharing includes alliances?": false,
      "Is this share type allowed?": true,
      "Enable cupboard sharing by default": true,
      "Enable door sharing by default": true,
      "Enable box sharing by default": true,
      "Enable locker sharing by default": true,
      "Enable turret sharing by default": true,
      "Enable furnace sharing by default": false,
      "Enable refinery sharing by default": false,
      "Enable bbq sharing by default": false,
      "Enable composter sharing by default": false,
      "Enable planter sharing by default": false,
      "Enable dropbox sharing by default": false,
      "Enable vending machine sharing by default": false,
      "Enable hitch and trough sharing by default": false,
      "Enable mixing table sharing by default": false
    },
    "Friend": {
      "Is this share type allowed?": false,
      "Enable cupboard sharing by default": true,
      "Enable door sharing by default": true,
      "Enable box sharing by default": true,
      "Enable locker sharing by default": true,
      "Enable turret sharing by default": true,
      "Enable furnace sharing by default": false,
      "Enable refinery sharing by default": false,
      "Enable bbq sharing by default": false,
      "Enable composter sharing by default": false,
      "Enable planter sharing by default": false,
      "Enable dropbox sharing by default": false,
      "Enable vending machine sharing by default": false,
      "Enable hitch and trough sharing by default": false,
      "Enable mixing table sharing by default": false
    },
    "Team": {
      "Is this share type allowed?": true,
      "Enable cupboard sharing by default": true,
      "Enable door sharing by default": true,
      "Enable box sharing by default": true,
      "Enable locker sharing by default": true,
      "Enable turret sharing by default": true,
      "Enable furnace sharing by default": false,
      "Enable refinery sharing by default": false,
      "Enable bbq sharing by default": false,
      "Enable composter sharing by default": false,
      "Enable planter sharing by default": false,
      "Enable dropbox sharing by default": false,
      "Enable vending machine sharing by default": false,
      "Enable hitch and trough sharing by default": false,
      "Enable mixing table sharing by default": false
    },
    "Chat command": "share",
    "Disable key lock sharing": false
  },
  "Permission Options": {
    "Clan Share Permission (if enabled, players will need this permission to use Clan share)": {
      "Permission": "dynamiccupshare.canclanshare",
      "Enabled": false
    },
    "Friend Share Permission (if enabled, players will need this permission to use Friend share)": {
      "Permission": "dynamiccupshare.canfriendshare",
      "Enabled": false
    },
    "Team Share Permission (if enabled, players will need this permission to use Team share)": {
      "Permission": "dynamiccupshare.canteamshare",
      "Enabled": false
    },
    "Admin Permission (required to toggle admin mode)": "dynamiccupshare.adminmode",
    "Toggle admin mode when player connects (requires the admin permission)": false
  },
  "Turret Share Options": {
    "Turret share includes gun traps": true,
    "Turret share includes flame turrets": true,
    "Turret share includes sam sites": true
  },
  "Building Restrictions": {
    "Prevent building on icebergs": false,
    "Prevent building on ice sheets": false,
    "Prevent building on ice lakes": false
  },
  "Security Options": {
    "Permanently enable turret sharing between clan and team members": false,
    "Prevent friendly players from accessing cupboard and turret auth lists": true,
    "Prevent non-friendly players from accessing cupboard and turret auth lists": false,
    "Prevent cupboard and turret sharing if owner is not in the authorized list of that entity": true,
    "Maximum allowed authorizations on a tool cupboard (0 = disabled)": 0
  },
  "Data Management": {
    "Save data in ProtoBuf format": false,
    "Purge user data after X days of inactivity (0 is disabled)": 7
  },
  "UI Colors": {
    "Background": {
      "Hex": "151515",
      "Alpha": 0.94
    },
    "Panel": {
      "Hex": "FFFFFF",
      "Alpha": 0.165
    },
    "Button": {
      "Hex": "2A2E32",
      "Alpha": 1.0
    },
    "Highlight": {
      "Hex": "C4FF00",
      "Alpha": 1.0
    },
    "Close": {
      "Hex": "CE422B",
      "Alpha": 1.0
    }
  },
  "Version": {
    "Major": 3,
    "Minor": 0,
    "Patch": 9
  }
}
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。