Class mcmmoHook

java.lang.Object
valorless.rarespawns.hooks.mcmmoHook

public class mcmmoHook extends Object
Integration helper for mcMMO. Provides detection, logging, and access to the plugin instance.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.plugin.java.JavaPlugin
    Returns the mcMMO plugin instance.
    static void
    Attempts to detect mcMMO and logs whether integration is active.
    static boolean
    Returns true when mcMMO is present on the server.
    static void
    setBlockIneligible(org.bukkit.block.Block block)
    Marks a block as ineligible for mcMMO exploitation/skill gain.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • mcmmoHook

      public mcmmoHook()
  • Method Details

    • Hook

      public static void Hook()
      Attempts to detect mcMMO and logs whether integration is active.
    • isHooked

      public static boolean isHooked()
      Returns true when mcMMO is present on the server.
    • getPlugin

      public static org.bukkit.plugin.java.JavaPlugin getPlugin()
      Returns the mcMMO plugin instance.
    • setBlockIneligible

      public static void setBlockIneligible(org.bukkit.block.Block block)
      Marks a block as ineligible for mcMMO exploitation/skill gain.
      Parameters:
      block - the block to mark