public class MineCore
extends org.bukkit.plugin.java.JavaPlugin
| Modifier and Type | Field and Description |
|---|---|
java.util.logging.Logger |
log |
| Constructor and Description |
|---|
MineCore() |
| Modifier and Type | Method and Description |
|---|---|
EconomyManager |
getEconomyManager()
Get the EconomyManager instance
|
Miner |
getMiner(org.bukkit.entity.Player player)
Helper method to get the Miner instance for the given player
|
Miner |
getMiner(java.lang.String playerName)
Helper method to get the Miner instance for the given player
|
MinerManager |
getMinerManager()
Gets the MinerManager, which manages all miners
|
void |
onDisable() |
void |
onEnable() |
void |
onLoad() |
getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getLogger, getPluginLoader, getResource, getServer, isEnabled, isInitialized, isNaggable, onCommand, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable, toStringpublic 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 MinerManager getMinerManager()
public Miner getMiner(java.lang.String playerName)
name - The name of the playerpublic Miner getMiner(org.bukkit.entity.Player player)
player - a Playerpublic EconomyManager getEconomyManager()