插件介绍
显示服务器信息并帮助运行常用命令
With this plugin you can easily (no, it's hard for a newbie) add a help, info menu to your server. You can setup everything you can see in GUI of this plugin.
Tabs is a list of tabs.
Technical Name is a techncial name for a tab. It's specified in the command if you want to open a tab.
Elements is a list of elements on the tab.
主要用途
主要用于gui、informational、管理工具、管理等服务端功能。 本插件由 misticos 发布,当前目录记录版本为 v1.0.3,uMod 累计下载 17,818 次。
适用场景
- 需要管理、审计或维护能力的服务器
- 希望改善玩家交互与日常体验的社区服务器
功能分类
查看 uMod 官方英文简介
Shows server info and help with the ability to run popular commands
权限节点
infomenu.recacheui - Permission for the recache command usage.
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
infomenu.recacheui - Start UI recache to update images and links.
menu (aka info or help) - Menu usage. Can be changed in configuration. Arguments: open <Tab> to open a specific tab and close to close UI.
相关依赖
- Image Library
- Placeholder API
配置说明
{ "Tabs": [ { "Technical Name": "tab1", "Permission": "infomenu.view", "Elements": [ { "Permission": "infomenu.view", "Commands": [ { "Command": "menu", "Arguments": [ "open", "tab1" ] } ], "UI": { "Background Color": { "Transparency": 1.0, "Color": "#aaaaaa", "Link": "", "Sprite": "Assets/Content/UI/UI.Background.Tile.psd", "Material": "Assets/Icons/IconMaterial.mat" }, "Background Position": { "Anchors": { "Anchor Min X": 0.0, "Anchor Min Y": 0.0, "Anchor Max X": 1.0, "Anchor Max Y": 1.0 }, "Offsets": { "Offset Min X": -50, "Offset Min Y": -50, "Offset Max X": 50, "Offset Max Y": 50 } }, "Text": "Text", "Text Anchor": "MiddleCenter", "Text Placeholder API": false } } ] } ], "Static Elements": [ { "Permission": "infomenu.view", "Commands": [ { "Command": "menu", "Arguments": [ "open", "tab1" ] } ], "UI": { "Background Color": { "Transparency": 1.0, "Color": "#aaaaaa", "Link": "", "Sprite": "Assets/Content/UI/UI.Background.Tile.psd", "Material": "Assets/Icons/IconMaterial.mat" }, "Background Position": { "Anchors": { "Anchor Min X": 0.0, "Anchor Min Y": 0.0, "Anchor Max X": 1.0, "Anchor Max Y": 1.0 }, "Offsets": { "Offset Min X": -50, "Offset Min Y": -50, "Offset Max X": 50, "Offset Max Y": 50 } }, "Text": "Text", "Text Anchor": "MiddleCenter", "Text Placeholder API": false } } ], "Default Tab": "tab1", "Commands": [ "menu", "info", "help" ], "Menu UI": { "Menu Position": { "Anchors": { "Anchor Min X": 0.5, "Anchor Min Y": 0.5, "Anchor Max X": 0.5, "Anchor Max Y": 0.5 }, "Offsets": { "Offset Min X": -400, "Offset Min Y": -300, "Offset Max X": 400, "Offset Max Y": 300 } }, "Menu Background Color": { "Transparency": 1.0, "Color": "#aaaaaa", "Link": "", "Sprite": "Assets/Content/UI/UI.Background.Tile.psd", "Material": "Assets/Icons/IconMaterial.mat" }, "Menu Color": { "Transparency": 1.0, "Color": "#aaaaaa", "Link": "", "Sprite": "Assets/Content/UI/UI.Background.Tile.psd", "Material": "Assets/Icons/IconMaterial.mat" }, "Menu Title Background Position": { "Anchors": { "Anchor Min X": 0.0, "Anchor Min Y": 0.0, "Anchor Max X": 1.0, "Anchor Max Y": 1.0 }, "Offsets": { "Offset Min X": -50, "Offset Min Y": -50, "Offset Max X": 50, "Offset Max Y": 50 } }, "Menu Title Background Color": { "Transparency": 1.0, "Color": "#aaaaaa", "Link": "", "Sprite": "Assets/Content/UI/UI.Background.Tile.psd", "Material": "Assets/Icons/IconMaterial.mat" }, "Menu Title Text": "<size=3em>Info Menu</size>", "Menu Title Text Anchor": "MiddleCenter", "Menu Title Placeholder API": false } }
Tabs is a list of tabs.
Technical Name is a techncial name for a tab. It's specified in the command if you want to open a tab.
Elements is a list of elements on the tab.
Commands is a list of commands to run when you press on this element.
Command is a console command to execute.
Arguments is a list of arguments. (Not limited to just strings)WARNING! Please, note that for using chat commands or text there should be only one argument.
Static Elements is a list of static elements that are visible on EVERY tab.
Default Tab is this plugin's default tab (if you don't specify one in the command).
Commands is a list of commands that can be used to open this plugin's menu.
Menu UI are settings for general menu UI.
Consider reading this guide: CLICK ME.
官方配置示例
{
"Tabs": [
{
"Technical Name": "tab1",
"Permission": "infomenu.view",
"Elements": [
{
"Permission": "infomenu.view",
"Commands": [
{
"Command": "menu",
"Arguments": [
"open",
"tab1"
]
}
],
"UI": {
"Background Color": {
"Transparency": 1.0,
"Color": "#aaaaaa",
"Link": "",
"Sprite": "Assets/Content/UI/UI.Background.Tile.psd",
"Material": "Assets/Icons/IconMaterial.mat"
},
"Background Position": {
"Anchors": {
"Anchor Min X": 0.0,
"Anchor Min Y": 0.0,
"Anchor Max X": 1.0,
"Anchor Max Y": 1.0
},
"Offsets": {
"Offset Min X": -50,
"Offset Min Y": -50,
"Offset Max X": 50,
"Offset Max Y": 50
}
},
"Text": "Text",
"Text Anchor": "MiddleCenter",
"Text Placeholder API": false
}
}
]
}
],
"Static Elements": [
{
"Permission": "infomenu.view",
"Commands": [
{
"Command": "menu",
"Arguments": [
"open",
"tab1"
]
}
],
"UI": {
"Background Color": {
"Transparency": 1.0,
"Color": "#aaaaaa",
"Link": "",
"Sprite": "Assets/Content/UI/UI.Background.Tile.psd",
"Material": "Assets/Icons/IconMaterial.mat"
},
"Background Position": {
"Anchors": {
"Anchor Min X": 0.0,
"Anchor Min Y": 0.0,
"Anchor Max X": 1.0,
"Anchor Max Y": 1.0
},
"Offsets": {
"Offset Min X": -50,
"Offset Min Y": -50,
"Offset Max X": 50,
"Offset Max Y": 50
}
},
"Text": "Text",
"Text Anchor": "MiddleCenter",
"Text Placeholder API": false
}
}
],
"Default Tab": "tab1",
"Commands": [
"menu",
"info",
"help"
],
"Menu UI": {
"Menu Position": {
"Anchors": {
"Anchor Min X": 0.5,
"Anchor Min Y": 0.5,
"Anchor Max X": 0.5,
"Anchor Max Y": 0.5
},
"Offsets": {
"Offset Min X": -400,
"Offset Min Y": -300,
"Offset Max X": 400,
"Offset Max Y": 300
}
},
"Menu Background Color": {
"Transparency": 1.0,
"Color": "#aaaaaa",
"Link": "",
"Sprite": "Assets/Content/UI/UI.Background.Tile.psd",
"Material": "Assets/Icons/IconMaterial.mat"
},
"Menu Color": {
"Transparency": 1.0,
"Color": "#aaaaaa",
"Link": "",
"Sprite": "Assets/Content/UI/UI.Background.Tile.psd",
"Material": "Assets/Icons/IconMaterial.mat"
},
"Menu Title Background Position": {
"Anchors": {
"Anchor Min X": 0.0,
"Anchor Min Y": 0.0,
"Anchor Max X": 1.0,
"Anchor Max Y": 1.0
},
"Offsets": {
"Offset Min X": -50,
"Offset Min Y": -50,
"Offset Max X": 50,
"Offset Max Y": 50
}
},
"Menu Title Background Color": {
"Transparency": 1.0,
"Color": "#aaaaaa",
"Link": "",
"Sprite": "Assets/Content/UI/UI.Background.Tile.psd",
"Material": "Assets/Icons/IconMaterial.mat"
},
"Menu Title Text": "<size=3em>Info Menu</size>",
"Menu Title Text Anchor": "MiddleCenter",
"Menu Title Placeholder API": false
}
}
{
"Invalid Syntax": "Invalid command syntax. Usage:\nopen <Tab> - Open a tab\nclose - Close UI",
"Only Players": "This command is available only for players.",
"No Tab": "Sorry, we couldn't find this tab. Report it to admins.",
"No Recache Permission": "You don't have enough permissions (infomenu.recacheui).",
"Recached": "All UI was successfully recached.",
"Initial Caching": "Please, wait. UI is caching. It can take up to 10 seconds and it will be opened automatically."
}
更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。