2.0
Compatibility
Changes
π LiteBansBridge Version 2.0
Instant Web Interface for LiteBans Turn your BungeeCord Proxy and Bukkit, Paper, Purpur into a LiteBans Web Host instantly.
π Universal Cross-Platform Support
- One Jar Fits All: A single
.jarfile works flawlessly across multiple server architectures. - Supported Platforms: * Bukkit
- Spigot
- Paper
- Purpur
- BungeeCord
- Waterfall
- BungeeGuard Compatible: By running its own internal HTTP server, the web bridge entirely bypasses BungeeGuard proxy firewalls, ensuring it always works even on highly secured backend servers.
π Dual-Website System
The plugin now hosts two completely separate web interfaces simultaneously on the same port, tailored for different audiences:
- Public Website
(http://your-ip:PORT/):- No login or authentication required.
- Allows normal players to view the ban and kick history of the server.
- Minimalist, safe, and privacy-friendly display.
- Staff Portal
(http://your-ip:PORT/staff):- Secured by API Key: Requires the secret authentication key to access.
- Remembers staff logins locally so they don't have to type the key every time.
- Displays sensitive server information (Player IP Addresses, Last Server Location).
π¨ Modern, Responsive Web Design
Both websites feature a completely overhauled, visually stunning UI:
- Sleek Dark Mode: Built with a modern dark theme using TailwindCSS.
- Live Search & Filtering: Instantly search through punishments by Player Name, Reason, or IP Address without reloading the page.
- Tabbed Interface: Easily switch between Bans and Kicks with smooth animations.
- Dynamic Player Avatars: Automatically fetches 3D Minecraft heads for both the punished player and the punishing staff member.
- Status Badges: Clear, color-coded badges to indicate if a ban is
Active,Expired, orUnbanned.
β‘ Live-Reloading & Customization
- Instant HTML Updates: The
index.htmlandstaff.htmlfiles are extracted to yourplugins/LiteBansBridge/folder. You can edit these files directly (change logos, colors, text) and simply refresh your browser to see the changes. No server restart required! - Custom Port: Change the web server port (default
8888) to any available port in theconfig.yml. - In-Game Commands: Use
/lbbridge reloadto instantly reload the configuration file, apply new ports, or generate new API keys on the fly.
π Direct LiteBans Database Hook
- Bypasses the need for complex MySQL web setups (like Apache or Nginx).
- Uses the native
LiteBansAPIto hook directly into the database already configured by LiteBans. - Automatically formats Unix timestamps into readable Dates and Expiration times.
- Securely formats SQL queries to prevent injection.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:zGYJG6Zh:2JCVQh2Q"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:zGYJG6Zh:2JCVQh2Q"
}

