# Quick start

> Connect a Minecraft server and let authenticated Java and Bedrock players join through one public address.

Install one plugin on your Paper, Spigot, Velocity or BungeeCord server, wherever it runs, and players join through a free public address.

<div class="mk-qs-steps">

## Download the Connect plugin

Pick your platform: the plugin cards download the latest stable release, and Gate has Connect built in.

- [Paper / Spigot: connect-spigot.jar](https://github.com/minekube/connect-java/releases/download/latest/connect-spigot.jar)
- [Velocity: connect-velocity.jar](https://github.com/minekube/connect-java/releases/download/latest/connect-velocity.jar)
- [BungeeCord: connect-bungee.jar](https://github.com/minekube/connect-java/releases/download/latest/connect-bungee.jar)
- [Gate: Built in, no download](https://gate.minekube.com/guide/connect)

The same jars are on [Modrinth](https://modrinth.com/plugin/minekube-connect) and [GitHub](https://github.com/minekube/connect-java/releases).

## Drop it into `plugins/`

Upload the jar to your server's `plugins` folder or fetch it with one command; on Gate, enable Connect in `config.yml` instead.

```sh wrap title="Paper / Spigot"
curl -L --create-dirs -o plugins/connect-spigot.jar \
  https://github.com/minekube/connect-java/releases/download/latest/connect-spigot.jar
```

```sh wrap title="Velocity"
curl -L --create-dirs -o plugins/connect-velocity.jar \
  https://github.com/minekube/connect-java/releases/download/latest/connect-velocity.jar
```

```sh wrap title="BungeeCord"
curl -L --create-dirs -o plugins/connect-bungee.jar \
  https://github.com/minekube/connect-java/releases/download/latest/connect-bungee.jar
```

```yaml title="Gate config.yml"
connect:
  enabled: true
  name: your-server-name
```

## Start the server

On Minecraft 1.19 and newer, turn off secure profiles first, or players cannot join through Connect ([why this is required](https://connect.minekube.com/guide/downloads#disabling-enforce-secure-player-profiles-required)):

```properties title="Paper / Spigot"
# server.properties
enforce-secure-profile=false
```

```toml title="Velocity"
# velocity.toml
force-key-authentication = false
```

```yaml title="BungeeCord"
# config.yml
enforce_secure_profile: false
```

Start the server, and the console prints your public address:

```shell wrap title="Server console" "live-beru.play.minekube.net"
[connect] Endpoint name: live-beru
[connect] Your public address: live-beru.play.minekube.net
```

## Join your server

Add that address in Minecraft; Java and Bedrock players use the same one.

- **Java Edition:** `<endpoint>.play.minekube.net`, port `25565` (normally omitted)
- **Bedrock Edition:** `<endpoint>.play.minekube.net`, port `19132`

</div>

- Set the endpoint name in `plugins/connect/config.yml` (`endpoint: your-server-name`) or in Gate's `connect.name`.
- Without a name, Connect picks one from the [Random Name Service](https://randomname.minekube.net/), such as `live-beru`.
- The `CONNECT_ENDPOINT` environment variable takes precedence over the configuration file.
- On first start the Connector protects the endpoint with a token, which you can reset in the dashboard at any time.
- To use your own domain, see [Custom domains](https://connect.minekube.com/guide/domains).

- Java and Bedrock players use the same endpoint address.
- The Connect edge translates Connect-routed Bedrock players, so you need no Geyser on a plugin server and no `bedrock: true` in Gate.
- Authenticated Java players can join.
- Microsoft/Xbox-authenticated Bedrock players can join with or without a linked Java account.
- Offline/cracked Java players require the endpoint owner to opt in.
- Bedrock players without valid Microsoft/Xbox authentication cannot join the managed Bedrock path.
- The complete address, port, identity, and configuration matrix is in [Join your server](https://connect.minekube.com/guide/joining#who-can-join).

- [Connectors](https://connect.minekube.com/guide/connectors/#available-connectors) compares Gate and the Java plugin.
- The [Java plugin guide](https://connect.minekube.com/guide/connectors/plugin#example-setups) shows Velocity and Paper setups.
- The [Gate connector guide](https://connect.minekube.com/guide/connectors/gate) covers Gate and Gate Lite.

## Manage it in the dashboard **Optional**

Import your endpoint into the [Connect Dashboard](https://app.minekube.com) later to manage it, or start there with its own guided setup.

## Getting help

Post a support request in the **#support** forum of the [Minekube Community Discord](https://minekube.com/discord).

- Check that the token your Connector uses still matches the token stored for this endpoint in the Dashboard.
- Resetting the token in the Dashboard invalidates the previous token immediately, so place the new token and restart the Connector.
- The token belongs in the Connector's **token file**, never in the Connector config that holds the endpoint *name*.
- The [Gate connector](https://connect.minekube.com/guide/connectors/gate) reads `connect.json` next to its config, and the [Java plugin](https://connect.minekube.com/guide/connectors/plugin#endpoint-token) reads `token.json` in its data directory.
- Both accept the `CONNECT_TOKEN` environment variable, which takes precedence over the file.
- Copy the token byte-for-byte: a trailing space or newline is a different token.
- If the endpoint name belongs to an organization, the token must have been created for this endpoint name inside that organization; otherwise choose a different endpoint name.
