Class ActorCallbackPaste

java.lang.Object
com.sk89q.worldedit.util.paste.ActorCallbackPaste

public final class ActorCallbackPaste extends Object
  • Method Details

    • pastebin

      @Deprecated public static void pastebin(Supervisor supervisor, Actor sender, String content, String successMessage)
      Deprecated.
      Use the Component-based version
      Submit data to a pastebin service and inform the sender of success or failure.
      Parameters:
      supervisor - The supervisor instance
      sender - The sender
      content - The content
      successMessage - The message, formatted with String.format(String, Object...) on success
    • pastebin

      public static void pastebin(Supervisor supervisor, Actor sender, String content, com.sk89q.worldedit.util.formatting.text.TranslatableComponent.Builder successMessage)
      Submit data to a pastebin service and inform the sender of success or failure.
      Parameters:
      supervisor - The supervisor instance
      sender - The sender
      content - The content
      successMessage - The message builder, given the URL as an arg