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
-
Method Summary
Modifier and TypeMethodDescriptionnet.md_5.bungee.config.Configuration
Deprecated.Deprecated.Deprecated.Deprecated.static Main
Deprecated.Deprecated.Deprecated.static PartyManager
Deprecated.Deprecated.static PAFPlayerManager
Deprecated.boolean
void
void
onEnable()
Will be execute on enablevoid
registerExtension
(PAFExtension pPAFExtension) void
reload()
void
unregisterExtension
(PAFExtension pPAFExtension) Methods inherited from class de.simonsator.partyandfriends.api.PAFPluginBase
getAdapter, registerCommand, registerTopCommand
Methods inherited from class net.md_5.bungee.api.plugin.Plugin
getDataFolder, getDescription, getExecutorService, getFile, getLogger, getProxy, getResourceAsStream, onLoad
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
onEnable
in classnet.md_5.bungee.api.plugin.Plugin
-
onDisable
public void onDisable()- Overrides:
onDisable
in 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()
-