Explicitly define md/x header links for i18n

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
Joshua Castle committed 2024-03-03 20:04:11 -08:00
1 parent 3f4b5f68b0
commit 05c4ec92fc
37 files changed
+202 -202

No files matched your search

+3 -3
View File
@@ -7,7 +7,7 @@ Floodgate has an API to extend what is possible and allow servers to get informa
This page will contain information about class FloodgateApi.
See the sidebar for more information about other parts of the API.
### Accessing the Floodgate API
### Accessing the Floodgate API {#accessing-the-floodgate-api}
See [here](/geyser/getting-started-with-the-api) for how to include the Floodgate API in your project.
@@ -29,7 +29,7 @@ To see full, detailed documentation, see the [javadocs](https://repo.opencollab.
:::
#### We'll highlight a few to get you started quickly:
#### We'll highlight a few to get you started quickly: {#well-highlight-a-few-to-get-you-started-quickly}
`FloodgateApi#isFloodgatePlayer(UUID)`
Used to check if the given UUID of an **online** player is a Bedrock player.
@@ -48,5 +48,5 @@ Click [here](/floodgate/linking/) to get more information about the PlayerLink c
Used to send a form to the Bedrock player with the given UUID.
Click [here](/geyser/forms/) to get more information about Forms.
### Using the API on backend servers
### Using the API on backend servers {#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.
+2 -2
View File
@@ -2,7 +2,7 @@
title: Features
---
## Whitelist command
## Whitelist command {#whitelist-command}
Floodgate 2.0 has a whitelist command, `fwhitelist`, that should be used for adding or removing Floodgate players to whitelist.json. The username prefix doesn't need to be included.
`fwhitelist add Tim203`
@@ -12,7 +12,7 @@ You can also specify a UUID: `fwhitelist add 00000000-0000-0000-0009-01f64f65c7c
The permission node is `floodgate.command.fwhitelist`.
## What is skin uploading?
## What is skin uploading? {#what-is-skin-uploading}
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.
+2 -2
View File
@@ -4,11 +4,11 @@ permalink: /floodgate/
---
# Floodgate
## What is Floodgate?
## What is Floodgate? {#what-is-floodgate}
Floodgate is a hybrid mode plugin that allows Minecraft: Bedrock Accounts to join Minecraft: Java Edition servers without needing a Minecraft: Java Edition account.
This is something you install in addition to Geyser. Unlike Geyser, Floodgate can only be installed as a plugin on Spigot (including Paper and forks), Bungeecord, Velocity, and as a mod on Fabric servers, and can only be utilized on servers that have it installed.
## What has Floodgate 2.0 to offer?
## What has Floodgate 2.0 to offer? {#what-has-floodgate-20-to-offer}
Floodgate 2.0 is a rewrite of Floodgate 1.0, with various bugfixes and improvements. It also introduces new features: being able to [see Bedrock player skins on Java edition](/floodgate/features/#what-is-skin-uploading),
being able to [use Bedrock forms](/geyser/forms/), link your account once and login on every server that has [Global Linking](/floodgate/linking/#what-is-global-linking) enabled,
and the [Global Api](/geyser/global-api).
+12 -12
View File
@@ -5,54 +5,54 @@ title: Issues
# Known Issues & Caveats
If an issue you're experiencing is not listed here, please consider joining the Geyser [Discord](http://discord.geysermc.org/).
## Running commands
## Running commands {#running-commands}
In some instances, like if you have the `username-prefix` set to `*`, you may need to wrap the Bedrock player's username in quotes; for example: `/tp "*BedrockPlayer"`. Setting the prefix to `.` should also fix this.
## If you wish to use IP forwarding, please enable it in your BungeeCord config as well!
## If you wish to use IP forwarding, please enable it in your BungeeCord config as well! {#if-you-wish-to-use-ip-forwarding-please-enable-it-in-your-bungeecord-config-as-well}
It is likely you have enabled `send-floodgate-data` in your Floodgate config but either Floodgate isn't installed on the target server, or your floodgate key isn't the same between the installs of the plugin (please copy them so they all use the same key).
## `java.lang.IllegalStateException: Cannot reply to EncryptionRequestPacket without profile and access token.`
## `java.lang.IllegalStateException: Cannot reply to EncryptionRequestPacket without profile and access token.` {#javalangillegalstateexception-cannot-reply-to-encryptionrequestpacket-without-profile-and-access-token}
Make sure the server has Floodgate installed and started up correctly. Otherwise, see if the next line fixes your error.
## `javax.crypto.AEADBadTagException: Tag mismatch!`
## `javax.crypto.AEADBadTagException: Tag mismatch!` {#javaxcryptoaeadbadtagexception-tag-mismatch}
If Geyser and Floodgate are on the same server, shut down your server, delete the `floodgate` plugin folder, delete any key file in the Geyser folder, and restart your server.
If Geyser and Floodgate are not on the same server and you had to copy the key file, this could also be an error related to uploading through FTP. Using ASCII will not work here, and you need to make sure you're on binary when uploading. We recommend using [WinSCP](https://winscp.net) if you need to use FTP.
## java.lang.NumberFormatException: For input string: ""
## java.lang.NumberFormatException: For input string: "" {#javalangnumberformatexception-for-input-string-}
You're trying to log in without an Xbox account. Floodgate requires an Xbox account to authenticate the Bedrock player.
## Geyser-Floodgate:51777 lost connection: Internal Exception: java.lang.NumberFormatException: For input string: "SfqdXv36" (or a similar error)
## Geyser-Floodgate:51777 lost connection: Internal Exception: java.lang.NumberFormatException: For input string: "SfqdXv36" (or a similar error) {#geyser-floodgate51777-lost-connection-internal-exception-javalangnumberformatexception-for-input-string-sfqdxv36-or-a-similar-error}
Set `ip-forwarding` in your BungeeCord to `true`.
## "Please connect through the official Geyser" disconnect message
## "Please connect through the official Geyser" disconnect message {#please-connect-through-the-official-geyser-disconnect-message}
Ensure that Floodgate and Geyser are both up-to-date.
## Prefix is not changing on the server after changing it in the config.
## Prefix is not changing on the server after changing it in the config. {#prefix-is-not-changing-on-the-server-after-changing-it-in-the-config}
Between the Paper builds of 1.15.2-355 and 1.16.5-505, there was a bug where Floodgate players who had already connected to the server would not have their prefixed changed. Paper builds 1.16.5-506 and later fix this issue.
Ensure that you removed the `usercache.json` file from the server root directory and restart your server.
## Issues with LuckPerms and prefixes
## Issues with LuckPerms and prefixes {#issues-with-luckperms-and-prefixes}
Set `allow-invalid-usernames` to `true` in LuckPerms' config.
## Failed to verify username! (with Paper)
## Failed to verify username! (with Paper) {#failed-to-verify-username-with-paper}
To completely mitigate this issue, disable `perform-username-validation` in the [unsupported settings of the `config/paper-global.yml` file](https://paper.readthedocs.io/en/latest/server/configuration.html#unsupported_settings) (`paper.yml` in the root server folder on servers below 1.19). Using Floodgate on the backend servers will also mitigate this issue.
## Error with Forge or Fabric Bukkit Hybrid
## Error with Forge or Fabric Bukkit Hybrid {#error-with-forge-or-fabric-bukkit-hybrid}
At this time, there is no way to run Floodgate on servers that mix Forge and Bukkit or Fabric and Bukkit (For example: Magma, Mohist, and Cardboard/Bukkit4Fabric) - most hybrids do not support the complicated procedures we need to do in order to allow Bedrock players to connect (for the technically minded: these server softwares typically don't support NMS).
If you wish to use Floodgate in combination with hybrid servers, we recommend putting these servers behind a BungeeCord or Velocity proxy, and running Floodgate on the proxy.
## After enabling global linking in offline mode, player data is not synced between Java and Bedrock players.
## After enabling global linking in offline mode, player data is not synced between Java and Bedrock players. {#after-enabling-global-linking-in-offline-mode-player-data-is-not-synced-between-java-and-bedrock-players}
This occurs in offline mode because the UUID of the Java account linked to the Bedrock account does not match the online mode UUID returned by Floodgate's global linking server.
+2 -2
View File
@@ -2,7 +2,7 @@
title: Linking
---
## What is Global Linking?
## What is Global Linking? {#what-is-global-linking}
Instructions and information about how to link can also be found here: [https://link.geysermc.org/](https://link.geysermc.org/)
@@ -37,7 +37,7 @@ Once you saved the config and restarted your server you should be using Global L
If you don't want to use Global Linking, you can disable `enable-global-linking` in the Floodgate config.
## Local Linking
## Local Linking {#local-linking}
You can also set up a local linking database on your server. Local linking can work with Global Linking at the same time. Link entries in your local database will override entries in the Global Linking Server.
Note that you only have to follow these steps on your proxy (BungeeCord or Velocity), if you have one.
+1 -1
View File
@@ -8,7 +8,7 @@ Additionally, it will display Bedrock edition skins properly.
3. Change `auth-type` in Geyser's config to `floodgate`.
4. Restart the server.
### Installing Floodgate on servers behind the proxy
### Installing Floodgate on servers behind the proxy {#installing-floodgate-on-servers-behind-the-proxy}
This is only needed when you want to use the Floodgate API on your backend server(s) behind a proxy.