插件介绍
允许有权限的玩家提供物品或套件
Give limits item giving by only allowing players with the relevant permissions access to give items (by item ID or item name, when available) to themselves or other players.
WARNING: By default, this will override and replace any commands that share the same name. For Rust, this will cause all F1 item giving to require permissions in order to use it.
If the Kits plugin is installed, players can also give kits if they have the permission.
A supported Kits plugin must be installed and loaded for these commands to work.
主要用途
主要用于hurtworld、7 days to die、reign of kings、礼包等服务端功能。 本插件由 MrBlue 发布,当前目录记录版本为 v3.4.1,uMod 累计下载 43,139 次。
适用场景
- 带经济、商店、礼包或奖励系统的服务器
- 需要调整建造、物品、制作或采集体验的服务器
功能分类
查看 uMod 官方英文简介
Allows players with permission to give items or kits
权限节点
give.selfAllows giving items to self
give.allAllows giving items to all players
give.toAllows giving items to other players
give.armAllows giving items to player's belt (Reign of Kings and Rust only)
give.kitAllows giving kits to self
give.kitallAllows giving kits to players
give.kittoAllows giving kits to all players
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
give <item id or name> [amount] -- Give an item to yourself
giveall <item id or name> [amount] -- Give an item to all players currently connected
giveto <player name or id> <item id or name> [amount] -- Give an item to another player
givearm <item id or name> [amount] -- Give an item to your yourself in the belt (Reign of Kings and Rust only)
A supported Kits plugin must be installed and loaded for these commands to work.
givekit <kit name>Give an available kit to yourself
givekitto <player name or id> <kit name>Give an available kit to another player
Note: If no amount is given, only a single item (1) or kit will be given. If not player name or ID is specified, item or kit will be given to the player using the command.
相关依赖
- HW Kits
- RoK Kits
- Rust Kits
配置说明
{ "Item blacklist (name or item ID)": [ "rock", "torch" ], "Log usage to console": false, "Show chat notices": true, "Show popup notices": true }
官方配置示例
{
"Item blacklist (name or item ID)": [
"rock",
"torch"
],
"Log usage to console": false,
"Show chat notices": true,
"Show popup notices": true
}{
"CommandGive": "give",
"CommandGiveAll": "giveall",
"CommandGiveArm": "givearm",
"CommandGiveTo": "giveto",
"CommandGiveKit": "givekit",
"CommandGiveKitTo": "givekitto",
"CommandGiveKitAll": "givekitall",
"GiveKitAllFail": "Could not give kit '{0}' to {1} player(s)",
"GiveKitAllSuccess": "Gave kit '{0}' to {1} player(s)",
"GiveKitFail": "Could not give kit '{0}' to yourself",
"GiveKitSuccess": "Gave kit '{0}' to yourself",
"GiveKitToFail": "Could not give kit '{0}' to '{1}'",
"GiveKitToSuccess": "Gave kit '{0}' to '{1}'",
"GiveAllFail": "Could not give item {0} x {1} to {2} player(s)",
"GiveAllSuccess": "Gave item {0} x {1} to {2} player(s)",
"GiveFail": "Could not give item {0} x {1} to yourself",
"GiveSuccess": "Gave item {0} x {1} to yourself",
"GiveToFail": "Could not give item {0} x {1} to '{2}'",
"GiveToSuccess": "Gave item {0} x {1} to '{2}'",
"InvalidItem": "{0} is not a valid item or is blacklisted",
"InvalidKit": "{0} is not a valid kit",
"ItemNotFound": "Could not find any item by name or ID '{0}' to give",
"ItemReceived": "You've received {0} x {1}",
"KitsUnavailable": "Kits plugin is not installed or is not loaded",
"NotAllowed": "You are not allowed to use the '{0}' command",
"NoPlayersConnected": "There are no players connected to give items to",
"NoPlayersFound": "No players found with name or ID '{0}'",
"PlayersFound": "Multiple players were found, please specify: {0}",
"PlayersOnly": "Command '{0}' can only be used by a player",
"PlayerNotConnected": "Unable to give to player '{0} ({1})', not connected",
"UsageGive": "Usage: {0} <item id or name> [amount] [skin id]",
"UsageGiveAll": "Usage: {0} <item id or name> [amount] [skin id]",
"UsageGiveTo": "Usage: {0} <player id or name> <item id or name> [amount] [skin id]",
"UsageGiveArm": "Usage: {0} <item id or name> [amount] [skin id]",
"UsageGiveKit": "Usage: {0} <kit name>",
"UsageGiveKitTo": "Usage: {0} <player id or name> <kit name>",
"UsageGiveKitAll": "Usage: {0} <kit name>"
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。