Class Main
java.lang.Object
net.md_5.bungee.api.plugin.Plugin
de.simonsator.partyandfriends.api.PAFPluginBase
de.simonsator.partyandfriends.main.Main
- All Implemented Interfaces:
ErrorReporter
The main class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.md_5.bungee.config.ConfigurationDeprecated.Deprecated.Deprecated.Deprecated.static MainDeprecated.Deprecated.Deprecated.static PartyManagerDeprecated.Deprecated.static PAFPlayerManagerDeprecated.booleanvoidvoidonEnable()Will be execute on enablevoidregisterExtension(PAFExtension pPAFExtension) voidreload()voidunregisterExtension(PAFExtension pPAFExtension) Methods inherited from class de.simonsator.partyandfriends.api.PAFPluginBase
getAdapter, registerCommand, registerTopCommandMethods inherited from class net.md_5.bungee.api.plugin.Plugin
getDataFolder, getDescription, getExecutorService, getFile, getLogger, getProxy, getResourceAsStream, onLoadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.simonsator.partyandfriends.main.startup.error.ErrorReporter
reportError
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
getInstance
-
getPartyManager
Deprecated. -
getPlayerManager
Deprecated. -
getGeneralConfig
-
onEnable
public void onEnable()Will be execute on enable- Overrides:
onEnablein classnet.md_5.bungee.api.plugin.Plugin
-
onDisable
public void onDisable()- Overrides:
onDisablein classnet.md_5.bungee.api.plugin.Plugin
-
getPartyChatCommand
Deprecated. -
getFriendsMSGCommand
Deprecated. -
getFriendsCommand
Deprecated. -
getConfig
Deprecated.- Returns:
- Returns the normal Main config on Bungeecord, but on Spigot it returns the GUI config. For that reason it should not be used and instead getGeneralConfig() should be used.
-
getFriendsPrefix
Deprecated. -
getLanguage
-
getMessages
-
getMessagesYml
Deprecated. -
getPartyCommand
Deprecated. -
getPartyPrefix
Deprecated. -
registerExtension
-
unregisterExtension
-
reload
public void reload() -
isShuttingDown
public boolean isShuttingDown()
-