LiteBansBridge
PluginMIT

LiteBansBridge

Instant Web Interface for LiteBans Turn your BungeeCord Proxy into a LiteBans Web Host instantly.

8
Downloads
0
Followers
2 months ago
Updated
📦
1
Versions

📖About LiteBansBridge

LiteBansWebsite# 🌐 LiteBansBridge

Instant Web Interface for LiteBans Turn your BungeeCord Proxy into a LiteBans Web Host instantly.

📥 Installation

Prerequisites: Ensure you have LiteBans installed on your Proxy.

  • Download LiteBansBridge.jar.
  • Upload it to your /plugins/ folder.
  • Restart your proxy.
  • Done! Access your website at: http://<your-server-ip>:8888/

Example Link: http://sg.apsara.lol:55061/

⚙️ Configuration

The config.yml is generated automatically on first run:

# ----------------------------------------
# LiteBansBridge Configuration
# ----------------------------------------

# The IP/Host is bound to 0.0.0.0 (All Interfaces) by default.
# Access URL: http://<your-server-ip>:<port>/

# The port the website will run on.
# IMPORTANT: Open this port in your firewall/VPS settings (TCP).
port: 8888

# Secret API Key. 
# Used to authenticate the website with the plugin.
api-key: "lb_generated_random_string"

🎮 Commands & Usage

1. Get your API Key

  • Run this command in-game (requires permission) or in the console:
  • Command: /lbbridge key
  • Permission: lbbridge.admin

2. Connect the Website

  • Navigate to http://your-server-ip:8888/
  • Click the Gear Icon (⚙️) in the top right corner.
  • Paste the API Key.
  • Click Connect.
  • Pull requests are welcome. For major changes, please open an issue first
  • to discuss what you would like to change.

Please make sure to update tests as appropriate.

🛠 API & Technical Info

Backend:

  • Java com.sun.net.httpserver (Lightweight, no dependencies).
  • Frontend: Single-file HTML/JS using TailwindCSS via CDN.

Endpoints:

  • GET / - Serves the Dashboard.
  • GET /bans - Returns JSON data (Requires Authorization: Bearer <key>).

Made with ❤️ by Bellanoo and Ly_No