免费插件

Imgur API

图像API

用于将图像上传到 imgur.com 的插件 API

7 days to dieimgurimageuploadAPI

原作者:MJSU · 查看 uMod 官方页面 ↗

插件介绍

用于将图像上传到 imgur.com 的插件 API

Contains a list of images to be upload to imgur List<Hash<string, object>>

The hash has the following keysImage - byte[] of the image to be uploadedTitle - Title of the image (Optional)Description - Description of the image (Optional)

Returns the response from the API Call as a Hash<string, object>

The hash has the following keysStatus - HTTP Response code (int)Success - Was the API call successful (bool)Data - Data returned from the API call (Hash<string, object>)Errors - List of all errors returned from the API (List<Hash<string, object>>)

主要用途

主要用于7 days to die、imgur、image、upload等服务端功能。 本插件由 MJSU 发布,当前目录记录版本为 v1.0.2,uMod 累计下载 10,984 次。

适用场景

  • 希望扩展原版服务器功能的服主

功能分类

7 days to dieimgurimageuploadAPI
查看 uMod 官方英文简介

Plugin API for uploading images to imgur.com

相关依赖

  • Rust Map API

配置说明

{ "Imgur Client ID": "https://api.imgur.com/oauth2/addclient" }

Create an account on Imgur

Register your applicationA. Application Name: Pick any name you wantB. Click the radio fields in this orderC. Authorization Callback URL: ignore this fieldD. Application website: Ignore this fieldE. Email: enter your emailF. Description enter any description

Copy the Client Id to the client Id in the config.

官方配置示例

{
  "Imgur Client ID": "https://api.imgur.com/oauth2/addclient"
}
private void UploadImage(byte[] image, Action<Hash<string, object>> callback, string title = null, string description = null)

更新日志

最新版本: v1.0.2
最后版本发布: 2020-08-04
最后更新(条目): 2026-08-27

本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面

安装方法

  1. 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
  2. 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
  3. 将 .cs 文件放入服务器的 oxide/plugins 目录。
  4. 观察服务端控制台,确认插件编译并成功加载。
  5. 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。

使用前注意

  • Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
  • 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
  • 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
  • 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
来源说明

中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。