Update all links
This commit is contained in:
17 files changed
+189
-67
No files matched your search
@@ -4,7 +4,7 @@ title: Floodgate API
|
||||
permalink: /floodgate/api/
|
||||
---
|
||||
|
||||
### Floodgate has an API to extend what is possible and allow servers to get information about the Bedrock client. It also allows other plugins access to [Cumulus](Forms)
|
||||
### Floodgate has an API to extend what is possible and allow servers to get information about the Bedrock client. It also allows other plugins access to [Cumulus](/floodgate/forms/)
|
||||
|
||||
This page will contain information about class FloodgateApi.<br>
|
||||
See the sidebar for more information about other parts of the API.
|
||||
@@ -46,18 +46,18 @@ Used to check if the given UUID of an **online** player is a Bedrock player.
|
||||
|
||||
`FloodgateApi#getPlayer(UUID)`<br>
|
||||
Used to get the FloodgatePlayer instance of an **online** player.<br>
|
||||
Click [here](FloodgatePlayer) to get more information about the FloodgatePlayer class.
|
||||
Click [here](/floodgate/player/) to get more information about the FloodgatePlayer class.
|
||||
|
||||
**Note**: You don't need to wait until the Bedrock player is online to use the getPlayer and isFloodgatePlayer methods.<br>
|
||||
You can even use them in the pre-login events.
|
||||
|
||||
`FloodgateApi#getPlayerLink()`<br>
|
||||
Used to get the PlayerLink instance used by Floodgate to check for linked accounts.<br>
|
||||
Click [here](PlayerLink) to get more information about the PlayerLink class
|
||||
Click [here](/floodgate/linking/) to get more information about the PlayerLink class
|
||||
|
||||
`FloodgateApi#sendForm(UUID, Form(Builder))`<br>
|
||||
Used to send a form to the Bedrock player with the given UUID.<br>
|
||||
Click [here](Forms) to get more information about Forms.
|
||||
Click [here](/floodgate/forms/) to get more information about Forms.
|
||||
|
||||
### Using the API on backend servers
|
||||
In order to successfully use the API on backend Spigot servers when using a proxy, `send-floodgate-data` must be set to `true` on the proxy Floodgate's config, and the `key.pem` file must be identical between all Floodgate instances.
|
||||
@@ -15,14 +15,14 @@ You can also specify a UUID: `fwhitelist add 00000000-0000-0000-0009-01f64f65c7c
|
||||
The permission node is `floodgate.command.whitelist`.
|
||||
|
||||
## What is the Global Api?
|
||||
The Global Api is an API that is available for every server. It currently includes: [Global Linking](#What-is-Global-Linking), [skin uploading](#What-is-skin-uploading), getting a xuid by gamertag, and getting a gamertag by xuid.
|
||||
The Global Api is an API that is available for every server. It currently includes: [Global Linking](#what-is-global-linking), [skin uploading](#what-is-skin-uploading), getting a xuid by gamertag, and getting a gamertag by xuid.
|
||||
We don't store anything else than you can access by the Global Api, except for some non-identifiable metrics. The source code of the Global Api is available [here](https://github.com/GeyserMC/global_api) and the source code of the Global Linking server is available [here](https://github.com/GeyserMC/GlobalLinkServer).
|
||||
|
||||
## What is Global Linking?
|
||||
Instructions and information about how to link can also be found here: https://link.geysermc.org/
|
||||
|
||||
Before we introduced Global Linking, you always had to link your Java and Bedrock account on every individual server you visited (that has Floodgate). Global Linking is here to fix that problem. Link once, join everywhere.<br>
|
||||
Global Linking is part of the [Global Api](#What-is-the-Global-Api) and uses the GlobalLinkServer to link your account. To be able to link your account you have to do the following:
|
||||
Global Linking is part of the [Global Api](#what-is-the-global-api) and uses the GlobalLinkServer to link your account. To be able to link your account you have to do the following:
|
||||
1. Join the GlobalLinkServer with both your Java and Bedrock account
|
||||
(IP: `link.geysermc.org`, Java port: `25565`, Bedrock port: `19132`)
|
||||
2. Start the linking process by typing `/linkaccount` on your Java **or** Bedrock account
|
||||
@@ -67,7 +67,7 @@ That should be it. You can then link your accounts by following the instructions
|
||||
Skins of Bedrock player should be visible to Java players on servers with Floodgate 2.0 installed.
|
||||
If they aren't, it's most likely that the skin uploading queue has grown too large and can take a while to upload your skin.
|
||||
|
||||
Skin uploading is also a part of the [Global Api](#What-is-the-Global-Api). It is responsible for converting Bedrock skins to Java skins and uploading them to Mojang servers make them show up on Java Edition.
|
||||
Skin uploading is also a part of the [Global Api](#what-is-the-global-api). It is responsible for converting Bedrock skins to Java skins and uploading them to Mojang servers make them show up on Java Edition.
|
||||
|
||||
We're using MineSkin internally. MineSkin is running on accounts donated by the community. So if you want to support MineSkin and make the upload times faster, feel free to look at [this page](https://mineskin.org/account) for more info.
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ permalink: /floodgate/forms/
|
||||
# What is Cumulus?
|
||||
|
||||
Bedrock Edition has a cool exclusive feature called Forms.<br>
|
||||
Cumulus is the new Forms API that we use in Geyser and Floodgate. The source code is available [here](https://wiki.geysermc.org/floodgate/forms/).
|
||||
You can access the Cumulus API through the [Floodgate API](https://wiki.geysermc.org/floodgate/api/).
|
||||
Cumulus is the new Forms API that we use in Geyser and Floodgate. The source code is available [here](/floodgate/forms/).
|
||||
You can access the Cumulus API through the [Floodgate API](/floodgate/api/).
|
||||
|
||||
Bedrock knows three types of Forms:
|
||||
* ModalForm
|
||||
@@ -57,7 +57,7 @@ SimpleForm.builder()
|
||||
|
||||
While the CustomForm is the last one on our list (and thus the least easy one), it also has the greatest customizability.<br>
|
||||
This form exists of a title, content and a list of different components e.g. label, slider and input.<br>
|
||||
See [Components](#Components) for more information about every component you can use and in which form type.
|
||||
See [Components](#components) for more information about every component you can use and in which form type.
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
layout: page
|
||||
title: Linking
|
||||
permalink: /floodgate/linking/
|
||||
---
|
||||
|
||||
## TODO
|
||||
@@ -12,13 +12,13 @@ Geyser: https://ci.opencollab.dev/job/GeyserMC/job/Geyser/job/master/
|
||||
## Prerequisites
|
||||
|
||||
- You must own/manage the server in order to add Floodgate. *If you do not own the server, Floodgate does not allow you to bypass logging into Java servers that require a Mojang Java account*.
|
||||
- You must either be running Geyser as a [plugin](https://wiki.geysermc.org/geyser/setup/), or be running [Geyser Standalone](https://wiki.geysermc.org/geyser/setup/#standalone-setup). Floodgate does not replace Geyser.
|
||||
- You must either be running Geyser as a [plugin](/geyser/setup/), or be running [Geyser Standalone](/geyser/setup/#standalone-setup). Floodgate does not replace Geyser.
|
||||
- `floodgate-spigot.jar` cannot be installed on CraftBukkit/Bukkit servers.
|
||||
|
||||
## Setting Up
|
||||
*Any reference to Spigot here also refers to any compatible server software such as Paper.*
|
||||
|
||||
For BungeeCord/Velocity setups: you only are required to install Floodgate on the BungeeCord or Velocity proxy unless you want to use the Floodgate API on the backend servers - see [below](installing-floodgate-also-on-spigot-servers-behind-bungeecord-or-velocity) for the installation process.
|
||||
For BungeeCord/Velocity setups: you only are required to install Floodgate on the BungeeCord or Velocity proxy unless you want to use the Floodgate API on the backend servers - see [below](#installing-floodgate-also-on-spigot-servers-behind-bungeecord-or-velocity) for the installation process.
|
||||
*Note:* Installing Floodgate on the backend servers will allow Bedrock player skins to display without the Bedrock player having to switch backend servers.
|
||||
|
||||
- Download the Floodgate plugin from [here](https://ci.opencollab.dev/job/GeyserMC/job/Floodgate/job/master/) and add it to your plugins folder on your frontend server.
|
||||
@@ -35,7 +35,7 @@ For BungeeCord/Velocity setups: you only are required to install Floodgate on th
|
||||
|
||||
This is only needed when you want to use the Floodgate API on your Spigot server(s) behind a proxy.
|
||||
|
||||
- Install Floodgate on the proxy and on *all* backend servers as per the [previous instructions](https://wiki.geysermc.org/floodgate/setup/)
|
||||
- Install Floodgate on the proxy and on *all* backend servers as per the [previous instructions](/floodgate/setup/)
|
||||
- Enable `ip_forward` in your BungeeCord `config.yml` if using BungeeCord
|
||||
- Set `bungeecord` to `true` in your `spigot.yml`
|
||||
- Start the proxy server.
|
||||
@@ -49,7 +49,7 @@ This is only needed when you want to use the Floodgate API on your Spigot server
|
||||
|
||||
In your Floodgate config, change `username-prefix` to whichever prefix you desire - you can set it to `""` and there will be no prefix.
|
||||
|
||||
On some older Paper servers (or any forks that use them), you may need to also shut down your server and delete your `usercache.json` file located in the same folder as your server jar to prevent users who already joined from having the old prefix. See [this issue](Issues#Prefix-is not-changing-on-the-server-after-changing-it in-the-config.) for more information.
|
||||
On some older Paper servers (or any forks that use them), you may need to also shut down your server and delete your `usercache.json` file located in the same folder as your server jar to prevent users who already joined from having the old prefix. See [this issue](/floodgate/issues/#prefix-is-not-changing-on-the-server-after-changing-it-in-the-config) for more information.
|
||||
|
||||
## Obtaining UUIDs for Floodgate players
|
||||
Check your server logs, or use [this](https://floodgate-uuid.heathmitchell1.repl.co/) page. If this doesn't work, then try this method:
|
||||
@@ -57,7 +57,7 @@ Check your server logs, or use [this](https://floodgate-uuid.heathmitchell1.repl
|
||||
First, you'll need to get the XUID of the player. There are several third-party websites to find this, for example, this one (unaffiliated with Geyser). Make sure to choose "Hexidecimal." You'll need to enter the player's Xbox Gamertag, and, once submitted, and it should display the XUID in the format of `xxxxxxxxxxxxxxxx`. To turn the XUID into a UUID that Java Edition can recognize, you need to put the XUID in this format: `00000000-0000-0000-xxxx-xxxxxxxxxxxx`. If formatted right, Java Edition should accept it as a UUID.
|
||||
|
||||
## Using PlaceholderAPI
|
||||
If you're using the Bukkit version of Floodgate, download the Placeholder plugin [here](https://github.com/rtm516/FloodgatePlaceholders/). Using the placeholders shouldn't require additional setup other than having [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/) installed. See the section above on installing Floodgate on backend servers if you wish to use this on BungeeCord.
|
||||
If you're using the Bukkit version of Floodgate, download the Placeholder plugin [here](https://github.com/rtm516/FloodgatePlaceholders/). Using the placeholders shouldn't require additional setup other than having [PlaceholderAPI](https://www.spigotmc.org/resources/6245/) installed. See the section above on installing Floodgate on backend servers if you wish to use this on BungeeCord.
|
||||
|
||||
## Using Skript
|
||||
If you're using the Bukkit version of Floodgate, there is an unofficial plugin that adds Skript support [here](https://github.com/Camotoy/floodgate-skript).
|
||||
Reference in new issue
Block a user