promotional bannermobile promotional banner

Webcraft

Webcraft connects Minecraft servers to the web through secure HTTPS and WebSocket APIs, enabling real-time monitoring, integrations, and server administration.

WebCraft — Connect Minecraft to the Web

Bring your Minecraft server to the web with a modular HTTP and WebSocket API.

WebCraft is a modular integration framework for Minecraft 1.21.1 and NeoForge, designed to connect Minecraft servers with websites, dashboards, community portals, and external applications.

Whether you're building a real-time server dashboard, a community website, an item database, or a custom administration tool, WebCraft provides the tools to access Minecraft data securely and efficiently.

No client-side installation is required for players connecting to a WebCraft-enabled dedicated server.


✨ Key Features

🌐 HTTP & WebSocket API

WebCraft provides a flexible API for external integrations.

  • REST API with structured JSON responses
  • WebSocket support for real-time communication
  • Live subscriptions with automatic updates
  • Optional delta updates to reduce bandwidth usage
  • Configurable HTTP, WebSocket, or combined transport
  • Automatic discovery of enabled API modules
  • Optional Swagger UI and OpenAPI documentation
  • HTTPS and WSS support through a reverse proxy

Both HTTP and WebSocket services operate on the same configurable port.

📊 Server Monitoring

Publish selected Minecraft server information to external applications.

Available information includes:

  • Server name, address, icon, and MOTD
  • Online player count and maximum player capacity
  • Current session uptime and cumulative uptime
  • World age and in-game time
  • Modpack name and version
  • Server lifecycle status: starting, ready, or stopping
  • Player history and online player information through protected feeds

All information feeds are configurable and disabled by default.

⚡ Real-Time Data Streaming

WebCraft supports live WebSocket subscriptions.

Instead of constantly polling REST endpoints, applications can subscribe to server information and receive updates when data changes.

Optional delta updates transmit only modified fields, reducing unnecessary traffic.

This makes WebCraft ideal for live dashboards, monitoring tools, and interactive community websites.

🎒 Player Equipment

The optional Equipment add-on provides authenticated access to a configured online player's equipped items.

Supported equipment slots include:

  • Head
  • Chest
  • Legs
  • Feet
  • Main hand
  • Offhand

Item information includes names, identifiers, quantities, and visual previews when available.

Private equipment access requires explicit configuration and authentication.

🧱 Item Catalog & Recipes

The optional Item Catalog add-on provides item and recipe data for external applications.

WebCraft includes a client-side exporter capable of capturing data from an installed Minecraft modpack.

Supported export features include:

  • Item icons and visual variants
  • Static and animated item previews
  • WebP and PNG image formats
  • Item properties and localized tooltips
  • Crafting recipes
  • Supported JEI and EMI machine recipes
  • Item, fluid, and chemical recipe information
  • Resource-pack-aware item rendering

Exported data can be used to build searchable item catalogs, recipe browsers, and modpack documentation.

The exported assets can also be processed independently of a running Minecraft server.

🏆 Advancements & FTB Quests

WebCraft provides progression data for external community systems.

Vanilla Advancements

  • Discover available advancements
  • Retrieve completion information for selected players
  • Read saved progress for online and offline players

FTB Quests — Optional Add-on

  • Export visible quest chapters and quests
  • Retrieve quest titles and descriptions
  • Access player FTB team progression
  • Build community progression trackers and leaderboards

Progression endpoints are protected internal feeds intended for trusted integrations.

🎨 Banner & Armor Data

The optional Design Data add-on exports information for interactive customization tools.

Features include:

  • Banner patterns and dye colors
  • Banner layer information
  • Armor trim patterns and materials
  • Relevant textures and rendering data
  • Player skin lookup
  • Supported armor and player model geometry

These features enable external applications to create banner editors, armor previewers, and equipment visualization tools.

🏗️ Ponder Scene Export

The optional Ponder add-on provides access to exported interactive scenes.

Supported data includes:

  • Scene geometry
  • Animation frames
  • Captions and overlays
  • Scene timing and keyframes
  • Block interaction data

Ponder and Create are required on the client when capturing compatible scenes.


🧩 Modular Architecture

WebCraft is designed around a modular architecture.

The core mod provides the API infrastructure, built-in data feeds, WebSocket communication, and client-side exporter.

Additional functionality is available through separate add-ons.

Module Description
WebCraft Core HTTP/WebSocket API, server feeds, and exporter
Equipment Authenticated player equipment information
Item Catalog Items, recipes, tooltips, and previews
Design Data Banner and armor customization data
FTB Quests Quest information and team progression
Ponder Exported interactive Ponder scenes

Only install and enable the modules you need.

Developer API

WebCraft supports third-party NeoForge add-ons through its module registration API.

Developers can register:

  • Custom API modules
  • Public and authenticated routes
  • Internal server integrations
  • Live WebSocket data sources

This makes WebCraft a flexible foundation for custom Minecraft-to-web integrations.


🔒 Security

WebCraft provides separate access mechanisms for public information, private player data, and internal server integrations.

Security features include:

  • Bearer-token authentication
  • Separate viewer and internal feed credentials
  • Configurable public and internal endpoints
  • Optional loopback-only access restrictions
  • WebSocket origin validation
  • Per-route transport configuration
  • Disabled-by-default listeners and feeds
  • HTTPS/WSS deployment through a reverse proxy

Important: Internal endpoints and authentication tokens must not be exposed to untrusted visitors.

For production deployments, use a properly configured reverse proxy and restrict access to protected feeds.


⚙️ Installation

Requirements

  • Minecraft: 1.21.1
  • Mod Loader: NeoForge 21.1.230 or newer in the 21.1.x series
  • Java: 21

Dedicated Server

  1. Install the WebCraft core JAR in your server's mods directory.
  2. Install any optional WebCraft add-ons you need.
  3. Start the server to generate its configuration files.
  4. Edit config/webcraft-server.toml or the world's server configuration.
  5. Enable the API listener and configure the required modules.
  6. Restart the server.

The API listener is disabled by default.

Example Configuration

listenerEnabled = true
bindAddress = "127.0.0.1"
port = 8765
apiTransport = "BOTH"

Individual feeds and add-ons require additional configuration.

Singleplayer Support

WebCraft also supports an optional local API listener for singleplayer worlds.

Enable the following option:

singleplayerEnabled = true

By default, singleplayer API access is restricted to localhost.


📖 API Documentation

WebCraft includes optional interactive Swagger documentation.

Enable it in the server configuration:

apiDocsEnabled = true

Swagger UI:

http://127.0.0.1:8765/api/v1/docs

API Discovery:

GET /api/v1/modules

WebSocket Endpoint:

/api/v1/ws

Available routes depend on the installed add-ons and enabled server features.


🎯 Who Is WebCraft For?

WebCraft is designed for:

  • Server Administrators — Build monitoring and administration dashboards.
  • Community Owners — Create websites with live Minecraft server information.
  • Modpack Creators — Publish item catalogs, recipes, and progression data.
  • Web Developers — Integrate Minecraft with websites and external applications.
  • Mod Developers — Extend WebCraft through custom API modules.

WebCraft provides the integration layer. You decide what to build with it.


🔗 Links

Source Code:
https://github.com/Nightw4re/universium

Documentation:
https://github.com/Nightw4re/universium/tree/main/modules/webcraft


WebCraft — Your Minecraft world, connected.

Webcraft Team

profile avatar
  • 3
    Followers
  • 7
    Projects
  • 15.4K
    Downloads

More from Nightw4reView all

  • Universum project image

    Universum

    A sci-fi tech progression modpack where classic Minecraft survival evolves into advanced machinery, dimensional exploration, rare materials, and Stargate-inspired endgame technology.

    • 2.8K
    • August 7, 2026
  • AudioLayer project image

    AudioLayer

    Load your own MP3 files from a local folder and play them in-game under the `audiolayer` namespace. It also includes built-in KubeJS support for client-side scripting, plus ready-to-use examples for modpack and gameplay integration.

    • 1.8K
    • July 12, 2026
  • AE2 GUI (Light edition) project image

    AE2 GUI (Light edition)

    Adaptation GUI from AE2 to the basic GUI

    • 4.6K
    • June 23, 2026
  • Vitae project image

    Vitae

    Vitae is a data-driven entity framework for NeoForge 1.21.1 that lets you define custom animated mobs, bosses, and NPCs through datapacks and optional KubeJS scripting.

    • 149
    • April 24, 2026
  • Universum project image

    Universum

    A sci-fi tech progression modpack where classic Minecraft survival evolves into advanced machinery, dimensional exploration, rare materials, and Stargate-inspired endgame technology.

    • 2.8K
    • August 7, 2026
  • AudioLayer project image

    AudioLayer

    Load your own MP3 files from a local folder and play them in-game under the `audiolayer` namespace. It also includes built-in KubeJS support for client-side scripting, plus ready-to-use examples for modpack and gameplay integration.

    • 1.8K
    • July 12, 2026
  • AE2 GUI (Light edition) project image

    AE2 GUI (Light edition)

    Adaptation GUI from AE2 to the basic GUI

    • 4.6K
    • June 23, 2026
  • Vitae project image

    Vitae

    Vitae is a data-driven entity framework for NeoForge 1.21.1 that lets you define custom animated mobs, bosses, and NPCs through datapacks and optional KubeJS scripting.

    • 149
    • April 24, 2026