Class Main

  • All Implemented Interfaces:
    ErrorReporter

    public class Main
    extends net.md_5.bungee.api.plugin.Plugin
    implements ErrorReporter
    The main class
    • Constructor Detail

      • Main

        public Main()
    • Method Detail

      • getInstance

        public static Main getInstance()
      • getPartyManager

        @Deprecated
        public static PartyManager getPartyManager()
        Deprecated.
      • getPlayerManager

        @Deprecated
        public static PAFPlayerManager getPlayerManager()
        Deprecated.
      • getGson

        public static com.google.gson.Gson getGson()
      • onEnable

        public void onEnable()
        Will be execute on enable
        Overrides:
        onEnable in class net.md_5.bungee.api.plugin.Plugin
      • onDisable

        public void onDisable()
        Overrides:
        onDisable in class net.md_5.bungee.api.plugin.Plugin
      • getPartyChatCommand

        @Deprecated
        public PartyChat getPartyChatCommand()
        Deprecated.
      • getFriendsMSGCommand

        @Deprecated
        public MSG getFriendsMSGCommand()
        Deprecated.
      • getFriendsCommand

        @Deprecated
        public Friends getFriendsCommand()
        Deprecated.
      • getConfig

        public net.md_5.bungee.config.Configuration getConfig()
      • getFriendsPrefix

        @Deprecated
        public java.lang.String getFriendsPrefix()
        Deprecated.
      • getLanguage

        public Language getLanguage()
      • getPartyCommand

        @Deprecated
        public PartyCommand getPartyCommand()
        Deprecated.
      • getPartyPrefix

        @Deprecated
        public java.lang.String getPartyPrefix()
        Deprecated.
      • registerExtension

        public void registerExtension​(PAFExtension pPAFExtension)
      • unregisterExtension

        public void unregisterExtension​(PAFExtension pPAFExtension)
      • reload

        public void reload()