public class ShopChest
extends org.bukkit.plugin.java.JavaPlugin
Constructor and Description |
---|
ShopChest() |
Modifier and Type | Method and Description |
---|---|
String |
getDownloadLink() |
net.milkbowl.vault.economy.Economy |
getEconomy() |
static ShopChest |
getInstance() |
LanguageConfiguration |
getLanguageConfig() |
String |
getLatestVersion() |
net.milkbowl.vault.permission.Permission |
getPermission() |
Database |
getShopDatabase() |
boolean |
hasLockette() |
boolean |
hasLWC() |
boolean |
isUpdateNeeded() |
void |
onDisable() |
void |
onEnable() |
void |
setDownloadLink(String downloadLink)
Set the download Link of the latest version (will return null if not checked or if no update is available)
|
void |
setLatestVersion(String latestVersion)
Set the latest version
|
void |
setUpdateNeeded(boolean isUpdateNeeded)
Set whether an update is needed
|
getClassLoader, getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, initialize, installDDL, isEnabled, isInitialized, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, removeDDL, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
public static ShopChest getInstance()
public void onEnable()
onEnable
in interface org.bukkit.plugin.Plugin
onEnable
in class org.bukkit.plugin.java.JavaPlugin
public void onDisable()
onDisable
in interface org.bukkit.plugin.Plugin
onDisable
in class org.bukkit.plugin.java.JavaPlugin
public LanguageConfiguration getLanguageConfig()
LanguageConfiguration
public net.milkbowl.vault.economy.Economy getEconomy()
public net.milkbowl.vault.permission.Permission getPermission()
public Database getShopDatabase()
public boolean hasLWC()
public boolean hasLockette()
public boolean isUpdateNeeded()
public void setUpdateNeeded(boolean isUpdateNeeded)
isUpdateNeeded
- Whether an update should be neededpublic String getLatestVersion()
public void setLatestVersion(String latestVersion)
latestVersion
- Version to set as latest versionpublic String getDownloadLink()
public void setDownloadLink(String downloadLink)
downloadLink
- Link to set as Download LinkCopyright © 2016. All rights reserved.