mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-24 12:16:44 +01:00
This commit is contained in:
parent
2ec13e4e76
commit
eb9d98d289
@ -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 {
|
||||||
|
@ -19,8 +19,8 @@ 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
|
||||||
*/
|
*/
|
||||||
public static final Collection<String> VALID_APPLICATIONS =
|
public static final Collection<String> VALID_APPLICATIONS =
|
||||||
|
Loading…
Reference in New Issue
Block a user