* Initial setup page * Cleanup new setup page * Space out options * Fix host providers with templates * Cleanup host provider classes * Fix spacing to make it all look more uniform * Always show setup options and add provider infomation inside an alert * Drop side margin * Add collapsable sidebar * Add build_in host on provider selector (#166) * add buildin host provider support * concat js loop * Cleanup indent for cleaner commit * Move all_providers --------- Co-authored-by: rtm516 <rtm516@users.noreply.github.com> * start on proper setup instructions * Add self-hosting info * Add not listed and fix some other minor issues * - Floodgate setup/FAQ page - Add version warnings/info in FAQ - Merging upstream/master - Replace old setup page with new one; minus videos * Show Self-Host vs Hosting Provider pages * Move to tabs, add icons and structure cleanup * Less repetition, wording * Updated Standalone setup instructions * Show "Not listed" provider option at the top of the hosting provider list --------- Co-authored-by: JensC <jenscollaertyprive@hotmail.com> Co-authored-by: Jens Co <63231928+Jens-Co@users.noreply.github.com> Co-authored-by: onebeastchris <github@onechris.mozmail.com>
53 lines
3.1 KiB
Markdown
53 lines
3.1 KiB
Markdown
|
|
# Proxy setup - self-hosting
|
|
|
|
<div class="alert alert-info" role="alert">
|
|
NOTE: <br>
|
|
- Install Geyser <b>only</b> on the proxy server! You can install Floodgate on all servers for better skin support &
|
|
network-wide Floodgate API availability for other plugins. <br>
|
|
- All servers on the network must accept {{ site.data.versions.java }} Java clients, as Geyser imitates one.
|
|
</div>
|
|
|
|
1. Download the plugin for your proxy software from [the download page](https://geysermc.org/download).
|
|
2. Place the Geyser jar in the `plugins` folder, and restart the server.
|
|
3. Open your Geyser config, located in `/plugins/Geyser-xyz/config.yml`, and find the following:
|
|
|
|
```yaml
|
|
bedrock:
|
|
# The IP address that will listen for connections.
|
|
# Generally, you should only uncomment and change this if you want to limit what IPs can connect to your server.
|
|
#address: 0.0.0.0
|
|
|
|
# The port that will listen for connections. This is the port that Bedrock players will use to connect to your server.
|
|
port: 19132
|
|
```
|
|
The vital part is the port. This is the port that Bedrock players will use to connect to your server!
|
|
If you enable `clone-remote-port`, the port will be overridden and the Java port is used.
|
|
Since you are self-hosting, you can choose the port freely - the default port is 19132. <br>
|
|
**Important**: Other services/plugins that rely on ports with UDP, such as Voice Chats or Query, cannot share the port with Geyser.
|
|
<br>
|
|
|
|
4. Connecting to your server
|
|
<br> <br>
|
|
**Connecting locally in the same network** <br>
|
|
On the same device as the server, you can connect using `localhost`, or `127.0.0.1` as the address.
|
|
Do note: When hosting and playing on the same Windows device, you will need the [loopback fix](/geyser/fixing-unable-to-connect-to-world/#Using-Geyser-on-the-same-computer).
|
|
Other devices in the same local network can use your local IPv4 to connect - it starts with `10.` or `192.168.`.
|
|
<br> <br>
|
|
**Connecting from a different network**<br>
|
|
You will need to expose the port Geyser runs on to the Internet if you want players from outside your network to join.
|
|
To achieve that, you have two options: <br>
|
|
|
|
- Portforwarding: Open the Geyser port (e.g. 19132) on the UDP protocol in your router/modem, and in the Windows/Linux firewall.
|
|
After doing this, players can connect with your public IPv4 + port to your server.
|
|
See [here](https://www.lifewire.com/how-to-port-forward-4163829) for a helpful guide. <br>
|
|
|
|
- playit.gg: Instead of opening a port (which might not be an option/if you do not want to expose your home ip), you can use
|
|
the playit.gg service to create a tunnel for you to route the traffic through. See our [playit.gg guide](/geyser/playit-gg).
|
|
Ngrok will not work since it is TCP-only. <br>
|
|
|
|
5. Verify whether connections from other networks are possible by running `geyser connectiontest <ip>:<port>` in the console.
|
|
|
|
<div class="alert alert-info" role="alert">
|
|
To allow Bedrock Edition players to join your server without needing to log in to a paid Java Edition account, you can use <a href="/floodgate/setup/">Floodgate</a>.
|
|
</div> |