public class Main
extends net.md_5.bungee.api.plugin.Plugin
Modifier and Type | Field | Description |
---|---|---|
java.lang.String |
VALIDATION_KEY |
Constructor | Description |
---|---|
Main() |
Modifier and Type | Method | Description |
---|---|---|
net.md_5.bungee.config.Configuration |
getConfig() |
|
Friends |
getFriendsCommand() |
|
MSG |
getFriendsMSGCommand() |
|
java.lang.String |
getFriendsPrefix() |
|
static com.google.gson.Gson |
getGson() |
|
static Main |
getInstance() |
|
Language |
getLanguage() |
|
LanguageConfiguration |
getMessagesYml() |
|
PartyChat |
getPartyChatCommand() |
|
PartyCommand |
getPartyCommand() |
|
static PartyManager |
getPartyManager() |
|
java.lang.String |
getPartyPrefix() |
|
static PAFPlayerManager |
getPlayerManager() |
|
void |
loadConfiguration() |
Loads the configurations(config.yml and messages.yml)
|
void |
onDisable() |
|
void |
onEnable() |
Will be execute on enable
|
void |
registerExtension(PAFExtension pPAFExtension) |
|
void |
reload() |
|
void |
unregisterExtension(PAFExtension pPAFExtension) |
public final java.lang.String VALIDATION_KEY
public static Main getInstance()
public static PartyManager getPartyManager()
public static PAFPlayerManager getPlayerManager()
public static com.google.gson.Gson getGson()
public void onEnable()
onEnable
in class net.md_5.bungee.api.plugin.Plugin
public void onDisable()
onDisable
in class net.md_5.bungee.api.plugin.Plugin
public void loadConfiguration()
public PartyChat getPartyChatCommand()
public MSG getFriendsMSGCommand()
public Friends getFriendsCommand()
public net.md_5.bungee.config.Configuration getConfig()
public java.lang.String getFriendsPrefix()
public Language getLanguage()
public LanguageConfiguration getMessagesYml()
public PartyCommand getPartyCommand()
public java.lang.String getPartyPrefix()
public void registerExtension(PAFExtension pPAFExtension)
public void unregisterExtension(PAFExtension pPAFExtension)
public void reload()