Class PriobanApi

java.lang.Object
com.zenith.feature.api.Api
com.zenith.feature.api.prioban.PriobanApi

public class PriobanApi extends Api
  • Field Details

    • INSTANCE

      public static final PriobanApi INSTANCE
  • Constructor Details

    • PriobanApi

      public PriobanApi()
  • Method Details

    • checkPrioBan

      public Optional<Boolean> checkPrioBan(String playerName)
      Note: the webstore is behind Cloudflare, so its highly likely it receives a cloudflare challenge which we do not currently handle at all This might not happen on home internet connections, but from VPS's it is very likely
    • buildHttpClient

      protected HttpClient buildHttpClient()
      Overrides:
      buildHttpClient in class Api