-
-
Notifications
You must be signed in to change notification settings - Fork 171
Features
The Global Api is an API that is available for every server. It currently includes: Global Linking, 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 and the source code of the Global Linking server is available here.
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.
Global Linking is part of the Global Api and uses the GlobalLinkServer to link your account. To be able to link your account you have to do the following:
- Join the GlobalLinkServer with both your Java and Bedrock account
(IP:link.geysermc.org
, Java port:25565
, Bedrock port:19132
) - Start the linking process by typing
/linkaccount
on your Java or Bedrock account - You'll get a message with a random number that you have to enter on the account that you did not start the linking process on.
- Enter the random number on the other account by typing
/linkaccount <code>
- You should get kicked from the server on both your Bedrock and Java account with the message that it had successfully linked your accounts.
Global Linking should be enabled by default on every server running Floodgate 2.0, but in the case that you disabled it, you can enable it again by opening your Floodgate config and make sure that the player-link
section looks similar to this:
# Configuration for player linking
player-link:
# Whether to enable the linking system. Turning this off will prevent
# players from using the linking feature even if they are already linked.
enabled: true
# Whether to use global linking. Global linking uses a central server to request link
# accounts, allowing people to link once, join everywhere (on servers with global linking).
use-global-linking: true
Once you saved the config and restarted your server you should be using Global Linking.
If you for whatever reason don't want to use Global Linking, you can choose to not use it. You can find the download links for the supported databases at the same place where you can download Floodgate 2.0. Note that there is no wiki page with info on how to use that yet, but will likely be there in the future.
Skin uploading is also a part of the Global Api. It is responsible for converting Bedrock skins to Java skins and uploading them to make them show up on Java Edition.
The Floodgate API has also changed. The most important change is that the API methods are no longer static and instead instance-based (you can get the instance using FloodgateApi#getInstance()
). Most API methods also have a simple explanation. The Floodgate Api page will be improved later.
Cumulus is the new Forms API that we use in Geyser and Floodgate. The source code is available here. More information about it and examples can be found here
2019 - 2021 © GeyserMC