Class SlimefunPlugin

    • Constructor Detail

      • SlimefunPlugin

        public SlimefunPlugin​()
    • Method Detail

      • getCfg

        public static io.github.thebusybiscuit.cscorelib2.config.Config getCfg​()
      • getResearchCfg

        public static io.github.thebusybiscuit.cscorelib2.config.Config getResearchCfg​()
      • getItemCfg

        public static io.github.thebusybiscuit.cscorelib2.config.Config getItemCfg​()
      • getWhitelist

        public static io.github.thebusybiscuit.cscorelib2.config.Config getWhitelist​()
      • getGPSNetwork

        public static GPSNetwork getGPSNetwork​()
      • getTicker

        public static TickerTask getTicker​()
      • getVersion

        public static String getVersion​()
        This returns the version of Slimefun that is currently installed.
        Returns:
        The currently installed version of Slimefun
      • getProtectionManager

        public static io.github.thebusybiscuit.cscorelib2.protection.ProtectionManager getProtectionManager​()
      • getGitHubService

        public static GitHubService getGitHubService​()
        This method returns the GitHubService of Slimefun. It is used to retrieve data from GitHub repositories.
        Returns:
        The GitHubService for Slimefun
      • getNetworkManager

        public static NetworkManager getNetworkManager​()
      • getInstalledAddons

        public static Set<Plugin> getInstalledAddons​()
        This method returns a Set of every Plugin that lists Slimefun as a required or optional dependency. We will just assume this to be a list of our addons.
        Returns:
        A Set of every Plugin that is dependent on Slimefun