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.
|
||||
Reference in new issue
Block a user