插件介绍
用于管理图像的插件 API
Image Library is a tool that other plugins can utilise to store and manage imagery for use in UI. On its own it serves no real purpose.
refreshallimages - Retrieve's and stores all item icon URLs (include's workshop images). Will also download every icon to file storage if the config option "Images - Only download image's when required" is set to true
cancelstorage - This will cancel any pending file downloads
"Avatars - Store player avatars": Downloads player's avatars image's (some plugins may require this)"Progress - Show download progress in console": This option will show you progress of load orders in console"Progress - Time between update notifications": The amount of time between progress updates"User Images - Manually define images to be loaded": User specified images to be downloaded (some plugins may require this)"Steam API key (get one here https://steamcommunity.com/dev/apikey)": This is required to download skin images from the workshop
主要用途
主要用于API、images、storage等服务端功能。 本插件由 k1lly0u 发布,当前目录记录版本为 v2.0.65,uMod 累计下载 447,433 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Plugin API for managing images
指令说明
refreshallimages - Retrieve's and stores all item icon URLs (include's workshop images). Will also download every icon to file storage if the config option "Images - Only download image's when required" is set to true
cancelstorage - This will cancel any pending file downloads
相关依赖
- Absolut Gifts
- Absolut Mail
- Build Scanner
- Building Skins
- Computers Plus
- Craft UI
- Custom UI
- Diseases
- Fuel Gauge
- GUI Shop
- Gesture Wheel
- Godmode Indicator
- Info Menu
- Kill Records
- Lusty Map
- Magic Panel
- Map My Patrol
- Nuke Weapons
- Online Players
- Performance UI
- Phones Plus
- Play Time Rewards
- Quality Crafting
- Raid Limit
- Raid Protection
- Remover Tool
- Rust Kits
- Server Rewards
- Show Crosshair
- Simple Logo
配置说明
{ "Avatars - Store player avatars": true, "Steam API key (get one here https://steamcommunity.com/dev/apikey)": "", "Progress - Show download progress in console": true, "Progress - Time between update notifications": 20, "User Images - Manually define images to be loaded": {}, "Version": { "Major": 2, "Minor": 0, "Patch": 47 } }
"Avatars - Store player avatars": Downloads player's avatars image's (some plugins may require this)"Progress - Show download progress in console": This option will show you progress of load orders in console"Progress - Time between update notifications": The amount of time between progress updates"User Images - Manually define images to be loaded": User specified images to be downloaded (some plugins may require this)"Steam API key (get one here https://steamcommunity.com/dev/apikey)": This is required to download skin images from the workshop
官方配置示例
{
"Avatars - Store player avatars": true,
"Steam API key (get one here https://steamcommunity.com/dev/apikey)": "",
"Progress - Show download progress in console": true,
"Progress - Time between update notifications": 20,
"User Images - Manually define images to be loaded": {},
"Version": {
"Major": 2,
"Minor": 0,
"Patch": 47
}
}(bool) AddImage(string url, string imageName, ulong imageId, Action callback = null)
// Used to download an individual image using a URL (Does not create a load order)更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。