插件介绍
允许消除大多数玩家操作的资源成本,例如制作和建造
Players may be granted virtual resources such as wood, stones, etc. When a player has a virtual resource, they can perform most actions that require the resource, without having that resource in their inventory. Even if the required resource is in their inventory, it won't be consumed, unless the amount you granted is insufficient for the action.
For example, let's say you grant a player 100 virtual wood. That player will be able to craft a Wood Storage Box as many times as they want, without any cost, because it requires only 100 wood to craft and because virtual items are never depleted. However, if the player wants to craft a Tool Cupboard which requires 1000 wood, they will need at least 900 wood in their inventory, and 900 will be consumed.
Note: It's not possible to configure which resources can be used for which actions, because the plugin hooks into functions that are shared by many different game actions, so the plugin cannot determine which action prompted the item request.
Extreme caution is advised when installing and configuring this plugin for servers where economy matters. There are multiple ways players can extract virtual items, which may disrupt the economic balance on your server.
主要用途
主要用于item、制作、建筑、free等服务端功能。 本插件由 WhiteThunder 发布,当前目录记录版本为 v0.5.1,uMod 累计下载 14,239 次。
适用场景
- 需要调整建造、物品、制作或采集体验的服务器
- 希望改善玩家交互与日常体验的社区服务器
功能分类
查看 uMod 官方英文简介
Allows removing resource costs for most player actions, such as crafting and building
相关依赖
- Item Retriever
配置说明
Default configuration:
{ "Rulesets": [ { "Name": "build", "All deployables are free": false, "Free deployables": [], "Items": { "metal.fragments": 100000, "metal.refined": 100000, "stones": 100000, "wood": 100000 } }, { "Name": "unlimited_ammo", "All deployables are free": false, "Free deployables": [], "Items": { "ammo.grenadelauncher.buckshot": 100000, "ammo.grenadelauncher.he": 100000, "ammo.grenadelauncher.smoke": 100000, "ammo.handmade.shell": 100000, "ammo.nailgun.nails": 100000, "ammo.pistol": 100000, "ammo.pistol.fire": 100000, "ammo.pistol.hv": 100000, "ammo.rifle": 100000, "ammo.rifle.explosive": 100000, "ammo.rifle.hv": 100000, "ammo.rifle.incendiary": 100000, "ammo.rocket.basic": 100000, "ammo.rocket.fire": 100000, "ammo.rocket.hv": 100000, "ammo.rocket.smoke": 100000, "ammo.shotgun": 100000, "ammo.shotgun.fire": 100000, "ammo.shotgun.slug": 100000, "arrow.bone": 100000, "arrow.fire": 100000, "arrow.hv": 100000, "arrow.wooden": 100000, "snowball": 100000, "speargun.spear": 100000 } }, { "Name": "craft_most_items", "All deployables are free": false, "Free deployables": [], "Items": { "bone.fragments": 100000, "can.tuna.empty": 100000, "cloth": 100000, "electric.rf.broadcaster": 100000, "electric.rf.receiver": 100000, "fat.animal": 100000, "gears": 100000, "ladder.wooden.wall": 100000, "leather": 100000, "lowgradefuel": 100000, "metal.fragments": 100000, "metal.refined": 100000, "metalblade": 100000, "metalpipe": 100000, "metalspring": 100000, "propanetank": 100000, "pumpkin": 100000, "riflebody": 100000, "roadsigns": 100000, "rope": 100000, "semibody": 100000, "sewingkit": 100000, "sheetmetal": 100000, "skull.human": 100000, "skull.wolf": 100000, "smgbody": 100000, "spear.wooden": 100000, "stash.small": 100000, "stones": 100000, "syringe.medical": 100000, "targeting.computer": 100000, "tarp": 100000, "wood": 100000 } }, { "Name": "craft_all_items", "All deployables are free": false, "Free deployables": [], "Items": { "bone.fragments": 100000, "can.tuna.empty": 100000, "cctv.camera": 100000, "charcoal": 100000, "cloth": 100000, "electric.rf.broadcaster": 100000, "electric.rf.receiver": 100000, "explosives": 100000, "fat.animal": 100000, "gears": 100000, "grenade.beancan": 100000, "gunpowder": 100000, "ladder.wooden.wall": 100000, "leather": 100000, "lowgradefuel": 100000, "metal.fragments": 100000, "metal.refined": 100000, "metalblade": 100000, "metalpipe": 100000, "metalspring": 100000, "propanetank": 100000, "pumpkin": 100000, "riflebody": 100000, "roadsigns": 100000, "rope": 100000, "scrap": 100000, "semibody": 100000, "sewingkit": 100000, "sheetmetal": 100000, "skull.human": 100000, "skull.wolf": 100000, "smgbody": 100000, "spear.wooden": 100000, "stash.small": 100000, "stones": 100000, "sulfur": 100000, "syringe.medical": 100000, "targeting.computer": 100000, "tarp": 100000, "techparts": 100000, "wood": 100000 } }, { "Name": "craft_all_items_unlimited_ammo", "All deployables are free": false, "Free deployables": [], "Items": { "ammo.grenadelauncher.buckshot": 100000, "ammo.grenadelauncher.he": 100000, "ammo.grenadelauncher.smoke": 100000, "ammo.handmade.shell": 100000, "ammo.nailgun.nails": 100000, "ammo.pistol": 100000, "ammo.pistol.fire": 100000, "ammo.pistol.hv": 100000, "ammo.rifle": 100000, "ammo.rifle.explosive": 100000, "ammo.rifle.hv": 100000, "ammo.rifle.incendiary": 100000, "ammo.rocket.basic": 100000, "ammo.rocket.fire": 100000, "ammo.rocket.hv": 100000, "ammo.shotgun": 100000, "ammo.shotgun.fire": 100000, "ammo.shotgun.slug": 100000, "arrow.bone": 100000, "arrow.fire": 100000, "arrow.hv": 100000, "arrow.wooden": 100000, "bone.fragments": 100000, "can.tuna.empty": 100000, "cctv.camera": 100000, "charcoal": 100000, "cloth": 100000, "electric.rf.broadcaster": 100000, "electric.rf.receiver": 100000, "explosives": 100000, "fat.animal": 100000, "gears": 100000, "grenade.beancan": 100000, "gunpowder": 100000, "ladder.wooden.wall": 100000, "leather": 100000, "lowgradefuel": 100000, "metal.fragments": 100000, "metal.refined": 100000, "metalblade": 100000, "metalpipe": 100000, "metalspring": 100000, "propanetank": 100000, "pumpkin": 100000, "riflebody": 100000, "roadsigns": 100000, "rope": 100000, "scrap": 100000, "semibody": 100000, "sewingkit": 100000, "sheetmetal": 100000, "skull.human": 100000, "skull.wolf": 100000, "smgbody": 100000, "snowball": 100000, "spear.wooden": 100000, "speargun.spear": 100000, "stash.small": 100000, "stones": 100000, "sulfur": 100000, "syringe.medical": 100000, "targeting.computer": 100000, "tarp": 100000, "techparts": 100000, "wood": 100000 } } ] }
RulesetsEach ruleset determines how many of each ingredient players can have for free, as well as whether any items are free to deploy. Each ruleset defined here generates a permission of the format virtualitems.ruleset.<name>. Granting a ruleset to a player determines which items/ingredients they will have for free. Granting multiple rulesets to a player will cause only the last to apply (based on the order in the config).Name -- Name of the ruleset. This determines the generated permission: virtualitems.ruleset.<name>.All deployables are free (true or false) -- While true, deploying any item won't consume the item, allowing the player to repeatedly deploy it as many times as they want, without having to craft more. If you don't want all deployables to be free, you can instead specify the item short names under Free deployables.Free deployables -- If you want to allow only select items to be deployed for free, as an alternative to All deployables are free, specify the item short names here.Items -- This section determines the amount of each item/ingredient (item short name) that players with this ruleset will have.
NameName of the ruleset. This determines the generated permission: virtualitems.ruleset.<name>.
All deployables are free (true or false) -- While true, deploying any item won't consume the item, allowing the player to repeatedly deploy it as many times as they want, without having to craft more. If you don't want all deployables to be free, you can instead specify the item short names under Free deployables.
Free deployablesIf you want to allow only select items to be deployed for free, as an alternative to All deployables are free, specify the item short names here.
ItemsThis section determines the amount of each item/ingredient (item short name) that players with this ruleset will have.
官方配置示例
{
"Rulesets": [
{
"Name": "build",
"All deployables are free": false,
"Free deployables": [],
"Items": {
"metal.fragments": 100000,
"metal.refined": 100000,
"stones": 100000,
"wood": 100000
}
},
{
"Name": "unlimited_ammo",
"All deployables are free": false,
"Free deployables": [],
"Items": {
"ammo.grenadelauncher.buckshot": 100000,
"ammo.grenadelauncher.he": 100000,
"ammo.grenadelauncher.smoke": 100000,
"ammo.handmade.shell": 100000,
"ammo.nailgun.nails": 100000,
"ammo.pistol": 100000,
"ammo.pistol.fire": 100000,
"ammo.pistol.hv": 100000,
"ammo.rifle": 100000,
"ammo.rifle.explosive": 100000,
"ammo.rifle.hv": 100000,
"ammo.rifle.incendiary": 100000,
"ammo.rocket.basic": 100000,
"ammo.rocket.fire": 100000,
"ammo.rocket.hv": 100000,
"ammo.rocket.smoke": 100000,
"ammo.shotgun": 100000,
"ammo.shotgun.fire": 100000,
"ammo.shotgun.slug": 100000,
"arrow.bone": 100000,
"arrow.fire": 100000,
"arrow.hv": 100000,
"arrow.wooden": 100000,
"snowball": 100000,
"speargun.spear": 100000
}
},
{
"Name": "craft_most_items",
"All deployables are free": false,
"Free deployables": [],
"Items": {
"bone.fragments": 100000,
"can.tuna.empty": 100000,
"cloth": 100000,
"electric.rf.broadcaster": 100000,
"electric.rf.receiver": 100000,
"fat.animal": 100000,
"gears": 100000,
"ladder.wooden.wall": 100000,
"leather": 100000,
"lowgradefuel": 100000,
"metal.fragments": 100000,
"metal.refined": 100000,
"metalblade": 100000,
"metalpipe": 100000,
"metalspring": 100000,
"propanetank": 100000,
"pumpkin": 100000,
"riflebody": 100000,
"roadsigns": 100000,
"rope": 100000,
"semibody": 100000,
"sewingkit": 100000,
"sheetmetal": 100000,
"skull.human": 100000,
"skull.wolf": 100000,
"smgbody": 100000,
"spear.wooden": 100000,
"stash.small": 100000,
"stones": 100000,
"syringe.medical": 100000,
"targeting.computer": 100000,
"tarp": 100000,
"wood": 100000
}
},
{
"Name": "craft_all_items",
"All deployables are free": false,
"Free deployables": [],
"Items": {
"bone.fragments": 100000,
"can.tuna.empty": 100000,
"cctv.camera": 100000,
"charcoal": 100000,
"cloth": 100000,
"electric.rf.broadcaster": 100000,
"electric.rf.receiver": 100000,
"explosives": 100000,
"fat.animal": 100000,
"gears": 100000,
"grenade.beancan": 100000,
"gunpowder": 100000,
"ladder.wooden.wall": 100000,
"leather": 100000,
"lowgradefuel": 100000,
"metal.fragments": 100000,
"metal.refined": 100000,
"metalblade": 100000,
"metalpipe": 100000,
"metalspring": 100000,
"propanetank": 100000,
"pumpkin": 100000,
"riflebody": 100000,
"roadsigns": 100000,
"rope": 100000,
"scrap": 100000,
"semibody": 100000,
"sewingkit": 100000,
"sheetmetal": 100000,
"skull.human": 100000,
"skull.wolf": 100000,
"smgbody": 100000,
"spear.wooden": 100000,
"stash.small": 100000,
"stones": 100000,
"sulfur": 100000,
"syringe.medical": 100000,
"targeting.computer": 100000,
"tarp": 100000,
"techparts": 100000,
"wood": 100000
}
},
{
"Name": "craft_all_items_unlimited_ammo",
"All deployables are free": false,
"Free deployables": [],
"Items": {
"ammo.grenadelauncher.buckshot": 100000,
"ammo.grenadelauncher.he": 100000,
"ammo.grenadelauncher.smoke": 100000,
"ammo.handmade.shell": 100000,
"ammo.nailgun.nails": 100000,
"ammo.pistol": 100000,
"ammo.pistol.fire": 100000,
"ammo.pistol.hv": 100000,
"ammo.rifle": 100000,
"ammo.rifle.explosive": 100000,
"ammo.rifle.hv": 100000,
"ammo.rifle.incendiary": 100000,
"ammo.rocket.basic": 100000,
"ammo.rocket.fire": 100000,
"ammo.rocket.hv": 100000,
"ammo.shotgun": 100000,
"ammo.shotgun.fire": 100000,
"ammo.shotgun.slug": 100000,
"arrow.bone": 100000,
"arrow.fire": 100000,
"arrow.hv": 100000,
"arrow.wooden": 100000,
"bone.fragments": 100000,
"can.tuna.empty": 100000,
"cctv.camera": 100000,
"charcoal": 100000,
"cloth": 100000,
"electric.rf.broadcaster": 100000,
"electric.rf.receiver": 100000,
"explosives": 100000,
"fat.animal": 100000,
"gears": 100000,
"grenade.beancan": 100000,
"gunpowder": 100000,
"ladder.wooden.wall": 100000,
"leather": 100000,
"lowgradefuel": 100000,
"metal.fragments": 100000,
"metal.refined": 100000,
"metalblade": 100000,
"metalpipe": 100000,
"metalspring": 100000,
"propanetank": 100000,
"pumpkin": 100000,
"riflebody": 100000,
"roadsigns": 100000,
"rope": 100000,
"scrap": 100000,
"semibody": 100000,
"sewingkit": 100000,
"sheetmetal": 100000,
"skull.human": 100000,
"skull.wolf": 100000,
"smgbody": 100000,
"snowball": 100000,
"spear.wooden": 100000,
"speargun.spear": 100000,
"stash.small": 100000,
"stones": 100000,
"sulfur": 100000,
"syringe.medical": 100000,
"targeting.computer": 100000,
"tarp": 100000,
"techparts": 100000,
"wood": 100000
}
}
]
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。