插件介绍
在盒子上部署一个框架,允许玩家设置图像
Allows players to place a photo frame on a box. After locking the photo frame the place can access the attached box through the frame. Sign position are configurable.
Added to large storage boxes
Added to small storage boxes
Added to both large and small storage boxes using the all position
主要用途
主要用于frame、box等服务端功能。 本插件由 MJSU 发布,当前目录记录版本为 v1.0.3,uMod 累计下载 8,520 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Deploys a frame on a box allowing the player to set the image
权限节点
framebox.use - allows players to use the /fb chat command
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
/fb add to see the available positions to palace a sign
/fb add right to place a sign on the right
/fb add frontleft to place a sign on the front left
/fb add all to place a sign in all positions specified in the config
/fb remove to remove a sign you're looking at
/fb remove all to remove all signs on the box
/fb cost to get the cost of the sign
/fb unlock to unlock the sign to allow edits again
/fb unlock all to unlock all signs on the box
/fb to see this help text again
配置说明
{ "Chat Command": "fb", "Refund on remove": true, "Refund % (0 none - 1 max)": 1.0, "Max distance (Meters)": 5.0, "Cost": { "wood": 150 }, "Sign Positions": { "box.wooden.large": { "Frame Item Shortname": "photoframe.portrait", "Frame Positions": { "Left": { "Frame Position Offset": "0.95 0.4 0", "Frame Position Rotation": "0 90 90", "Include Position In All Option": true }, "Right": { "Frame Position Offset": "-0.95 0.4 0", "Frame Position Rotation": "0 270 90", "Include Position In All Option": true }, "Front": { "Frame Position Offset": "0 0.4 0.55", "Frame Position Rotation": "0 0 90", "Include Position In All Option": false }, "FrontRight": { "Frame Position Offset": "-0.45 0.4 0.55", "Frame Position Rotation": "0 0 90", "Include Position In All Option": true }, "FrontLeft": { "Frame Position Offset": "0.45 0.4 0.55", "Frame Position Rotation": "0 0 90", "Include Position In All Option": true }, "Back": { "Frame Position Offset": "0 0.4 -0.55", "Frame Position Rotation": "0 180 90", "Include Position In All Option": false }, "BackRight": { "Frame Position Offset": "-0.45 0.4 -0.55", "Frame Position Rotation": "0 180 90", "Include Position In All Option": true }, "BackLeft": { "Frame Position Offset": "0.45 0.4 -0.55", "Frame Position Rotation": "0 180 90", "Include Position In All Option": true }, "Top": { "Frame Position Offset": "0 0.775 0", "Frame Position Rotation": "270 0 90", "Include Position In All Option": false }, "TopRight": { "Frame Position Offset": "-0.45 0.775 0", "Frame Position Rotation": "270 0 90", "Include Position In All Option": true }, "TopLeft": { "Frame Position Offset": "0.45 0.775 0", "Frame Position Rotation": "270 0 90", "Include Position In All Option": true } } }, "box.wooden": { "Frame Item Shortname": "photoframe.portrait", "Frame Positions": { "Left": { "Frame Position Offset": "0.49 0.35 0", "Frame Position Rotation": "0 90 90", "Include Position In All Option": true }, "Right": { "Frame Position Offset": "-0.49 0.35 0", "Frame Position Rotation": "0 270 90", "Include Position In All Option": true }, "Front": { "Frame Position Offset": "0 0.35 0.39", "Frame Position Rotation": "0 0 90", "Include Position In All Option": true }, "Back": { "Frame Position Offset": "0 0.35 -0.39", "Frame Position Rotation": "0 180 90", "Include Position In All Option": true }, "Top": { "Frame Position Offset": "0 0.6 0", "Frame Position Rotation": "270 0 90", "Include Position In All Option": true } } } } }
官方配置示例
{
"Chat Command": "fb",
"Refund on remove": true,
"Refund % (0 none - 1 max)": 1.0,
"Max distance (Meters)": 5.0,
"Cost": {
"wood": 150
},
"Sign Positions": {
"box.wooden.large": {
"Frame Item Shortname": "photoframe.portrait",
"Frame Positions": {
"Left": {
"Frame Position Offset": "0.95 0.4 0",
"Frame Position Rotation": "0 90 90",
"Include Position In All Option": true
},
"Right": {
"Frame Position Offset": "-0.95 0.4 0",
"Frame Position Rotation": "0 270 90",
"Include Position In All Option": true
},
"Front": {
"Frame Position Offset": "0 0.4 0.55",
"Frame Position Rotation": "0 0 90",
"Include Position In All Option": false
},
"FrontRight": {
"Frame Position Offset": "-0.45 0.4 0.55",
"Frame Position Rotation": "0 0 90",
"Include Position In All Option": true
},
"FrontLeft": {
"Frame Position Offset": "0.45 0.4 0.55",
"Frame Position Rotation": "0 0 90",
"Include Position In All Option": true
},
"Back": {
"Frame Position Offset": "0 0.4 -0.55",
"Frame Position Rotation": "0 180 90",
"Include Position In All Option": false
},
"BackRight": {
"Frame Position Offset": "-0.45 0.4 -0.55",
"Frame Position Rotation": "0 180 90",
"Include Position In All Option": true
},
"BackLeft": {
"Frame Position Offset": "0.45 0.4 -0.55",
"Frame Position Rotation": "0 180 90",
"Include Position In All Option": true
},
"Top": {
"Frame Position Offset": "0 0.775 0",
"Frame Position Rotation": "270 0 90",
"Include Position In All Option": false
},
"TopRight": {
"Frame Position Offset": "-0.45 0.775 0",
"Frame Position Rotation": "270 0 90",
"Include Position In All Option": true
},
"TopLeft": {
"Frame Position Offset": "0.45 0.775 0",
"Frame Position Rotation": "270 0 90",
"Include Position In All Option": true
}
}
},
"box.wooden": {
"Frame Item Shortname": "photoframe.portrait",
"Frame Positions": {
"Left": {
"Frame Position Offset": "0.49 0.35 0",
"Frame Position Rotation": "0 90 90",
"Include Position In All Option": true
},
"Right": {
"Frame Position Offset": "-0.49 0.35 0",
"Frame Position Rotation": "0 270 90",
"Include Position In All Option": true
},
"Front": {
"Frame Position Offset": "0 0.35 0.39",
"Frame Position Rotation": "0 0 90",
"Include Position In All Option": true
},
"Back": {
"Frame Position Offset": "0 0.35 -0.39",
"Frame Position Rotation": "0 180 90",
"Include Position In All Option": true
},
"Top": {
"Frame Position Offset": "0 0.6 0",
"Frame Position Rotation": "270 0 90",
"Include Position In All Option": true
}
}
}
}
}{
{
"Chat": "<color=#bebebe>[<color=#de8732>Frame Box</color>] {0}</color>",
"NoPermission": "You do not have permission to use this command",
"MissingItem": "{0}: {1}x",
"MissingMessage": "You do not have enough items to add a frame to this box. You're missing:\n{0}",
"Cost": "{0}: {1}x",
"NotLookingAt": "You're not looking at a box or frame",
"AddSlotIsTaken": "The frame position {0} is already taken. Open positions are:\n{1}",
"AddSuccess": "You have successfully added a frame onto your box in position {0}. In order to access the box using the frame you need to first lock the frame.The only way to unlock the frame is using the /fb unlock command",
"RemoveSuccess": "You have successfully removed the frame from position {0}",
"UnlockBuildingBlocked": "Cannot unlock in a building blocked zone",
"UnlockSuccess": "You have successfully unlocked the sign.",
"NotLookingAtFrame": "You're not looking at a frame.",
"NotLookingAtFrameBoxFrame": "You're not looking at a frame box frame",
"NotLookingAtFrameBox": "You're not looking at a frame box or frame box frame",
"NoFrameInPosition": "There is no frame in position {0}",
"CostPre_V1": "Cost to make:\n",
"AddInvalidSyntax_V1": "Invalid Syntax: <color=#de8732>/{0} {2} front</color> - to add the frame to the front of the box\nAvailable frame positions for this container are {1}",
"InvalidAddFramePosition_V1": "Invalid Frame Position. Available frame positions are:\n {0}",
"ContainerNotAllowed_V1": "This container is not allowed to have a frame on it.",
"NoUnlockPermission": "You do not have permission to unlock this sign.",
"AddSubCommand": "add",
"RemoveSubCommand": "remove",
"CostSubCommand": "cost",
"UnlockSubCommand": "unlock",
"AllSubOption": "all",
"HelpText_V1": "Allows placing photo frames on boxes. After settings the sign and locking it you can now access the box while looking at the sign.\n<color=#de8732>/{0} {1}</color> to see the available positions to palace a sign\n<color=#de8732>/{0} {1} right</color> to place a sign on the right\n<color=#de8732>/{0} {1} frontleft</color> to place a sign on the front left\n<color=#de8732>/{0} {2}</color> to remove a sign you're looking at\n<color=#de8732>/{0} {3}</color> to get the cost of the sign\n<color=#de8732>/{0} {4}</color> to unlock the sign to allow edits again\n<color=#de8732>/{0}</color> to see this help text again\n"
}
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。