SideGate 2.0.0 Available Now

Hybrid Login Bridge for
Online-Mode Servers

Keep online-mode=true security, allow selected non-premium usernames to join as guests, and route hybrid login at Bukkit or Velocity level.

What is SideGate?

SideGate is a hybrid login bridge for Bukkit-compatible servers and Velocity proxy networks that want to keeponline-mode=truewhile still allowing selected non-premium players.

Premium players continue normal Mojang authentication, while approved guest players are routed through SideGate guest flow. On proxy networks, Velocity decides Premium/Guest login and Bukkit backends apply the player-facing guest actions.

"Keep premium security for normal players and control guest access explicitly."

Core Features

  • Hybrid login flow: premium users use standard auth, guest candidates use SideGate injection flow.
  • Manual premium override with premium-usernames.
  • Premium-name conflict policy with a configurable kick message or Guest fallback.
  • Optional Floodgate/Geyser detection keeps Bedrock players on their normal authentication path.
  • Guest admission policy via allow-all-guests or allowed-guests.
  • Runtime reload with /sidegate reload and the public LoginApi service.
  • Velocity edition performs proxy-side login routing with modern forwarding, Bedrock preservation, and /sidegate status.
SideGate plugin cover

SideGate 2.0.0

Hybrid Premium, Guest, and Bedrock login support for online-mode servers.

Why use it?

Keep security posture while supporting approved guest usernames.

Online-Mode Foundation

Keep premium authentication path for normal players with online-mode=true.

Optional Auto-Detect

Mojang API lookup with internal cache when auto-detect-premium is enabled.

Whitelist Control

Control guest admission using allow-all-guests or explicit allowed-guests list.

Guest Labels

Apply guest scoreboard tag, guest-only chat prefix, and configurable join title/subtitle/messages.

Built-in Login Engine

ProtocolLib is optional. The auto engine prefers it when available and otherwise uses SideGate's built-in Netty engine.

Runtime Reload + API

Reload config/listeners at runtime and integrate addons via Bukkit ServicesManager API.

Folia Support

Uses Folia's async and global schedulers when available, with no Folia-specific API required.

Velocity Proxy Routing

Proxy edition chooses online/offline authentication at PreLoginEvent, then lets Bukkit backends apply guest visuals and restrictions.

Deployment Steps

1

Prerequisites

Java 17+ is required. ProtocolLib 5.x+ is optional: SideGate uses it when available, or its built-in login engine otherwise. For Minecraft 1.21.9-26.x, use a current ProtocolLib development build if selecting the ProtocolLib engine.

2

Install Plugin

Place SideGate-2.0.0.jar into your /plugins directory. Install Floodgate and/or Geyser-Spigot only when Bedrock detection is needed.

3

Configure Properties

Edit server.properties and ensure the following is set:

online-mode=true
4

Restart

Restart the server to generate the config.yml file.

Changelog

SideGate 2.0.0

Release date: 2026-11-07

Breaking

  • - Renamed the public API from SideGateApi / SideGateApiProvider to LoginApi / LoginApiProvider. Addons must be recompiled.
  • - Internal packages and plugin entry points were reorganized.

Added

  • - Built-in Netty login engine. ProtocolLib is now optional; login-engine: auto prefers ProtocolLib when installed and otherwise uses the built-in engine.
  • - Folia support using its async and global schedulers.

Fixed

  • - Hardened Velocity Bedrock detection so UUID-format or username-only matches cannot grant offline authentication; only players registered by Floodgate or Geyser are trusted.
  • - Improved login-engine fallback, connection handling, config parsing, and error reporting.

Changed

  • - Velocity /sidegate status now requires sidegate.admin, and failed config reloads keep the previous config active.
  • - Both editions are version 2.0.0. Existing addons using the previous API names must be updated and recompiled.

SideGate 1.2.3

Release date: 2026-08-25

Fixed

  • - Guest logins no longer bypass Bukkit's async pre-login event when SideGate advances the login state directly. LuckPerms and similar plugins now receive the offline UUID pre-login event before PlayerLoginEvent, so permission data preloads correctly.

Changed

  • - SideGate Velocity bumped to 1.2.3 to match Bukkit for paired proxy/backend deployments.

Requirements

  • - Java 17+
  • - Bukkit edition: Spigot / Paper / Folia / Purpur; ProtocolLib 5.x+ is optional
  • - Velocity edition: Velocity 3.4+ with modern player forwarding
  • - Proxy networks: SideGate Bukkit 2.0.0 on every backend; ProtocolLib is not used in proxy mode
  • - Floodgate/Geyser optional for Bedrock support
  • - Tested: Spigot/Paper 1.20.1, Paper 1.21.1 and 1.21.11, Paper/Spigot 26.3, Folia/Purpur 26.1.2

Bug Reports

Submit issues with server version, Java version, ProtocolLib version, SideGate version, and login/startup logs.

https://github.com/TamKungZ/SideGate/issues

Project Status & License

Closed Source. Modification/redistribution/repackaging is not allowed without permission.

Commercial use or monetization requires prior permission: dev@tamkungz.me

Public reference snapshot: sidegate-1.0.0-rc.1

Developer API

v2.0.0

Query SideGate state from your own plugin through Bukkit's ServicesManager. The LoginApi interface is also available on Velocity. Version 2.0.0 renamed the previous SideGateApi; addons using the old API must be recompiled.

Package
me.tamkungz.sidegate.api
Source
sidegate/src/main/java/me/tamkungz/sidegate/api

Available Methods

isGuestModeEnabled()

Returns current guest-mode master toggle.

isProxyModeEnabled()

Returns current proxy-mode toggle.

isAutoDetectPremiumEnabled()

Returns current Mojang auto-detect setting.

isAllowAllGuestsEnabled()

Returns whether all non-premium usernames are allowed.

isConfiguredPremium(String username)

Checks if username is forced to premium path from config.

isKnownPremiumCached(String username)

Checks premium status from SideGate cache only.

checkPremium(String username)

Performs Mojang API premium check at runtime.

evaluateLogin(String username)

Returns PREMIUM, GUEST, DENIED, or UNAVAILABLE.

isGuest(Player player)

Checks guest state via scoreboard tag SideGate_Guest.

The Velocity edition adds evaluateLoginAsync(String) and isBedrock(Player).

Service Access

Java
import me.tamkungz.sidegate.api.LoginApi;
import me.tamkungz.sidegate.api.LoginApiProvider;

LoginApi api = LoginApiProvider.get();
if (api != null) {
    boolean guest = api.isGuest(player);
    boolean premium = api.checkPremium(player.getName());
}

Maven Repository

build.gradle
repositories {
    maven { url 'https://repo.tamkungz.me' }
}

dependencies {
    compileOnly 'me.tamkungz:sidegate:2.0.0'
}
https://repo.tamkungz.me/

Frequently Asked Questions

Q: What are the minimum requirements?

A: Java 17+. Bukkit supports Spigot, Paper, Folia, and Purpur; ProtocolLib 5.x+ is optional because SideGate includes a built-in login engine. Proxy installs need Velocity 3.4+, modern forwarding, and SideGate Bukkit 2.0.0 on every backend.

Q: Should I set server to offline mode?

A: For standalone Bukkit, no: keep online-mode=true. For Velocity networks, keep Velocity online-mode=true, use modern forwarding, and set backend Bukkit servers to online-mode=false behind private ports.

Q: Any security notes for production servers?

A: Guest/offline access has impersonation risk. Use an auth plugin plus strict permissions, and restrict guest usernames carefully.

FALLBACK_TO_GUEST allows a cracked client to use a Premium-registered username with a Guest/offline UUID. Prefer UUID-based permissions and an authentication plugin.

A client that spoofs the exact official UUID still remains on normal online-mode authentication and must pass Mojang session verification.

For hybrid guest mode operation, set enforce-secure-profile=false in server.properties.