Package me.fullpage.api
Interface MiningEconomy
- All Superinterfaces:
org.bukkit.command.CommandExecutor
,org.bukkit.plugin.Plugin
,org.bukkit.command.TabCompleter
,org.bukkit.command.TabExecutor
public interface MiningEconomy
extends org.bukkit.plugin.Plugin
-
Method Summary
Modifier and TypeMethodDescriptioncreateMPlayer(UUID uuid, String userName)
createMPlayer(org.bukkit.entity.Player player)
boolean
getEnchantByName(String name)
getMBlockAt(int x, int y, int z, String world)
getMBlockAt(org.bukkit.Location location)
getMines()
getMLocation(int x, int y, int z, String world)
getMLocation(org.bukkit.Location location)
getMPlayer(String userName)
getMPlayer(org.bukkit.entity.Player player)
getPlayerEconomy(UUID uuid)
void
registerEnchant(Enchant enchant)
void
void
unregisterEnchant(Enchant enchant)
Methods inherited from interface org.bukkit.command.CommandExecutor
onCommand
Methods inherited from interface org.bukkit.plugin.Plugin
getConfig, getDatabase, getDataFolder, getDefaultWorldGenerator, getDescription, getLogger, getName, getPluginLoader, getResource, getServer, isEnabled, isNaggable, onDisable, onEnable, onLoad, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable
Methods inherited from interface org.bukkit.command.TabCompleter
onTabComplete
-
Method Details
-
enableNMSHandler
boolean enableNMSHandler() -
getNMSVersion
String getNMSVersion() -
getNMSHandler
NMSHandler getNMSHandler() -
getMines
- Returns:
- all the locations of current mines
-
getMineTypes
- Returns:
- all the different types of mines
-
setMine
- Parameters:
location
- is where you want the new mine to bemineType
- is the type of mine you would like to make
-
getMLocation
-
getMLocation
- Parameters:
location
- Location which you want to use to make MLocation- Returns:
- MLocation of location
-
getMBlockAt
-
getMBlockAt
- Parameters:
location
- where you are trying to get the Mine Block- Returns:
- MBlock of the mine if present or null
-
getPlayerEconomy
- Parameters:
uuid
- of the player you which to access the economy of- Returns:
- Economy of that player
-
getMPlayer
- Parameters:
userName
- Minecraft Username of that player- Returns:
- MPlayer of that username or if absent null
-
getMPlayer
-
createMPlayer
-
createMPlayer
- Parameters:
uuid
- is the the Player's unique iduserName
- is the Player's userName, accessible when the player is offline- Returns:
- MPlayer of that player
-
getEnchants
-
registerEnchant
-
unregisterEnchant
-
getEnchantByName
- Parameters:
name
- enchant name- Returns:
- Enchant if that enchant exists or returns null
-
getMPlayers
-