▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/WebChatAPI
WebChatAPI

WebChatAPI

Lightweight Paper plugin that exposes Minecraft server chat through a simple HTTP JSON API for custom websites and applications.

Оцените первым
22
0

WebChatAPI

A lightweight Paper plugin that exposes Minecraft server chat through a simple HTTP JSON API.

WebChatAPI is API-only. It does not include a web interface. You control the frontend and can integrate Minecraft chat into React, Next.js, Vue, plain HTML, Node.js applications, or mobile apps.

Minecraft chat → WebChatAPI → Your backend → Your website

Features

  • Lightweight and easy to deploy
  • Pure HTTP JSON API
  • Real-time updates with long polling
  • Configurable in-memory chat history
  • Online player list endpoint
  • Read-only mode enabled by default
  • Optional web-to-Minecraft messaging
  • Token protection for two-way messaging
  • Configurable CORS
  • Easy integration with custom frontends

Architecture

Minecraft Server │ │ Player sends a chat message ▼ WebChatAPI │ │ HTTP JSON API ▼ Your Backend │ │ Proxied API ▼ Your Website

Production Setup

For production, keep the WebChatAPI port private and let your backend communicate with the plugin.

Minecraft Server └── WebChatAPI (127.0.0.1:8765) ▲ │ Your Backend │ ▼ Public Website

Using 127.0.0.1 prevents direct access to the plugin from the public internet.

Requirements

ComponentVersion
ServerPaper 1.21+
JavaJDK 17+
Build toolMaven

Internet access is required during the build process to resolve the Paper API dependency.

Партнёрский материал

Сервер для плагина WebChatAPI - как у профи

Плагин WebChatAPI создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином WebChatAPI для друзей можно за пару минут - BungeeHost всё уже подготовил.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.2.x26.1.x1.21.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки

Создатели

Детали

Лицензия:
Опубликован:3 месяца назад
Обновлён:2 месяца назад
Главная