Java plugin connector
This page shows how to use the Connect Java plugin as the Connector for your Minecraft server or proxy. If you run a Minecraft Java server or proxy, it is the most convenient Connector for you, but it is not as capable as the Gate Connector in terms of routing features and performance.
The Connect Plugin is a powerful multi-platform Minecraft plugin that tunnels your players through the global Connect Network to your Minecraft server/proxy.
It supports Paper, Spigot, Velocity and BungeeCord.
Downloading the Connect plugin
Section titled “Downloading the Connect plugin”Install it like any other Minecraft plugin: download the jar for your platform, put it in the plugins folder and
start the server.
Each card downloads the latest stable release. Once the server starts, the console prints your public address.
Disabling "enforce secure player profiles" Required
Section titled “Disabling "enforce secure player profiles" Required”Minecraft 1.19 introduced the enforce-secure-profile property.
Players joining your server through the Connect Network cannot join while this setting
is enabled. It is safe to disable, because it only affects chat messages.
enforce-secure-profile=false
# If you disable online-mode, then enforce-secure-profile has no effectonline-mode=trueforce-key-authentication = false
# If you disable online-mode, then force-key-authentication has no effectonline-mode = trueenforce_secure_profile: false
# If you disable online-mode, then enforce-secure-profile has no effectonline_mode: trueJoining your server
Section titled “Joining your server”Every server has a unique, configurable endpoint name, which is also part of the domain players join the server with. If you do not set one, Connect uses a temporary random endpoint name from the Random Name Service.
You can change the endpoint name in the Connector config at any time:
endpoint: your-server-nameconnect: name: your-server-nameThe environment variable
CONNECT_ENDPOINTtakes precedence over the configuration file.
Joining with the free public domain
Section titled “Joining with the free public domain”After you install the Connector and start your server, the console shows
the free public domain for your server, which looks like
<endpoint>.play.minekube.net.
[connect] Enabling connect vX.Y.Z[connect] Endpoint name: live-beru[connect] Your public address: live-beru.play.minekube.netUse that same endpoint hostname in either edition:
| Client | Server address | Port |
|---|---|---|
| Java Edition | <endpoint>.play.minekube.net |
25565 (normally omitted) |
| Bedrock Edition | <endpoint>.play.minekube.net |
19132 |
Verified custom domains work the same way: Java and Bedrock use the same hostname and their edition's normal port.
Ping requests are forwarded to your server as well.
Joining from the Browser Hub
Section titled “Joining from the Browser Hub”Players can also discover your server from the in-game
Browser Hub at minekube.net
and can join with the in-game UIs or with the /browser join <your-server-name> command. Offline/cracked Java players
use cracked.minekube.net or cracked.minekube.com instead and can only enter endpoints that explicitly allow them.
See Who can join for the Java, Bedrock, account-linking, and offline-mode identity matrix.
Example setups
Section titled “Example setups”Common ways to run the Connect plugin as the Connector.
Velocity
Section titled “Velocity”Your machine · no open ports
- We have Velocity in online mode running on
localhost:25577and want to use Connect. - We install the Connect plugin to Velocity’s
pluginsfolder. - We choose a name for our endpoint in the Connect plugin config
plugins/connect/config.yml. - We start Velocity, and the Connect plugin automatically tunnels players from the Connect Network.
- Done! We can now join our Velocity server at
<endpoint>.play.minekube.net. Online-mode players from the Connect Network can join thanks to the plugin’s auth session injection.
Your machine · no open ports
- We have Paper running on
localhost:25565and want to use Connect. - We install the Connect plugin to Paper’s
pluginsfolder. - We choose a name for our endpoint in the Connect plugin config
plugins/connect/config.yml. - We start Paper, and the Connect plugin automatically tunnels players from the Connect Network.
- Done! We can now join our Paper server at
<endpoint>.play.minekube.net. Online-mode players from the Connect Network can join thanks to the plugin’s auth session injection.
Connect passthrough + AuthSession API
Section titled “Connect passthrough + AuthSession API”Passthrough mode and AuthSession API are Coming soon.
Coming soon
This is not required for the normal Connect Java Plugin setup shown above. The plugin integrates with Connect’s current auth/session handling on supported platforms.
Passthrough/AuthSession is planned for setups where the backend or proxy needs to run its own online-mode authentication
for Connect-routed players. That includes topologies such as Connect -> Gate Lite -> online-mode backend, which are
not supported today through Gate Lite configuration alone.
Endpoint Token
Section titled “Endpoint Token”The endpoint name is what you set in plugins/connect/config.yml. The endpoint token does
not belong there: the plugin reads it from token.json in the plugin’s data directory (for example
plugins/connect/token.json) or from the CONNECT_TOKEN environment variable, which takes
precedence over the file. On first launch the plugin generates a token and saves it to token.json.
- Resetting the token in the Dashboard invalidates the previous token. Copy the new token
byte-for-byte into
token.json(a trailing space or newline is a different token) or setCONNECT_TOKEN, then restart the server or proxy. - A Watch service authentication error (
the endpoint token ... does not match the token currently stored for this endpoint) always reports this token mismatch, not a dashboard problem. If the endpoint name belongs to an organization, the token must have been created for this endpoint name inside that organization; a token from another organization, or for a different endpoint name, cannot take the name over. If the name is not yours, choose a different endpoint name.
Bedrock Identity
Section titled “Bedrock Identity”Connect-managed Bedrock is handled at the Connect edge. The plugin can verify the Bedrock identity that Connect already checked before forwarding the player to Paper, Velocity, or BungeeCord.
Current plugin releases supply compatible identity defaults automatically, including for older configuration files that omit the legacy identity section. For the managed Connect service, install or update the plugin and keep its defaults. No identity URLs, public keys, or capability settings are required. Explicit operator overrides are preserved.
The endpoint policy accepts Microsoft/Xbox-authenticated Bedrock players without a linked Java account by default.
Connector identity settings verify what the edge forwarded; they cannot change an edge rejection such as
policy_linked_java_only.
See the Bedrock support guide for the current defaults, rejection reasons, and support checklist.
Was this helpful?
Thanks for the feedback.
