Interface InternalManager

All Superinterfaces:
PacketStream, ProtocolManager
All Known Implementing Classes:
PacketFilterManager

public interface InternalManager extends ProtocolManager
Yields access to the internal hook configuration.
  • Method Details

    • registerEvents

      void registerEvents(org.bukkit.plugin.PluginManager manager, org.bukkit.plugin.Plugin plugin)
      Register this protocol manager on Bukkit.
      Parameters:
      manager - - Bukkit plugin manager that provides player join/leave events.
      plugin - - the parent plugin.
    • close

      void close()
      Called when ProtocolLib is closing.
    • isDebug

      boolean isDebug()
      Determine if debug mode is enabled.
      Returns:
      TRUE if it is, FALSE otherwise.
    • setDebug

      void setDebug(boolean debug)
      Set whether or not debug mode is enabled.
      Parameters:
      debug - - TRUE if it is, FALSE otherwise.