minecraft-mod/ServerStatus
Caadiq 158228c11d chore(serverstatus): NeoForge 21.1.227 업그레이드 및 컴파일러 경고 정리
- NeoForge 21.1.77 → 21.1.227, moddev 2.0.141, Kotlin 2.3.0, KFF 5.11.0
- PlayerStatsCollector: BuiltInRegistries.getKey()가 non-null을 반환하므로
  불필요한 safe call(?.) 6곳 제거
- LogUploadService: deprecated URL(String) 생성자를 URI(...).toURL()로 교체

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 14:58:21 +09:00
..
gradle/wrapper Initial commit: Essentials and ServerStatus mods 2025-12-17 18:41:31 +09:00
src/main chore(serverstatus): NeoForge 21.1.227 업그레이드 및 컴파일러 경고 정리 2026-04-23 14:58:21 +09:00
build.gradle.kts chore(serverstatus): NeoForge 21.1.227 업그레이드 및 컴파일러 경고 정리 2026-04-23 14:58:21 +09:00
gradle.properties chore(serverstatus): NeoForge 21.1.227 업그레이드 및 컴파일러 경고 정리 2026-04-23 14:58:21 +09:00
gradlew Initial commit: Essentials and ServerStatus mods 2025-12-17 18:41:31 +09:00
README.md Initial commit: Essentials and ServerStatus mods 2025-12-17 18:41:31 +09:00
settings.gradle.kts Initial commit: Essentials and ServerStatus mods 2025-12-17 18:41:31 +09:00

🌐 ServerStatus

HTTP API로 마인크래프트 서버 상태를 제공하는 NeoForge 모드입니다.

NeoForge Minecraft Kotlin


주요 기능

  • 📊 서버 상태 API - 실시간 서버 정보 제공
  • 👥 플레이어 목록 - 접속 중인 플레이어 정보
  • TPS 모니터링 - 서버 성능 지표
  • 🗺️ 월드 정보 - 로드된 월드 및 청크 정보

📡 API 엔드포인트

기본 포트: 25580

서버 상태

GET /api/status

응답 예시:

{
  "online": true,
  "players": {
    "online": 5,
    "max": 20,
    "list": ["Player1", "Player2"]
  },
  "tps": 20.0,
  "version": "1.21.1"
}

🛠️ 기술 스택

기술 설명
NeoForge Minecraft 모딩 플랫폼
Kotlin 주 개발 언어
Java HttpServer 내장 HTTP 서버
kotlinx.serialization JSON 직렬화

📁 구조

ServerStatus/
├── src/main/
│   ├── kotlin/co/caadiq/serverstatus/
│   │   ├── api/           # HTTP API 핸들러
│   │   └── ServerStatus.kt
│   └── resources/
│       └── META-INF/      # 모드 메타데이터
└── build.gradle.kts

🚀 빌드

./gradlew build

빌드된 JAR: build/libs/serverstatus-1.0.0.jar