Class PluginEnvironment

java.lang.Object
me.ryun.plugintools.PluginEnvironment

public class PluginEnvironment extends Object
The class for handling the development or production/release environment for the Plugin
Author:
SSS Ryun
  • Method Details

    • get

      public static PluginEnvironment get()
      Get the instance of this class or fail-fast if it's not instantiated beforehand
      Returns:
      The latest instance of this class
    • isDevelopment

      public boolean isDevelopment()
      Is this plugin in development(true) or production/release(false)?
      Returns:
      boolean
    • isVerbose

      public boolean isVerbose()
      Is this plugin logging everything or not?
      Returns:
      boolean