【Lv:1】
- 注册
- 2025/01/31
- 消息
- 11
- 金粒
- 2,330金粒
1503Dev 提交新资源:
LeviHTTPApi - 创建 HTTP 接口获取服务器信息和管理服务器 - 为服务器提供简易的 HTTP 接口来拓展服务器管理但是
阅读关于此资源更多信息...
LeviHTTPApi - 创建 HTTP 接口获取服务器信息和管理服务器 - 为服务器提供简易的 HTTP 接口来拓展服务器管理但是
[MD]
# 安装
LL3 先安装 LSE
下载 `LeviHTTPApi_xxx.zip`
LL3 把 zip 解压到 `plugins/` 下
LL2 把 zip 中的 `LeviHTTPApi.js` 解压到 `plugins/` 下
# 使用
```
GET /PATH/接口?key=ApiKey&...
示例: `http://xxx.com/api/players?key=test`
`http://xxx.com/api/player_info?key=test&player=Notch`
```
## 配置文件
路径: `plugins/LeviHTTPApi/config.json`
### 示例:
```JSON
{
"port": 22222,
"key": {
"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3": {
"denies": ["runcmd", "runjs", "shell"]...[/MD]
阅读关于此资源更多信息...