admin 发表于 2024-4-22 18:13:50

保险库 - 虚拟金库(VAULTORAMA - VIRTUAL VAULTS)V1.1


插件下载:



功能简介:
目标是允许玩家在虚拟保险库中存储任何东西。想法是将所有物品放入库存,然后输入/store myvault,所有东西都会存入名为‘myvault’的保险库中。要取回物品,玩家可以输入/take myvault。这可以用来将资源或不能放入方舟集群的物品转移到另一个地图。

命令:
/store vaultName - 将当前库存保存到保险库中,可以多次执行
/vaults - 显示你所有的保险库
/take vaultName - 加载vaultName,直到填满库存,可以多次执行
/pvp - 检查 pvp 冷却时间

⚠️ 注意我的警告!!!!! ⚠️
1.如果MySQL没有启用事件调度器,保险库将不会衰减。要启用事件,请在mysql上以root身份执行“SET GLOBAL event_scheduler = ON”。
2.保险库没有限制。

配置文件示例:

{
"Database": { //Mysql数据库配置
    "mysqlHost": "localhost",
    "mysqlUser": "",
    "mysqlPass": "",
    "mysqlDB": ""
},
"blocked": [ // Ark无法序列化的被屏蔽物品,只能添加物品到这里,不要移除
    "PrimalItemStructure_BeeHive",
    "PrimalItem_FishBasketFilled",
    "PrimalItem_TaxidermyDermis",
    "PrimalItemResource_MiniBossDrop"
],
"decay": 14400, // 衰减时间,以分钟计,MySQL需要启用事件计划才能使其工作
"radius": 1500, // 从发射器到允许使用金库的距离,300单位=1个基础
"PVPVECooldown": 60, // 玩家需要脱离战斗多少秒才能使用金库
"validTransmitter": [ // 玩家需要靠近哪种结构才能使用金库
    "Terminal",
    "Transmitter",
    "Mission",
    "Supply"
],
"nearTransmitterPoints": 0, // 使用金库在Arkshop的积分成本
"commandCoolDown": 5, // 防止滥用的命令冷却时间
"commands": {
    "saveVault": {
      "command": "/store", // 添加物品到金库
      "requiredPermission": "", // 只有拥有此权限的玩家才能使用金库
      "requireNearTransmitter": true // 需要靠近发射器或方尖碑
    },
    "loadVault": {
      "command": "/take", // 从金库取出物品
      "requiredPermission": "", // 只有拥有此权限的玩家才能使用金库
      "requireNearTransmitter": false // 不需要靠近发射器或方尖碑
    },
    "checkcd": {
      "command": "/pvp"
    },
    "listVault": {
      "command": "/vaults"
    }
},
   "messages": {
       "sender": "",
       "coolDown": "请在{}秒后再试。",
       "wrongSyntax": "无效命令。请使用{} vaultName",
       "vaultNotFound": "未找到保险箱",
       "maximumReached": "已从保险箱中移除{}个物品。保险箱中可能还有更多物品",
       "inventoryFull": "物品栏已满",
       "noPermission": "无使用命令的权限",
       "mustBeNearTransmitter": "你必须靠近方尖碑/终端才能访问其保险箱",
       "noPoints": "点数不足",
       "points": "花费{}使用你的保险箱",
       "vaultList": "名称:{},物品数量:{},到期时间:{}\n",
       "noVault": "你没有任何保险箱",
       "PVPVECooldown": "战斗中不能使用保险箱。请等待{}秒"
    }
},

"resources": [ // 无耐久度的物品应该放在这里以提高性能
    "PrimalItemConsumable_BloodPack",
    "PrimalItemConsumable_Fertilizer_Compost",
    "PrimalItemConsumable_Mutagel",
    "PrimalItemConsumable_Mutagen",
    "PrimalItemConsumable_Narcotic",
    "PrimalItemConsumable_Stimulant",
    "PrimalItemConsumableMiracleGro",
    "PrimalItemResource_Ambergris",
    "PrimalItemResource_AmmoniteBlood",
    "PrimalItemResource_AnglerGel",
    "PrimalItemResource_ARKBone",
    "PrimalItemResource_BlackPearl",
    "PrimalItemResource_BlueSap",
    "PrimalItemResource_Charcoal",
    "PrimalItemResource_Chitin",
    "PrimalItemResource_ChitinOrKeratin",
    "PrimalItemResource_ChitinPaste",
    "PrimalItemResource_Clay",
    "PrimalItemResource_CondensedGas",
    "PrimalItemResource_CorruptedPolymer",
    "PrimalItemResource_CorruptedWood",
    "PrimalItemResource_Crystal",
    "PrimalItemResource_Crystal_IslesPrimal",
    "PrimalItemResource_Electronics",
    "PrimalItemResource_Element",
    "PrimalItemResource_ElementDust",
    "PrimalItemResource_ElementDustFromShards",
    "PrimalItemResource_ElementOre",
    "PrimalItemResource_ElementRefined",
    "PrimalItemResource_ElementShard",
    "PrimalItemResource_Fibers",
    "PrimalItemResource_Flint",
    "PrimalItemResource_FracturedGem",
    "PrimalItemResource_FungalWood",
    "PrimalItemResource_Gas",
    "PrimalItemResource_Gasoline",
    "PrimalItemResource_Gem_BioLum",
    "PrimalItemResource_Gem_Element",
    "PrimalItemResource_Gem_Fertile",
    "PrimalItemResource_GoldenNugget",
    "PrimalItemResource_Gunpowder",
    "PrimalItemResource_Hair",
    "PrimalItemResource_Hide",
    "PrimalItemResource_HighQualityPollen",
    "PrimalItemResource_Horn",
    "PrimalItemResource_Keratin",
    "PrimalItemResource_KeratinSpike",
    "PrimalItemResource_LeechBlood",
    "PrimalItemResource_Metal",
    "PrimalItemResource_MetalIngot",
    "PrimalItemResource_Obsidian",
    "PrimalItemResource_Oil",
    "PrimalItemResource_Pelt",
    "PrimalItemResource_PeltOrHair",
    "PrimalItemResource_Polymer",
    "PrimalItemResource_Polymer_Organic",
    "PrimalItemResource_PreservingSalt",
    "PrimalItemResource_Propellant",
    "PrimalItemResource_RareFlower",
    "PrimalItemResource_RareMushroom",
    "PrimalItemResource_RawSalt",
    "PrimalItemResource_RedSap",
    "PrimalItemResource_Sand",
    "PrimalItemResource_Sap",
    "PrimalItemResource_ScrapMetal",
    "PrimalItemResource_ScrapMetalIngot",
    "PrimalItemResource_ShardRefined",
    "PrimalItemResource_Silicate",
    "PrimalItemResource_Silicon",
    "PrimalItemResource_Silk",
    "PrimalItemResource_SnailPaste",
    "PrimalItemResource_Sparkpowder",
    "PrimalItemResource_SquidOil",
    "PrimalItemResource_Stone",
    "PrimalItemResource_SubstrateAbsorbent",
    "PrimalItemResource_Sulfur",
    "PrimalItemResource_Thatch",
    "PrimalItemResource_TurtleShell",
    "PrimalItemResource_Wood",
    "PrimalItemResource_Wool",
    "PrimalItemResourceGeneric_Curing",
    "PrimalItemArtifact_12",
    "PrimalItemArtifact_05",
    "PrimalItemArtifact_11",
    "PrimalItemArtifact_04",
    "PrimalItemArtifact_07",
    "PrimalItemArtifact_01",
    "PrimalItemArtifact_08",
    "PrimalItemArtifactAB_4",
    "PrimalItemArtifact_03",
    "PrimalItemArtifact_02",
    "PrimalItemArtifact_06",
    "PrimalItemArtifact_09",
    "PrimalItemArtifactSE_01",
    "PrimalItemArtifactSE_02",
    "PrimalItemArtifactSE_03",
    "PrimalItemArtifactAB",
    "PrimalItemArtifactAB_2",
    "PrimalItemArtifactAB_3",
    "PrimalItemArtifact_Extinction_DesertKaiju",
    "PrimalItemArtifact_Extinction_ForestKaiju",
    "PrimalItemArtifact_Extinction_IceKaiju",
    "PrimalItemResource_ApexDrop_Allo",
    "PrimalItemResource_ApexDrop_Basilisk_Alpha",
    "PrimalItemResource_ApexDrop_AlphaCarno",
    "PrimalItemResource_ApexDrop_AlphaCrystalWyvern",
    "PrimalItemResource_ApexDrop_CrabClaw",
    "PrimalItemResource_ApexDrop_AlphaLeeds",
    "PrimalItemResource_ApexDrop_AlphaMegalodon",
    "PrimalItemResource_ApexDrop_AlphaMosasaur",
    "PrimalItemResource_ApexDrop_AlphaRaptor",
    "PrimalItemResource_ApexDrop_ReaperBarb",
    "PrimalItemResource_ApexDrop_AlphaTuso",
    "PrimalItemResource_ApexDrop_AlphaRex",
    "PrimalItemSkin_TrikeSkullHelmet_Retrieve",
    "PrimalItemResource_ApexDrop_Argentavis",
    "PrimalItemResource_ApexDrop_Basilisk",
    "PrimalItemResource_ApexDrop_Basilo",
    "PrimalItemResource_RareDrop_CorruptHeart",
    "PrimalItemResource_ApexDrop_CrystalWyvern",
    "PrimalItemResource_ApexDrop_FireWyvern",
    "PrimalItemResource_ApexDrop_GasBag",
    "PrimalItemResource_ApexDrop_Giga",
    "PrimalItemResource_RetrieveMegTooth",
    "PrimalItemResource_ApexDrop_LightningWyvern",
    "PrimalItemResource_ApexDrop_Megalania",
    "PrimalItemResource_ApexDrop_Megalodon",
    "PrimalItemResource_ApexDrop_PoisonWyvern",
    "PrimalItemResource_RetrieveReaperGland",
    "PrimalItemResource_XenomorphPheromoneGland",
    "PrimalItemResource_ApexDrop_RockDrake",
    "PrimalItemResource_ApexDrop_Sarco",
    "PrimalItemResource_ApexDrop_Sauro",
    "PrimalItemResource_ApexDrop_Spino",
    "PrimalItemResource_ApexDrop_Theriz",
    "PrimalItemResource_ApexDrop_Thylaco",
    "PrimalItemResource_ApexDrop_Boa",
    "PrimalItemResource_ApexDrop_Tuso",
    "PrimalItemResource_ApexDrop_Rex",
    "PrimalItemResource_ApexDrop_Yuty"
]
}


页: [1]
查看完整版本: 保险库 - 虚拟金库(VAULTORAMA - VIRTUAL VAULTS)V1.1