Package com.sk89q.worldedit.util.paste
Class ActorCallbackPaste
java.lang.Object
com.sk89q.worldedit.util.paste.ActorCallbackPaste
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.static void
pastebin
(Supervisor supervisor, Actor sender, String content, String successMessage) Deprecated.Use the Component-based version
-
Method Details
-
pastebin
@Deprecated public static void pastebin(Supervisor supervisor, Actor sender, String content, String successMessage) Deprecated.Use the Component-based versionSubmit data to a pastebin service and inform the sender of success or failure.- Parameters:
supervisor
- The supervisor instancesender
- The sendercontent
- The contentsuccessMessage
- The message, formatted withString.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 instancesender
- The sendercontent
- The contentsuccessMessage
- The message builder, given the URL as an arg
-