java.lang.Object
me.github.simonplays15.betterbansystem.api.runtimeservice.RuntimeService

public class RuntimeService extends Object
The RuntimeService class provides utility methods for detecting the runtime environment in which the application is running.
  • Constructor Details

    • RuntimeService

      public RuntimeService()
  • Method Details

    • isSpigot

      public static boolean isSpigot()
      Checks if the application is running in a Spigot environment.
      Returns:
      true if running in a Spigot environment, false otherwise
    • isBungeeCord

      public static boolean isBungeeCord()
      Checks if the application is running in a BungeeCord environment.
      Returns:
      true if running in BungeeCord, false otherwise