Class SimpleFloodgateApi

java.lang.Object
org.geysermc.floodgate.core.api.SimpleFloodgateApi
All Implemented Interfaces:
org.geysermc.api.GeyserApiBase
Direct Known Subclasses:
ProxyFloodgateApi

@Singleton public class SimpleFloodgateApi extends Object implements org.geysermc.api.GeyserApiBase
  • Constructor Details

    • SimpleFloodgateApi

      public SimpleFloodgateApi()
  • Method Details

    • usernamePrefix

      public String usernamePrefix()
      Specified by:
      usernamePrefix in interface org.geysermc.api.GeyserApiBase
    • onlineConnections

      public @NonNull List<? extends org.geysermc.api.connection.Connection> onlineConnections()
      Specified by:
      onlineConnections in interface org.geysermc.api.GeyserApiBase
    • onlineConnectionsCount

      public int onlineConnectionsCount()
      Specified by:
      onlineConnectionsCount in interface org.geysermc.api.GeyserApiBase
    • isBedrockPlayer

      public boolean isBedrockPlayer(@NonNull UUID uuid)
      Specified by:
      isBedrockPlayer in interface org.geysermc.api.GeyserApiBase
    • connectionByUuid

      public @Nullable org.geysermc.api.connection.Connection connectionByUuid(@NonNull UUID uuid)
      Specified by:
      connectionByUuid in interface org.geysermc.api.GeyserApiBase
    • connectionByPlatformIdentifier

      public @Nullable org.geysermc.api.connection.Connection connectionByPlatformIdentifier(@NonNull Object platformIdentifier)
    • connectionByXuid

      public @Nullable org.geysermc.api.connection.Connection connectionByXuid(@NonNull String xuid)
      Specified by:
      connectionByXuid in interface org.geysermc.api.GeyserApiBase
    • isFloodgateId

      public boolean isFloodgateId(UUID uuid)
    • sendForm

      public boolean sendForm(@NonNull UUID uuid, @NonNull org.geysermc.cumulus.form.Form form)
      Specified by:
      sendForm in interface org.geysermc.api.GeyserApiBase
    • sendForm

      public boolean sendForm(@NonNull UUID uuid, org.geysermc.cumulus.form.util.FormBuilder<?,?,?> formBuilder)
      Specified by:
      sendForm in interface org.geysermc.api.GeyserApiBase
    • transfer

      public boolean transfer(@NonNull UUID uuid, @NonNull String address, int port)
      Specified by:
      transfer in interface org.geysermc.api.GeyserApiBase
    • getPlayerLink

      public org.geysermc.floodgate.api.link.PlayerLink getPlayerLink()