掉落物品栏 1.0.2

掉落物品栏 1.0.2

掉落物品栏 1.0.2-PCI1
掉落物品栏 1.0.2
此内容为免费资源,请登录后查看
0
免费资源

原创地址Drop Inventory – 插件 – Codefling

 

关于 Drop Inventory

允许玩家通过命令掉落整个物品栏(主容器、腰带容器和磨损容器)。管理员可以强制删除任何玩家的库存。该插件具有高度可配置性,允许控制权限、冷却时间、广播消息和物品掉落行为。

权限
 

dropinventory.use

– 授予玩家使用 /drop 命令掉落自己的物品栏的能力。

 

dropinventory.cooldown.bypass

 

– 允许玩家在使用 /drop 命令时绕过冷却时间。

 

dropinventory.admin

– 授予对 /drop.admin 等管理命令的访问权限,以删除任何玩家的库存。

命令
 

玩家命令:

/落
 

– 允许玩家在获得许可的情况下掉落整个物品栏(主容器、腰带容器、磨损容器)(dropinventory.use)。

– 冷却时间:玩家可以在冷却时间后再次使用该命令,除非他们拥有 dropinventory.cooldown.bypass 权限。
 

管理命令:

/drop.admin <全部 |腰带 |穿着 |main> <playername/steamid>

– 允许管理员删除其他玩家的库存。管理员必须具有 dropinventory.admin 权限。

– 管理员将收到确认,并通知目标玩家。
 

控制台命令:

drop.admin <全部 |腰带 |穿着 |main> <playername/steamid>

等效于 chat admin 命令,但在服务器控制台中使用。

配置
 

广播设置
 

– 聊天前缀:聊天中显示的所有消息的前缀(例如,<color=#FF0000>[DropInv]</color>)。

– 使用聊天消息:消息是否通过游戏内聊天广播。

– 使用游戏提示消息:是否使用游戏内游戏提示通知。
 

丢弃设置
 

– 音效:掉落物品时播放的音效。

– 掉落速度:物品掉落时投掷的速度。

– 掉落主容器:是否应该掉落主库存。

– 掉落磨损容器:是否应该掉落磨损容器(装甲)。

– Drop Belt Container:  Whether the belt (hotbar) items should be dropped.
 

Command Settings
 

– Chat Command Cooldown:  The cooldown time (in seconds) for players using  /drop.

– Player Chat Command: The command players can use to drop their inventory.

– Admin Chat Command:  The chat command that admins can use to drop another player’s inventory.

– 管理控制台命令:管理员可用于删除其他玩家库存的控制台命令。

默认配置
 

{
   "Broadcast Settings": {
      "Chat Prefix": "<color=#FF0000>[DropInv]</color> ",
      "Use Chat Message": true,
      "Use Game Tip Message": true
   },
   "Drop Inventory Settings": {
      "Sound Effect": "assets/bundled/prefabs/fx/gestures/drink_vomit.prefab",
      "Drop Velocity": 5,
      "Drop Main Container": true,
      "Drop Wear Container": true,
      "Drop Belt Container": true
   },
   "Command Settings": {
      "Chat Command Cooldown": 60,
      "Player Chat Command": "drop",
      "Admin Chat Command": "drop.admin",
      "Admin Console Command": "drop.admin"
   },
   "Version": {
      "Major": 1,
      "Minor": 0,
      "Patch": 1
   }
}

默认语言

 

{
   "Cooldown": "Drop is on cooldown. Time remaining: <color=#FF0000>{0}</color> seconds.",
   "DropAll": "Your Main, Belt and Wear items have been dropped.",
   "DropMain": "Your Main items have been dropped.",
   "DropBelt": "Your Belt items have been dropped.",
   "DropWear": "Your Wear items have been dropped.",
   "DropMainBelt": "Your Main and Belt items have been dropped.",
   "DropMainWear": "Your Main and Wear items have been dropped.",
   "DropBeltWear": "Your Belt and Wear items have been dropped.",
   "NoContainers": "No containers are enabled for dropping items.",
   "AdminDroppedItems": "Your items were dropped by an admin.",
   "AdminDroppedItemsReply": "You dropped (Player: <color=#FF0000>{0}</color>) Items.",
   "NoPermission": "You don't have permission to use this command.",
   "AdminCommandUsage": "Usage: /drop.admin <playername or steamid>",
   "PlayerNotFound": "Player not found or multiple players found matching the name or ID provided.",
  "Restrained": "You Can Not Use This Command While Restrained"
}

 

 

 

 

© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容