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 Details

    • enableNMSHandler

      boolean enableNMSHandler()
    • getNMSVersion

      String getNMSVersion()
    • getNMSHandler

      NMSHandler getNMSHandler()
    • getMines

      List<MLocation> getMines()
      Returns:
      all the locations of current mines
    • getMineTypes

      List<String> getMineTypes()
      Returns:
      all the different types of mines
    • setMine

      void setMine(org.bukkit.Location location, String mineType)
      Parameters:
      location - is where you want the new mine to be
      mineType - is the type of mine you would like to make
    • getMLocation

      MLocation getMLocation(int x, int y, int z, String world)
    • getMLocation

      MLocation getMLocation(org.bukkit.Location location)
      Parameters:
      location - Location which you want to use to make MLocation
      Returns:
      MLocation of location
    • getMBlockAt

      MBlock getMBlockAt(int x, int y, int z, String world)
    • getMBlockAt

      MBlock getMBlockAt(org.bukkit.Location location)
      Parameters:
      location - where you are trying to get the Mine Block
      Returns:
      MBlock of the mine if present or null
    • getPlayerEconomy

      Economy getPlayerEconomy(UUID uuid)
      Parameters:
      uuid - of the player you which to access the economy of
      Returns:
      Economy of that player
    • getMPlayer

      MPlayer getMPlayer(String userName)
      Parameters:
      userName - Minecraft Username of that player
      Returns:
      MPlayer of that username or if absent null
    • getMPlayer

      MPlayer getMPlayer(org.bukkit.entity.Player player)
    • createMPlayer

      MPlayer createMPlayer(org.bukkit.entity.Player player)
    • createMPlayer

      MPlayer createMPlayer(UUID uuid, String userName)
      Parameters:
      uuid - is the the Player's unique id
      userName - is the Player's userName, accessible when the player is offline
      Returns:
      MPlayer of that player
    • getEnchants

      List<Enchant> getEnchants()
    • registerEnchant

      void registerEnchant(Enchant enchant)
    • unregisterEnchant

      void unregisterEnchant(Enchant enchant)
    • getEnchantByName

      Enchant getEnchantByName(String name)
      Parameters:
      name - enchant name
      Returns:
      Enchant if that enchant exists or returns null
    • getMPlayers

      HashSet<MPlayer> getMPlayers()