ExAPI 图标

ExAPI

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/exapi
资源信息

Minecraft 版本: 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: paper spigot

资源介绍

ExAPI

ExAPI – Secure HTTP Bridge for Minecraft Servers

ExAPI by ExStudios is a production-ready API bridge for Minecraft servers running Paper 1.19+ (tested on 1.21.5).

It allows external apps like Discord bots, dashboards, and AI services to securely request real-time server data through configurable HTTP endpoints.

✦ Key Features

• Embedded HTTP server inside the plugin
• Secure API key authentication (Bearer token)
• Fully configurable endpoints in config.yml
• Field-level data toggles per endpoint
• Optional Vault economy support
• Rate limiting per IP
• Optional IP whitelist
• Bind to localhost for extra security
• Async-safe execution
• Clean architecture & scalable codebase
• JSON responses for easy integration

✦ Supported Endpoints

All endpoints can be enabled or disabled individually.

/server – MOTD, version, players, max players
/players – Online player list
/player/{uuid} – Detailed player info
/tps – Server TPS
/economy/{player} – Balance (if Vault installed)
/plugins – Installed plugins
/custom – User-defined data

✦ Player Data Options

Each field can be toggled in config:

• Username
• UUID
• Health
• Food
• Location
• World
• Gamemode
• Ping
• Permissions

✦ Security

• API key required for all requests
• Rate limiting
• Optional IP whitelist
• Localhost-only binding
• No main-thread blocking

Designed for public dashboards and bot integrations without exposing your server.

✦ Example Use Cases

• Discord bot showing server stats
• Web dashboard with live player info
• AI admin assistant reading server data
• Network monitoring tools
• Mobile app server status

✦ Example Request

GET /server
Authorization: Bearer YOUR_API_KEY

Response:

{
  "motd": "Welcome",
  "version": "1.21.5",
  "onlinePlayers": 12,
  "maxPlayers": 100
}

✦ Requirements

• Java 17+
• Paper / Spigot 1.19+
• Optional: Vault for economy

✦ Why ExAPI?

Most plugins expose data through commands or unsafe sockets.
ExAPI provides a clean, secure, configurable HTTP API designed for real integrations.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
VoxelCore

价格:0 墨喵币
下载量:0

查看详情
Minecraft Story Mode Ultimate

价格:0 墨喵币
下载量:0

查看详情
SpeedInject

价格:0 墨喵币
下载量:0

查看详情
Extra Hotbar

价格:0 墨喵币
下载量:0

查看详情