PresenceAPI
This mod monitors player join and leave events and dispatches configurable HTTP requests with player data.
介绍

PresenceAPI
PresenceAPI is a lightweight NeoForge server-side mod that tracks player presence and synchronizes it with an external backend via configurable HTTP requests.
Built for server networks, dashboards, analytics platforms, and custom integrations, PresenceAPI provides a clean and reliable way to react to player activity in real time.
Features
- Detects player join and leave events
- Sends HTTP/HTTPS requests to external services
- Fully configurable endpoints, headers, and payloads
- Server-side only: no client installation required
- Lightweight and performance-friendly
How It Works
When a player joins or leaves the server, PresenceAPI sends an HTTP request to your configured endpoint containing customizable player and server data.
This allows external systems to instantly react to server activity.
Configuration
PresenceAPI includes a flexible configuration system that allows you to:
- Define request URLs
- Customize headers (authentication, tokens, etc.)
- Configure request payload data (player, server, event type)
- Enable or disable specific events
All behavior can be adjusted without modifying code.
Use Cases
- Player presence tracking
- Multi-server network coordination
- Web dashboards and status pages
- Discord bots and webhook integrations
- Analytics, logging, and monitoring
常见问题
PresenceAPI 支持哪些 Minecraft 版本?
PresenceAPI 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
PresenceAPI 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
saunhardy 的其他作品
查看全部 →Climbable Ropes for Create Aeronautics
为 Create Aeronautics 的垂直绳索添加空手攀爬模式。空手右键抓住绳索,按 W/S 攀爬,按空格跳下,按潜行松手。
AFKStatus
一个简单实用的挂机检测指令,提升游戏体验。
Dyeable Ropes for Create Aeronautics
为 Create: Aeronautics 添加 16 种染料颜色的绳索。用染料合成任意颜色的绳索,或对已放置的绳段右键即可直接改色。
Dyeable Ropes for Create Aeronautics
为 Create: Aeronautics 添加 16 种染料颜色的绳索。用染料给任意绳索染色,或对已放置的绳索段右键即可即时改色。

评论
登录后评论和评分