COWMODSКаталог модов

WebConsoleServer

Simple web console with websocket, read only

2480обновлён 23 февр. 2026 г.
УправлениеТехнологии

Описание

WebConsoleServer

A Minecraft plugin that exposes your server console through a WebSocket connection. Built for groupez.dev, a test server generator for paid plugins.

Features

  • Real-time console log streaming via WebSocket
  • Password-protected authentication
  • Log history persistence (loads previous logs on client connection)
  • Support for both Spigot/Paper and Velocity platforms
  • Included test web page for quick testing

Supported Platforms

PlatformMinecraft VersionJava Version
Spigot/Paper1.8.8+Java 8+
Velocity3.3.0+Java 21+

Test Web Page

A test web page is included in the web/ folder. Open web/index.html in your browser to connect to the WebSocket server and view console logs in real-time.

Installation

  1. Download the appropriate JAR for your platform from Modrinth
  2. Place the JAR in your server's plugins folder
  3. Restart your server
  4. Configure the plugin in plugins/WebConsoleServer/config.properties (Velocity) or plugins/WebConsoleServer/config.yml (Spigot)

Configuration

# IP address to bind the WebSocket server (use 0.0.0.0 for all interfaces)
websocket-host=0.0.0.0

# Port for the WebSocket server
websocket-port=8765

# Password for WebSocket authentication (leave empty for no authentication)
websocket-password=changeme

# Maximum number of log lines to keep in history
max-log-history=500

WebSocket Protocol

Authentication Flow

  1. Client connects to ws://host:port
  2. Server sends {"type":"auth_required"}
  3. Client sends {"type":"auth","password":"your_password"}
  4. Server responds with {"type":"auth_success"} or {"type":"auth_failed"}
  5. On success, server sends log history followed by {"type":"history_complete"}

Message Types

TypeDirectionDescription
auth_requiredServer → ClientAuthentication is required
authClient → ServerAuthentication request with password
auth_successServer → ClientAuthentication successful
auth_failedServer → ClientAuthentication failed
logServer → ClientConsole log message
history_completeServer → ClientAll historical logs have been sent

Log Message Format

{"type":"log","message":"[12:34:56] [INFO] [ServerName]: Your log message here"}

Building from Source

# Build all modules
./gradlew build

# Output JARs are located in target/
# - WebConsoleServer-Spigot-1.0.jar
# - WebConsoleServer-Velocity-1.0.jar

On Windows, use gradlew.bat instead of ./gradlew.

License

MIT License

Links

Последние версии

Все версии →
release

1.0

1.0
23 февр. 2026 г.56Minecraft: 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9velocity
Скачать
Что нового
First version
release

1.0

1.0
23 февр. 2026 г.192Minecraft: 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 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.10, 1.21.11, 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.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4paper, purpur, spigot
Скачать
Что нового
First version