Class Main
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Plugin
-
- de.simonsator.partyandfriends.main.Main
-
- All Implemented Interfaces:
ErrorReporter
public class Main extends net.md_5.bungee.api.plugin.Plugin implements ErrorReporter
The main class
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
newKey
java.lang.String
VALIDATION_KEY
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description net.md_5.bungee.config.Configuration
getConfig()
Friends
getFriendsCommand()
Deprecated.MSG
getFriendsMSGCommand()
Deprecated.java.lang.String
getFriendsPrefix()
Deprecated.static com.google.gson.Gson
getGson()
static Main
getInstance()
Language
getLanguage()
LanguageConfiguration
getMessages()
LanguageConfiguration
getMessagesYml()
Deprecated.PartyChat
getPartyChatCommand()
Deprecated.PartyCommand
getPartyCommand()
Deprecated.static PartyManager
getPartyManager()
Deprecated.java.lang.String
getPartyPrefix()
Deprecated.static PAFPlayerManager
getPlayerManager()
Deprecated.void
onDisable()
void
onEnable()
Will be execute on enablevoid
registerExtension(PAFExtension pPAFExtension)
void
reload()
void
unregisterExtension(PAFExtension pPAFExtension)
-
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
-
-
-
-
Field Detail
-
VALIDATION_KEY
public final java.lang.String VALIDATION_KEY
- See Also:
- Constant Field Values
-
newKey
public final java.lang.String newKey
- See Also:
- Constant Field Values
-
-
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 classnet.md_5.bungee.api.plugin.Plugin
-
onDisable
public void onDisable()
- Overrides:
onDisable
in classnet.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()
-
getMessages
public LanguageConfiguration getMessages()
-
getMessagesYml
@Deprecated public LanguageConfiguration getMessagesYml()
Deprecated.
-
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()
-
-