This commit is contained in:
dordsor21 2019-05-01 19:52:26 +01:00
parent 2ec13e4e76
commit eb9d98d289
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ import java.util.List;
import java.util.stream.Collectors; import java.util.stream.Collectors;
@CommandDeclaration(command = "debugpaste", aliases = "dp", usage = "/plot debugpaste", @CommandDeclaration(command = "debugpaste", aliases = "dp", usage = "/plot debugpaste",
description = "Upload settings.yml, worlds.yml, PlotSquared.use_THIS.yml and your latest.log to https://incendo.org", description = "Upload settings.yml, worlds.yml, PlotSquared.use_THIS.yml and your latest.log to https://athion.net/ISPaster/paste",
permission = "plots.debugpaste", category = CommandCategory.DEBUG) public class DebugPaste permission = "plots.debugpaste", category = CommandCategory.DEBUG) public class DebugPaste
extends SubCommand { extends SubCommand {
@ -122,7 +122,7 @@ import java.util.stream.Collectors;
if (jsonObject.has("created")) { if (jsonObject.has("created")) {
final String pasteId = jsonObject.get("paste_id").getAsString(); final String pasteId = jsonObject.get("paste_id").getAsString();
final String link = final String link =
String.format("https://incendo.org/paste/view/%s", pasteId); String.format("https://athion.net/ISPaster/paste/view/%s", pasteId);
player player
.sendMessage(Captions.DEBUG_REPORT_CREATED.s().replace("%url%", link)); .sendMessage(Captions.DEBUG_REPORT_CREATED.s().replace("%url%", link));
} else { } else {

View File

@ -19,7 +19,7 @@ import java.util.*;
/** /**
* Upload service URL * Upload service URL
*/ */
public static final String UPLOAD_PATH = "https://incendo.org/paste/upload"; public static final String UPLOAD_PATH = "https://athion.net/ISPaster/paste/upload";
/** /**
* Valid paste applications * Valid paste applications
*/ */