public final class ActorCallbackPaste
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
pastebin(Supervisor supervisor,
Actor sender,
java.lang.String content,
java.lang.String successMessage)
Deprecated.
Use the Component-based version
|
static void |
pastebin(Supervisor supervisor,
Actor sender,
java.lang.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.
|
@Deprecated public static void pastebin(Supervisor supervisor, Actor sender, java.lang.String content, java.lang.String successMessage)
supervisor
- The supervisor instancesender
- The sendercontent
- The contentsuccessMessage
- The message, formatted with String.format(String, Object...)
on successpublic static void pastebin(Supervisor supervisor, Actor sender, java.lang.String content, com.sk89q.worldedit.util.formatting.text.TranslatableComponent.Builder successMessage)
supervisor
- The supervisor instancesender
- The sendercontent
- The contentsuccessMessage
- The message builder, given the URL as an arg