CraftCordPlugin
将你的 Minecraft 服务器与外部世界连接起来。
CraftCordPlugin 是一个轻量级的 Paper 插件,通过安全的 HTTP 和 WebSocket API 暴露你的 Minecraft 服务器,允许外部应用程序实时与服务器进行交互。
无论你是正在构建 Discord 机器人、网页仪表板、桌面应用程序、移动应用、自动化服务 还是任何其他定制软件,CraftCordPlugin 都能在你的应用程序和 Minecraft 之间提供一个简单且安全的桥梁。
功能特性
- HTTP 与 WebSocket API
- Bearer Token 身份验证
- 实时 Minecraft 事件监听
- 远程发送聊天消息
- 获取在线玩家信息
- 访问服务器信息
- 执行 Minecraft 命令
- 踢出和封禁玩家
- 线程安全的 Paper API 集成
- 轻量级且可配置
- 支持任何具备 HTTP 或 WebSocket 通信能力的编程语言
适用场景
CraftCordPlugin 让以下开发变得轻松易行:
- Discord 机器人
- Web 仪表板
- 移动应用
- 桌面应用程序
- 管理工具
- 服务器管理面板
- 自动化系统
- 监控服务
- 经济系统集成
- 定制软件
官方 Python SDK
CraftCordPlugin 是 CraftCord 的官方后端,这是一个异步 Python SDK,旨在简化 Minecraft 集成开发。
使用 CraftCord,你可以:
- 监听 Minecraft 事件
- 执行服务器命令
- 发送聊天消息
- 获取玩家信息
- 以极简配置构建 Discord 机器人
GitHub 仓库:
- CraftCord SDK:
- CraftCordPlugin:
运行要求
默认安全机制
CraftCordPlugin 对 HTTP 和 WebSocket 连接均使用 Bearer Token 身份验证。
在生产环境部署时,建议采取以下措施:
- 使用强 API 令牌
- 通过防火墙或反向代理限制 API 访问
- 切勿公开泄露你的令牌
为什么选择 CraftCordPlugin?
与 RCON 不同,CraftCordPlugin 专为现代应用程序开发而设计。
- 实时事件推送
- 支持 HTTP 与 WebSocket
- 结构化的 JSON 响应
- 安全认证机制
- 语言无关的 API 接口
- 专门为外部集成构建
文档
完整的文档、设置指南、示例代码以及官方 Python SDK 均可在 GitHub 上找到。
CraftCord SDK:
CraftCordPlugin:
CraftCordPlugin
Connect your Minecraft server with the outside world.
CraftCordPlugin is a lightweight Paper plugin that exposes your Minecraft server through secure HTTP and WebSocket APIs, allowing external applications to interact with your server in real time.
Whether you're building a Discord bot, web dashboard, desktop application, mobile app, automation service, or any other custom software, CraftCordPlugin provides a simple and secure bridge between your application and Minecraft.
Features
- HTTP & WebSocket APIs
- Bearer Token authentication
- Real-time Minecraft events
- Send chat messages remotely
- Retrieve online player information
- Access server information
- Execute Minecraft commands
- Kick and ban players
- Thread-safe Paper API integration
- Lightweight and configurable
- Works with any programming language capable of HTTP or WebSocket communication
Perfect For
CraftCordPlugin makes it easy to build:
- Discord bots
- Web dashboards
- Mobile apps
- Desktop applications
- Moderation tools
- Server management panels
- Automation systems
- Monitoring services
- Economy integrations
- Custom software
Official Python SDK
CraftCordPlugin is the official backend for CraftCord, an asynchronous Python SDK that makes Minecraft integrations simple.
With CraftCord you can:
- Listen for Minecraft events
- Execute server commands
- Send chat messages
- Retrieve player information
- Build Discord bots with minimal setup
GitHub:
- CraftCord SDK:
- CraftCordPlugin:
Requirements
Secure by Default
CraftCordPlugin uses Bearer Token authentication for both HTTP and WebSocket connections.
For production deployments it is recommended to:
- Use a strong API token
- Restrict API access with a firewall or reverse proxy
- Never expose your token publicly
Why CraftCordPlugin?
Unlike RCON, CraftCordPlugin is designed for modern application development.
Real-time events
HTTP & WebSocket support
Structured JSON responses
Secure authentication
Language-agnostic API
Built specifically for external integrations
Documentation
Complete documentation, setup guides, examples, and the official Python SDK are available on GitHub.
CraftCord SDK:
CraftCordPlugin:
评论 0
登录后参与评分
还没有评论,来抢沙发吧