HomeJavaModsWebBridge | Supporting Spigot (1.12.2 - 1.21.x), BungeeCord & Velocity
ModsJava

WebBridge | Supporting Spigot (1.12.2 - 1.21.x), BungeeCord & Velocity

WebBridge Support Discord: Overview WebBridge is a modern replacement for old web-sender plugins. It provides a rock-solid, encrypted link between your…

⬇ Download on Spigot
WebBridge

Support Discord: https://discord.gg/7pxB73VHkp

Overview
WebBridge is a modern replacement for old web-sender plugins. It provides a rock-solid, encrypted link between your website (PHP, Node.js, etc.) and your Minecraft server. Whether you want to execute commands or fetch live stats, WebBridge does it with top-tier security.

Supported Versions: 1.12.2 - 1.21.x (and beyond)

Key Features

Installation

  1. Drop the WebBridge.jar into your plugins folder.

  2. Restart the server to generate the configuration.

  3. Set your secretKey in config.json (minimum 32+ characters).

  4. Use the provided PHP client to connect.
Plugin Configuration
Code (json (Unknown Language)):

{
/**

[LIST]
[*]WEBBRIDGE SERVER CONFIGURATION


[*]serverPort: The port for the internal HTTP server.


[*]secretKey: Strong symmetric key for encryption (must match web client).


[*]allowedIps: Whitelisted IP addresses allowed to send requests.
*/
"serverPort": 8765,
"secretKey": "YOUR_SUPER_SECRET_64_CHAR_KEY_HERE",
"rateLimitPerSecond": 50,
"debugMode": false,
"allowedIps": [
"127.0.0.1",
"YOUR_WEB_SERVER_IP"
]
}
 
PHP Client Integration (index.php)
Code (PHP):


<?php
/**
* WEBBRIDGE INTEGRATION EXAMPLE
*/

require_once 'WebBridgeClient.php' ;
use WattBreak\WebBridge\WebBridgeClient ;

$client = new WebBridgeClient ( '127.0.0.1' , 8765 , 'YOUR_SUPER_SECRET_64_CHAR_KEY_HERE' ) ;

try {
/**
* Example: Fetching Server Stats
*/

$stats = $client -> fetchStats ( ) ;
echo "Online Players: " . $stats [ 'data' ] [ 'online' ] ;
echo "TPS: " . $stats [ 'data' ] [ 'tps' ] [ 0 ] ;

/**
* Example: Executing a Command
*/

// $client->executeCommand('say Hello from the Website!');

} catch (Exception $e ) {
echo "Error: " . $e -> getMessage ( ) ;
}
 
Upcoming Updates
Note: Full BungeeCord & Velocity and Velocity support will be officially added in the next update.
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

WebBridge | Supporting Spigot (1.12.2 - 1.21.x), BungeeCord & Velocity is a free Minecraft Java mod. Compatible with Minecraft 1.12, 1.16, 1.20, 1.20.6 and newer. Downloaded 9 times (via Spigot). Download it and open it directly in the game.

Explore more