Auto Pickup - 自动拾取

汉化 Auto Pickup - 自动拾取 1.2.16

玩家靠近资源就会自动拾取。

可拾取的类型​

代码:
PlantEntity,
CollectibleEntity,
MurdererCorpse,
ScientistCorpse,
PlayerCorpse,
ItemDropBackpack,
ItemDrop,
WorldItem,
LootContainer,// 如果是容器需要打开,如果是油桶需要打破
CollectableGifts,

权限

  • autopickup.use - 允许使用指令并自动拾取

指令​

  • /ap - 打开自动拾取UI

配置文件​

JSON:
{
  "Settings": {
    "Clear Data On Map Wipe": false,
    "Use Teams": false,
    "Use Clans": true,
    "Use Friends": true,
    "Auto pickup is enabled by default": true,
    "Prevent pickup other player's backpack": false,
    "Prevent pickup other player's corpse": false,
    "Prevent pickup other player's plant entity": false,
    "Prevent pickup other player's loot container": true
  },
  "Chat Settings": {
    "Chat Command": "ap",
    "Chat Prefix": "<color=#00FFFF>[自动拾取]</color>: ",
    "Chat SteamID Icon": 0
  },
  "Auto Pickup Settings": {
    "PlantEntity": {
      "Enabled": true,
      "Check Radius": 0.5
    },
    "CollectibleEntity": {
      "Enabled": true,
      "Check Radius": 0.5
    },
    "MurdererCorpse": {
      "Enabled": true,
      "Check Radius": 0.5
    },
    "ScientistCorpse": {
      "Enabled": true,
      "Check Radius": 0.5
    },
    "PlayerCorpse": {
      "Enabled": true,
      "Check Radius": 0.5
    },
    "ItemDropBackpack": {///尸体的背包
      "Enabled": true,
      "Check Radius": 0.5
    },
    "ItemDrop": {///容器背包
      "Enabled": false,
      "Check Radius": 0.5
    },
    "WorldItem": {///掉落物品
      "Enabled": false,
      "Check Radius": 0.5
    },
    "LootContainer": {
      "Enabled": false,
      "Check Radius": 0.5
    },
    "CollectableGifts": {//万圣节糖果/复活节彩蛋
      "Enabled": false,
      "Check Radius": 0.5
    },
  },
  "World Item Pickup Settings": {
    "Auto Pickup Delay": 0.5,
    "Check that player's inventory is full": true,
    "Only pickup items that exist in player's inventory": false,
    "Item Block List (Item shortname)": [],
    "Allow Pickup Item Category": {
      "Attire": true,
      "Misc": true,
      "Ammunition": true,
      "Construction": true,
      "Component": true,
      "Items": true,
      "Traps": true,
      "Electrical": true,
      "Fun": true,
      "Food": true,
      "Resources": true,
      "Weapon": true,
      "Medical": true,
      "Tool": true
    }
  },
  "Loot Container Pickup Settings": {
    "loot-barrel-1": true,
    "loot-barrel-2": true,
    "trash-pile-1": true,
    "crate_basic": true,
    "crate_elite": true,
    "crate_mine": true,
    "crate_normal": true,
    "crate_normal_2": true,
    "crate_normal_2_food": true,
    "crate_normal_2_medical": true,
    "crate_tools": true,
    "crate_underwater_advanced": true,
    "crate_underwater_basic": true,
    "dm ammo": true,
    "dm c4": true,
    "dm construction resources": true,
    "dm construction tools": true,
    "dm food": true,
    "dm medical": true,
    "dm res": true,
    "dm tier1 lootbox": true,
    "dm tier2 lootbox": true,
    "dm tier3 lootbox": true,
    "foodbox": true,
    "loot_barrel_1": true,
    "loot_barrel_2": true,
    "loot_component_test": true,
    "loot_trash": true,
    "minecart": true,
    "oil_barrel": true,
    "codelockedhackablecrate": true,
    "supply_drop": true,
    "giftbox_loot": true,
    "presentdrop": true,
    "stocking_large_deployed": true,
    "stocking_small_deployed": true,
    "bradley_crate": true,
    "heli_crate": true,
    "visualshelvestest": true
  },
  "Collectible Entity Pickup Settings": {
    "corn-collectable": true,
    "hemp-collectable": true,
    "mushroom-cluster-5": true,
    "mushroom-cluster-6": true,
    "potato-collectable": true,
    "pumpkin-collectable": true,
    "halloween-bone-collectable": true,
    "halloween-metal-collectable": true,
    "halloween-stone-collectable": true,
    "halloween-sulfur-collectible": true,
    "halloween-wood-collectable": true,
    "metal-collectable": true,
    "stone-collectable": true,
    "sulfur-collectable": true,
    "wood-collectable": true,
    "diesel_collectable": true
  },
  "Plant Entity Pickup Settings": {
    "corn.entity": true,
    "hemp.entity": true,
    "potato.entity": true,
    "pumpkin.entity": true
  }
}

Hook​

C#:
private object OnAutoPickupEntity(BasePlayer player, BaseEntity entity)
作者
对味儿
下载
20
查看
320
文件类型
cs
文件大小
47.8 KB
文件Hash
e4c1b4588ae583d3d87b3dfc29eb43c6
首次发布
最后更新
评分
0.00 星 0评价

来自对味儿的更多资源

分享资源

标签