Interface BukkitMessagingService


public interface BukkitMessagingService
Shared service provided by the MoonBridgeBackend Bukkit plugin.
  • Method Summary

    Modifier and Type
    Method
    Description
    dev.moonbridge.messaging.Messaging
    forPlugin(org.bukkit.plugin.Plugin owner)
    Returns this enabled plugin's owned messaging scope.
  • Method Details

    • forPlugin

      dev.moonbridge.messaging.Messaging forPlugin(org.bukkit.plugin.Plugin owner)
      Returns this enabled plugin's owned messaging scope. Repeated lookups for the same plugin return the same scope. Message/request handlers execute on the Bukkit main thread. Never block that thread waiting for a remote reply. The host closes the scope automatically when the owner is disabled.