public class ShopChest
extends org.bukkit.plugin.java.JavaPlugin
| Constructor and Description |
|---|
ShopChest() |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String message)
Print a message to the /plugins/ShopChest/debug.txt file
|
void |
debug(Throwable throwable)
Print a
Throwable's stacktrace to the /plugins/ShopChest/debug.txt file |
String |
getDownloadLink() |
net.milkbowl.vault.economy.Economy |
getEconomy() |
me.ryanhamshire.GriefPrevention.GriefPrevention |
getGriefPrevention() |
HologramFormat |
getHologramFormat() |
static ShopChest |
getInstance() |
String |
getLatestVersion() |
Config |
getShopChestConfig() |
ShopCommand |
getShopCommand() |
Database |
getShopDatabase() |
ShopUtils |
getShopUtils() |
ShopUpdater |
getUpdater() |
us.talabrek.ultimateskyblock.api.uSkyBlockAPI |
getUSkyBlock() |
com.sk89q.worldguard.bukkit.WorldGuardPlugin |
getWorldGuard() |
boolean |
hasAreaShop() |
boolean |
hasASkyBlock() |
boolean |
hasAuthMe() |
boolean |
hasGriefPrevention() |
boolean |
hasIslandWorld() |
boolean |
hasPlotSquared() |
boolean |
hasTowny() |
boolean |
hasUSkyBlock() |
boolean |
hasWorldGuard() |
boolean |
isUpdateNeeded() |
void |
onDisable() |
void |
onEnable() |
void |
onLoad() |
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
|
void |
setUpdater(ShopUpdater updater)
Set the
ShopUpdater that schedules hologram and item updates |
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toStringpublic static ShopChest getInstance()
public void onLoad()
onLoad in interface org.bukkit.plugin.PluginonLoad in class org.bukkit.plugin.java.JavaPluginpublic void onEnable()
onEnable in interface org.bukkit.plugin.PluginonEnable in class org.bukkit.plugin.java.JavaPluginpublic void onDisable()
onDisable in interface org.bukkit.plugin.PluginonDisable in class org.bukkit.plugin.java.JavaPluginpublic void debug(String message)
message - Message to printpublic void debug(Throwable throwable)
Throwable's stacktrace to the /plugins/ShopChest/debug.txt filethrowable - Throwable whose stacktrace will be printedpublic HologramFormat getHologramFormat()
public ShopCommand getShopCommand()
public ShopUpdater getUpdater()
ShopUpdater that schedules hologram and item updatespublic void setUpdater(ShopUpdater updater)
ShopUpdater that schedules hologram and item updatespublic boolean hasAreaShop()
public boolean hasGriefPrevention()
public me.ryanhamshire.GriefPrevention.GriefPrevention getGriefPrevention()
GriefPrevention or null if GriefPrevention is not enabledpublic boolean hasIslandWorld()
public boolean hasASkyBlock()
public boolean hasUSkyBlock()
public us.talabrek.ultimateskyblock.api.uSkyBlockAPI getUSkyBlock()
uSkyBlockAPI or null if uSkyBlock is not enabledpublic boolean hasPlotSquared()
public boolean hasAuthMe()
public boolean hasTowny()
public boolean hasWorldGuard()
public com.sk89q.worldguard.bukkit.WorldGuardPlugin getWorldGuard()
WorldGuardPlugin or null if WorldGuard is not enabledpublic ShopUtils getShopUtils()
ShopUtils containing some important methodspublic net.milkbowl.vault.economy.Economy getEconomy()
public Database getShopDatabase()
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 © 2017. All rights reserved.